diff options
author | Brian Paul <[email protected]> | 2016-03-26 11:46:53 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-03-29 18:13:46 -0600 |
commit | 86e1768c13d67945f4a9549820e711b70ff2aba7 (patch) | |
tree | 07f56e90f3b496c6686d430bd816dc11629f16bf /scons | |
parent | 6775268b61b1943c85f5a1a30ce330d34003e328 (diff) |
tgsi: collect texture sampler target info in tgsi_scan_shader()
Texture sample instructions specify a sampler unit and texture target
such as "1D", "2D", "CUBE", etc. Sampler view declarations also specify
the sampler unit and texture target.
This patch checks that the texture instructions agree with the declarations
and collects the texture target type for each sampler unit.
v2: only compare instruction's texture target to the sampler view declaration
target if the instruction is a TEX instruction, not a SAMPLE instruction.
Reviewed-by: José Fonseca <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions