diff options
author | Jason Ekstrand <[email protected]> | 2019-07-30 18:07:08 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-07-30 19:21:09 -0500 |
commit | 9265e9d11aa20697d3d9871c2bd0b5402b135dbd (patch) | |
tree | 21f4eb8b5385fd0a042f916e98a2f2f2ec2e88f1 /src/mesa | |
parent | 8fd2f2c276ccf3dec96365c7d76d5f4186a3d2ba (diff) |
i965/curbe: Look at SYSTEM_VALUE_FRAG_COORD instead of VARYING_SLOT_POS
When transitioning gl_FragCoord over to a system value, we missed one
instance of VARYING_SLOT_POS in i965. As of this commit, i965 has no
references to VARYING_SLOT_POS.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111263
Fixes: 4bb6e6817ec "intel: Use a system value for gl_FragCoord"
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_curbe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_curbe.c b/src/mesa/drivers/dri/i965/brw_curbe.c index eb824739c67..abe8d099a19 100644 --- a/src/mesa/drivers/dri/i965/brw_curbe.c +++ b/src/mesa/drivers/dri/i965/brw_curbe.c @@ -332,7 +332,7 @@ emit: * BRW_NEW_FRAGMENT_PROGRAM */ if (devinfo->gen == 4 && !devinfo->is_g4x && - (fp->info.inputs_read & (1 << VARYING_SLOT_POS))) { + (fp->info.system_values_read & (1ull << SYSTEM_VALUE_FRAG_COORD))) { BEGIN_BATCH(2); OUT_BATCH(_3DSTATE_GLOBAL_DEPTH_OFFSET_CLAMP << 16 | (2 - 2)); OUT_BATCH(0); |