aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/lower_variable_index_to_cond_assign.cpp
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2014-09-08 23:30:36 +0200
committermarha <marha@users.sourceforge.net>2014-09-08 23:30:36 +0200
commite16399e57caac9e859a7d28921c73ef9839b571e (patch)
treeb86ed43f749ebfe0bb3842fcd76a34e386011fcc /mesalib/src/glsl/lower_variable_index_to_cond_assign.cpp
parent166caebfaa2b217332a345ffb02c5b9e52f65a3d (diff)
parentcb346e228aeb500cd61ec86644c034c238332d3b (diff)
downloadvcxsrv-e16399e57caac9e859a7d28921c73ef9839b571e.tar.gz
vcxsrv-e16399e57caac9e859a7d28921c73ef9839b571e.tar.bz2
vcxsrv-e16399e57caac9e859a7d28921c73ef9839b571e.zip
Merge remote-tracking branch 'origin/released'
Diffstat (limited to 'mesalib/src/glsl/lower_variable_index_to_cond_assign.cpp')
-rw-r--r--mesalib/src/glsl/lower_variable_index_to_cond_assign.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/glsl/lower_variable_index_to_cond_assign.cpp b/mesalib/src/glsl/lower_variable_index_to_cond_assign.cpp
index 7c5d80f43..d878cb078 100644
--- a/mesalib/src/glsl/lower_variable_index_to_cond_assign.cpp
+++ b/mesalib/src/glsl/lower_variable_index_to_cond_assign.cpp
@@ -76,7 +76,7 @@ compare_index_block(exec_list *instructions, ir_variable *index,
ir_rvalue *broadcast_index = new(mem_ctx) ir_dereference_variable(index);
assert(index->type->is_scalar());
- assert(index->type->base_type == GLSL_TYPE_INT);
+ assert(index->type->base_type == GLSL_TYPE_INT || index->type->base_type == GLSL_TYPE_UINT);
assert(components >= 1 && components <= 4);
if (components > 1) {