ir_constant_variable: New pass to mark constant-assigned variables constant.
authorEric Anholt <eric@anholt.net>
Wed, 12 May 2010 19:10:41 +0000 (12:10 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 1 Jun 2010 22:15:04 +0000 (15:15 -0700)
commit65122e9e8038488e8c586eb609e434a90188de27
treea0ec2cf6a753017b69961ef18caa9c9f8948fb1c
parentf389862006dde5b0d4bcf36ba85364a1ef6d4a5d
ir_constant_variable: New pass to mark constant-assigned variables constant.

This removes a bunch of gratuitous moving around of constant values
from constructors.  Makes a shader ir I was looking at for structure
handling almost readable.
Makefile.am
glsl_parser_extras.cpp
ir_constant_variable.cpp [new file with mode: 0644]
ir_optimization.h
linux_list.h [new file with mode: 0644]