<div dir="ltr"><div>Looks good to me.<br><br></div>Reviewed-by: Brian Paul <<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 22, 2016 at 2:33 PM, Charmaine Lee <span dir="ltr"><<a href="mailto:charmainel@vmware.com" target="_blank">charmainel@vmware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Fixes tgsi error introduced in commit 3817a7a. The error complains missing<br>
swizzle component in the conversion string "UMIN TEMP[0], TEMP[0], IMM[0].x".<br>
---<br>
src/gallium/auxiliary/util/u_<wbr>simple_shaders.c | 4 ++--<br>
1 file changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/gallium/auxiliary/util/<wbr>u_simple_shaders.c b/src/gallium/auxiliary/util/<wbr>u_simple_shaders.c<br>
index 8be31be..7342b3d 100644<br>
--- a/src/gallium/auxiliary/util/<wbr>u_simple_shaders.c<br>
+++ b/src/gallium/auxiliary/util/<wbr>u_simple_shaders.c<br>
@@ -633,14 +633,14 @@ util_make_fs_blit_msaa_color(<wbr>struct pipe_context *pipe,<br>
<br>
if (dtype == TGSI_RETURN_TYPE_SINT) {<br>
conversion_decl = "IMM[0] UINT32 {2147483647, 0, 0, 0}\n";<br>
- conversion = "UMIN TEMP[0], TEMP[0], IMM[0].x\n";<br>
+ conversion = "UMIN TEMP[0], TEMP[0], IMM[0].xxxx\n";<br>
}<br>
} else if (stype == TGSI_RETURN_TYPE_SINT) {<br>
samp_type = "SINT";<br>
<br>
if (dtype == TGSI_RETURN_TYPE_UINT) {<br>
conversion_decl = "IMM[0] INT32 {0, 0, 0, 0}\n";<br>
- conversion = "IMAX TEMP[0], TEMP[0], IMM[0].x\n";<br>
+ conversion = "IMAX TEMP[0], TEMP[0], IMM[0].xxxx\n";<br>
}<br>
} else {<br>
assert(dtype == TGSI_RETURN_TYPE_FLOAT);<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.9.1<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>