From c05cf9cf1b6b9d42655243ffc6295e60581ecbc5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolai=20H=C3=A4hnle?= Date: Fri, 7 Apr 2017 12:23:11 +0200 Subject: [PATCH] util: fix swizzle of INSTANCEID system value MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit radeonsi added stricter checking for correct swizzles in debug builds. Reported-by: Michel Dänzer Fixes: 4cf29427770f ("radeonsi: support 64-bit system values") Reviewed-by: Marek Olšák --- src/gallium/auxiliary/util/u_simple_shaders.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/util/u_simple_shaders.c b/src/gallium/auxiliary/util/u_simple_shaders.c index 7342b3d..613ec4a 100644 --- a/src/gallium/auxiliary/util/u_simple_shaders.c +++ b/src/gallium/auxiliary/util/u_simple_shaders.c @@ -119,7 +119,7 @@ void *util_make_layered_clear_vertex_shader(struct pipe_context *pipe) "MOV OUT[0], IN[0]\n" "MOV OUT[1], IN[1]\n" - "MOV OUT[2], SV[0]\n" + "MOV OUT[2].x, SV[0].xxxx\n" "END\n"; struct tgsi_token tokens[1000]; struct pipe_shader_state state; -- 2.7.4