<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 13, 2017 at 7:35 AM, Alejandro Piñeiro <span dir="ltr"><<a href="mailto:apinheiro@igalia.com" target="_blank">apinheiro@igalia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">These types have similar vec4 sizes as their 32-bit counterparts.<br>
---<br>
 src/intel/compiler/brw_vec4_<wbr>visitor.cpp | 3 +++<br>
 1 file changed, 3 insertions(+)<br>
<br>
diff --git a/src/intel/compiler/brw_vec4_<wbr>visitor.cpp b/src/intel/compiler/brw_vec4_<wbr>visitor.cpp<br>
index 22ee4dd..f5ae0bc 100644<br>
--- a/src/intel/compiler/brw_vec4_<wbr>visitor.cpp<br>
+++ b/src/intel/compiler/brw_vec4_<wbr>visitor.cpp<br>
@@ -583,8 +583,11 @@ type_size_xvec4(const struct glsl_type *type, bool as_vec4)<br>
    case GLSL_TYPE_UINT:<br>
    case GLSL_TYPE_INT:<br>
    case GLSL_TYPE_FLOAT:<br>
+   case GLSL_TYPE_HALF_FLOAT:<br>
    case GLSL_TYPE_BOOL:<br>
    case GLSL_TYPE_DOUBLE:<br>
+   case GLSL_TYPE_UINT16:<br>
+   case GLSL_TYPE_INT16:<br></blockquote></div><div class="gmail_quote"><br></div><div class="gmail_quote">Maybe make these hit the unreachable() because we'll probably never support fp16 in vec4.</div><div class="gmail_quote"><br></div><div class="gmail_quote">--Jason<br></div><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
    case GLSL_TYPE_UINT64:<br>
    case GLSL_TYPE_INT64:<br>
       if (type->is_matrix()) {<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.9.3<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></div>