From 169d896df2ac3882378c0323832c1253828f96fb Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 18 Jul 2019 13:54:57 -0500 Subject: [PATCH] mesa/spirv: Set frag_coord_is_sysval to GLSLFragCoordIsSysVal Reviewed-by: Kenneth Graunke --- src/mesa/main/glspirv.c | 1 + 1 file changed, 1 insertion(+) 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, -- 2.30.2