summaryrefslogtreecommitdiff
path: root/ast_to_hir.cpp
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-03-31 16:53:47 -1000
committerIan Romanick <ian.d.romanick@intel.com>2010-04-02 11:22:41 -0700
commit183d8c63947fcfab45c9f2a8a8a6fc311e8b1552 (patch)
tree719d5f4d7b282e34833e71cfd06ff1eff4e1bffc /ast_to_hir.cpp
parenta5827fe8d06a1161ef3b4e2b3296431a55d4ba2e (diff)
Emit errors for unfinished ast_to_hir expression operations.
Diffstat (limited to 'ast_to_hir.cpp')
-rw-r--r--ast_to_hir.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/ast_to_hir.cpp b/ast_to_hir.cpp
index 3166a75cf5..5d7c073ca9 100644
--- a/ast_to_hir.cpp
+++ b/ast_to_hir.cpp
@@ -658,7 +658,8 @@ ast_expression::hir(exec_list *instructions,
case ast_lshift:
case ast_rshift:
- /* FINISHME: Implement bit-shift operators. */
+ _mesa_glsl_error(& loc, state, "FINISHME: implement bit-shift operators");
+ error_emitted = true;
break;
case ast_less:
@@ -720,7 +721,8 @@ ast_expression::hir(exec_list *instructions,
case ast_bit_xor:
case ast_bit_or:
case ast_bit_not:
- /* FINISHME: Implement bit-wise operators. */
+ _mesa_glsl_error(& loc, state, "FINISHME: implement bit-wise operators");
+ error_emitted = true;
break;
case ast_logic_and:
@@ -809,11 +811,17 @@ ast_expression::hir(exec_list *instructions,
case ast_ls_assign:
case ast_rs_assign:
+ _mesa_glsl_error(& loc, state,
+ "FINISHME: implement bit-shift assignment operators");
+ error_emitted = true;
break;
case ast_and_assign:
case ast_xor_assign:
case ast_or_assign:
+ _mesa_glsl_error(& loc, state,
+ "FINISHME: implement logic assignment operators");
+ error_emitted = true;
break;
case ast_conditional: {