aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glspirv.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2019-07-18 13:54:57 -0500
committerJason Ekstrand <[email protected]>2019-07-29 23:30:26 +0000
commit169d896df2ac3882378c0323832c1253828f96fb (patch)
tree0461c72c491388b5257eeda424ed146fb24850a4 /src/mesa/main/glspirv.c
parente401303597ae9c6ab5f538f14847dd463b455dd1 (diff)
mesa/spirv: Set frag_coord_is_sysval to GLSLFragCoordIsSysVal
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/glspirv.c')
-rw-r--r--src/mesa/main/glspirv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/glspirv.c b/src/mesa/main/glspirv.c
index 21a1beb8453..1e1540e570b 100644
--- a/src/mesa/main/glspirv.c
+++ b/src/mesa/main/glspirv.c
@@ -246,6 +246,7 @@ _mesa_spirv_to_nir(struct gl_context *ctx,
const struct spirv_to_nir_options spirv_options = {
.environment = NIR_SPIRV_OPENGL,
.lower_workgroup_access_to_offsets = true,
+ .frag_coord_is_sysval = ctx->Const.GLSLFragCoordIsSysVal,
.caps = ctx->Const.SpirVCapabilities,
.ubo_addr_format = nir_address_format_32bit_index_offset,
.ssbo_addr_format = nir_address_format_32bit_index_offset,