dc9961f341
Some games like "Fire Emblem: Three Houses" bind 2D textures to offsets used by instructions of 1D textures. To handle the discrepancy this commit uses the the texture type from the binding and modifies the emitted code IR to build a valid backend expression. E.g.: Bound texture is 2D and instruction is 1D, the emitted IR samples a 2D texture in the coordinate ivec2(X, 0). |
||
---|---|---|
.. | ||
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 |