glsl: Implement ast-to-hir for binary shifts in GLSL 1.30
authorChad Versace <chad@chad-versace.us>
Fri, 8 Oct 2010 23:22:28 +0000 (16:22 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 15 Oct 2010 07:20:18 +0000 (00:20 -0700)
commit5c4c36f7f3842e287b303b1eca8d260c37e3580b
treefa751843d4b4e4ba08481fb8643baf46b1cfafdc
parentf88b4eaa8f6659fd1dab72697b8e80e157bee17f
glsl: Implement ast-to-hir for binary shifts in GLSL 1.30

Implement by adding the following cases to ast_expression::hir():
    - ast_lshift
    - ast_rshift
Also, implement ir validation for the new operators by adding the following
cases to ir_validate::visit_leave():
    - ir_binop_lshift
    - ir_binop_rshift
src/glsl/ast_to_hir.cpp
src/glsl/ir_validate.cpp