summaryrefslogtreecommitdiffstats
path: root/video/out/gpu
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-10-17 15:48:28 +0200
committerMartin Herkt <652892+lachs0r@users.noreply.github.com>2017-12-25 00:47:53 +0100
commit019d594d0b4bf81f44dd4714da9ca6e68bdf0a28 (patch)
tree496fdaa005990e0943bcdc2ee8bbde47e3b3ced7 /video/out/gpu
parent97b1482d53f9f2c1ede92b7d38d1d9f3979909e2 (diff)
downloadmpv-019d594d0b4bf81f44dd4714da9ca6e68bdf0a28.tar.bz2
mpv-019d594d0b4bf81f44dd4714da9ca6e68bdf0a28.tar.xz
vo_gpu: vulkan: omit needless #define
Diffstat (limited to 'video/out/gpu')
-rw-r--r--video/out/gpu/shader_cache.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/video/out/gpu/shader_cache.c b/video/out/gpu/shader_cache.c
index 780bf7f5d7..f38f0a49fc 100644
--- a/video/out/gpu/shader_cache.c
+++ b/video/out/gpu/shader_cache.c
@@ -777,11 +777,6 @@ static void gl_sc_generate(struct gl_shader_cache *sc,
ADD(header, "#define texture texture2D\n");
}
- if (sc->ra->glsl_vulkan && type == RA_RENDERPASS_TYPE_COMPUTE) {
- ADD(header, "#define gl_GlobalInvocationIndex "
- "(gl_WorkGroupID * gl_WorkGroupSize + gl_LocalInvocationID)\n");
- }
-
// Additional helpers.
ADD(header, "#define LUT_POS(x, lut_size)"
" mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))\n");