summaryrefslogtreecommitdiffstats
path: root/src/glsl/blob.h
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2015-01-25 11:42:34 -0500
committerConnor Abbott <[email protected]>2015-01-26 21:26:36 -0500
commit816f0515a2ca2dbacada24f7f79d65daf5c0fcf5 (patch)
tree180b7f6a66f53673a508f3c0dd1191f8d799325b /src/glsl/blob.h
parent90bd943f2abafd5e3ea29ab8397fd4682ef74170 (diff)
nir: add a helper function for getting the number of source components
Unlike with non-SSA ALU instructions, where if they're per-component you have to look at the writemask to know which source channels are being used, SSA ALU instructions always have all the possible channels enabled so we can just look at the number of components in the SSA definition for per-component instructions to say how many source components are being used. v2: use new name nir_ssa_alu_instr_src_components() Reviewed-by: Jason Ekstrand <[email protected]> Signed-off-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl/blob.h')
0 files changed, 0 insertions, 0 deletions