summarylogtreecommitdiffstats
path: root/zink_hack.patch
diff options
context:
space:
mode:
Diffstat (limited to 'zink_hack.patch')
-rwxr-xr-xzink_hack.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/zink_hack.patch b/zink_hack.patch
new file mode 100755
index 000000000000..506f1e3f7d63
--- /dev/null
+++ b/zink_hack.patch
@@ -0,0 +1,13 @@
+--- a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
++++ b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
+@@ -1075,8 +1075,8 @@
+ ctx->int_samplers[index] = var_id;
+ }
+ BITSET_SET(ctx->samplers_used, index);
+- if (mediump)
+- ctx->samplers_used_mediump |= 1 << index;
++ // if (mediump)
++ // ctx->samplers_used_mediump |= 1 << index;
+ } else {
+ ctx->image_types[index] = image_type;
+ ctx->images[index] = var_id; \ No newline at end of file