diff options
author | Charmaine Lee <[email protected]> | 2016-11-22 13:33:37 -0800 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2016-11-23 01:54:57 +0100 |
commit | 5d2b5996e1e85e3b4c167570f1eecb5a131d5837 (patch) | |
tree | c1b5ad6da6282ebaf2b0a7529dfe75a5db26fe1e /src | |
parent | 414dbb2d5c48b7e9dc0dc8b14583f91415ca3960 (diff) |
util: fix missing swizzle components in the SINT <-> UINT conversion string
Fixes tgsi error introduced in commit 3817a7a. The error complains missing
swizzle component in the conversion string "UMIN TEMP[0], TEMP[0], IMM[0].x".
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/util/u_simple_shaders.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_simple_shaders.c b/src/gallium/auxiliary/util/u_simple_shaders.c index 8be31be5cc9..7342b3d33e6 100644 --- a/src/gallium/auxiliary/util/u_simple_shaders.c +++ b/src/gallium/auxiliary/util/u_simple_shaders.c @@ -633,14 +633,14 @@ util_make_fs_blit_msaa_color(struct pipe_context *pipe, if (dtype == TGSI_RETURN_TYPE_SINT) { conversion_decl = "IMM[0] UINT32 {2147483647, 0, 0, 0}\n"; - conversion = "UMIN TEMP[0], TEMP[0], IMM[0].x\n"; + conversion = "UMIN TEMP[0], TEMP[0], IMM[0].xxxx\n"; } } else if (stype == TGSI_RETURN_TYPE_SINT) { samp_type = "SINT"; if (dtype == TGSI_RETURN_TYPE_UINT) { conversion_decl = "IMM[0] INT32 {0, 0, 0, 0}\n"; - conversion = "IMAX TEMP[0], TEMP[0], IMM[0].x\n"; + conversion = "IMAX TEMP[0], TEMP[0], IMM[0].xxxx\n"; } } else { assert(dtype == TGSI_RETURN_TYPE_FLOAT); |