summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/freedreno/vulkan/tu_shader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/freedreno/vulkan/tu_shader.c b/src/freedreno/vulkan/tu_shader.c
index 2b68aeafffb..32c3506d08d 100644
--- a/src/freedreno/vulkan/tu_shader.c
+++ b/src/freedreno/vulkan/tu_shader.c
@@ -38,6 +38,7 @@ tu_spirv_to_nir(struct ir3_compiler *compiler,
{
/* TODO these are made-up */
const struct spirv_to_nir_options spirv_options = {
+ .frag_coord_is_sysval = true,
.lower_ubo_ssbo_access_to_offsets = true,
.caps = { false },
};