summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/vl/vl_compositor_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_compositor_cs.c')
-rw-r--r--src/gallium/auxiliary/vl/vl_compositor_cs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/vl/vl_compositor_cs.c b/src/gallium/auxiliary/vl/vl_compositor_cs.c
index e2bd06a870c..73576f066ee 100644
--- a/src/gallium/auxiliary/vl/vl_compositor_cs.c
+++ b/src/gallium/auxiliary/vl/vl_compositor_cs.c
@@ -514,7 +514,9 @@ static const char *compute_shader_yuv_bob_y =
/* Scale */
"DIV TEMP[2], TEMP[2], CONST[3].zwzw\n"
+ "DIV TEMP[2], TEMP[2], IMM[1].xyxy\n"
"DIV TEMP[3], TEMP[3], CONST[3].zwzw\n"
+ "DIV TEMP[3], TEMP[3], IMM[1].xyxy\n"
/* Fetch texels */
"TEX_LZ TEMP[4].x, TEMP[2], SAMP[0], RECT\n"
@@ -564,7 +566,9 @@ static const char *compute_shader_yuv_bob_uv =
/* Scale */
"DIV TEMP[2], TEMP[2], CONST[3].zwzw\n"
+ "DIV TEMP[2], TEMP[2], IMM[1].xyxy\n"
"DIV TEMP[3], TEMP[3], CONST[3].zwzw\n"
+ "DIV TEMP[3], TEMP[3], IMM[1].xyxy\n"
/* Fetch texels */
"TEX_LZ TEMP[4].x, TEMP[2], SAMP[0], RECT\n"