summaryrefslogtreecommitdiffstats
path: root/src/freedreno/ir3/ir3_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/freedreno/ir3/ir3_context.h')
-rw-r--r--src/freedreno/ir3/ir3_context.h8
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;