ae8d4b6c0c
LDG can load single bytes instead of full integers or packs of integers. These have the advantage of loading bytes that are not aligned to 4 bytes. To emulate these this commit gets the byte being referenced (by doing "address & 3" and then using that to extract the byte from the loaded integer: result = bitfieldExtract(loaded_integer, (address % 4) * 8, 8) |
||
---|---|---|
.. | ||
decode | ||
ast.cpp | ||
ast.h | ||
compiler_settings.cpp | ||
compiler_settings.h | ||
const_buffer_locker.cpp | ||
const_buffer_locker.h | ||
control_flow.cpp | ||
control_flow.h | ||
decode.cpp | ||
expr.cpp | ||
expr.h | ||
node.h | ||
node_helper.cpp | ||
node_helper.h | ||
shader_ir.cpp | ||
shader_ir.h | ||
track.cpp |