diff options
author | Brian Paul <brianp@vmware.com> | 2010-09-14 09:15:19 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-09-14 09:15:20 -0600 |
commit | 1c0644e9dac946131594216e23953a9c85335282 (patch) | |
tree | a0cf84a8a52f4eba57967528785fa6fbefcfe5ff /src/glsl/ir_validate.cpp | |
parent | 2b04ead569fbfa48ea01d2f25b20f1f8a8b8dee1 (diff) |
glsl2: add case for ir_unop_noise
Silences a compiler warning. Still need to add some assertions
for this case.
Diffstat (limited to 'src/glsl/ir_validate.cpp')
-rw-r--r-- | src/glsl/ir_validate.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/ir_validate.cpp b/src/glsl/ir_validate.cpp index 1c50957d13..58ab8aa58f 100644 --- a/src/glsl/ir_validate.cpp +++ b/src/glsl/ir_validate.cpp @@ -275,6 +275,10 @@ ir_validate::visit_leave(ir_expression *ir) assert(ir->operands[0]->type == ir->type); break; + case ir_unop_noise: + /* XXX what can we assert here? */ + break; + case ir_binop_add: case ir_binop_sub: case ir_binop_mul: |