diff options
author | Rob Clark <[email protected]> | 2019-04-25 12:00:49 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-04-25 14:13:31 -0700 |
commit | f4b4d6cf23e8cc4a0d86b0588b23b456f691d830 (patch) | |
tree | 94317c3af101c587d1c115ac86cabd69e12ca5fd /src/freedreno/ir3/ir3_context.h | |
parent | 5be415fc2bdd4bc64cd735d15c4f193be5250929 (diff) |
freedreno/ir3: rename frag_vcoord -> ij_pixel
Since this is what the value actually is. Cleanup the name before
adding more different i,j related values for sample-shading.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/freedreno/ir3/ir3_context.h')
-rw-r--r-- | src/freedreno/ir3/ir3_context.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/freedreno/ir3/ir3_context.h b/src/freedreno/ir3/ir3_context.h index 5589386edfa..8c1dc45e42b 100644 --- a/src/freedreno/ir3/ir3_context.h +++ b/src/freedreno/ir3/ir3_context.h @@ -58,18 +58,14 @@ struct ir3_context { nir_function_impl *impl; /* For fragment shaders, varyings are not actual shader inputs, - * instead the hw passes a varying-coord which is used with + * instead the hw passes a ij coord which is used with * bary.f. * * But NIR doesn't know that, it still declares varyings as * inputs. So we do all the input tracking normally and fix * things up after compile_instructions() - * - * NOTE that frag_vcoord is the hardware position (possibly it - * is actually an index or tag or some such.. it is *not* - * values that can be directly used for gl_FragCoord..) */ - struct ir3_instruction *frag_vcoord; + struct ir3_instruction *ij_pixel; /* for fragment shaders, for gl_FrontFacing and gl_FragCoord: */ struct ir3_instruction *frag_face, *frag_coord; |