OSDN Git Service

glsl: Implement constant expr evaluation for bit-shift ops
authorChad Versace <chad@chad-versace.us>
Sun, 10 Oct 2010 03:56:14 +0000 (20:56 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 15 Oct 2010 07:20:18 +0000 (00:20 -0700)
commitadea8150a70f975c31c68f3e84ec3f8b0b448cf0
treefc6ea2e84e6b46fdb5dfe529eedd851c738d5ee8
parent90a8b792c04679fc745e5a68ead9f7c37b8d07c4
glsl: Implement constant expr evaluation for bit-shift ops

Implement by adding the following cases to
ir_expression::constant_expression_value():
    - ir_binop_lshfit
    - ir_binop_rshfit
src/glsl/ir_constant_expression.cpp