diff options
author | Eric Anholt <[email protected]> | 2017-10-17 10:41:55 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-10-20 16:26:46 -0700 |
commit | 5a0d3e1129b778fd03bf1b2ad44288603283f4ec (patch) | |
tree | e00b71d9ae57d54d694b2abaedea9ae5ecce4299 /src/compiler/nir/tests | |
parent | d9ce4ac990090b3fa940a662655b61359f296be0 (diff) |
nir: Print the components referenced for split or packed shader in/outs.
Having 4 variables all called "gl_in_TexCoord0@n" isn't very informative,
much better to see:
decl_var shader_in INTERP_MODE_NONE float gl_in_TexCoord0 (VARYING_SLOT_VAR0.x, 1, 0)
decl_var shader_in INTERP_MODE_NONE float gl_in_TexCoord0@0 (VARYING_SLOT_VAR0.y, 1, 0)
decl_var shader_in INTERP_MODE_NONE float gl_in_TexCoord0@1 (VARYING_SLOT_VAR0.z, 1, 0)
decl_var shader_in INTERP_MODE_NONE float gl_in_TexCoord0@2 (VARYING_SLOT_VAR0.w, 1, 0)
v2: Handle arrays and structs better (by Timothy)
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/nir/tests')
0 files changed, 0 insertions, 0 deletions