glsl: Add a helper for ir_builder to make dereferences for assignments.
authorEric Anholt <eric@anholt.net>
Mon, 19 Mar 2012 23:27:34 +0000 (16:27 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 14 Apr 2012 00:01:17 +0000 (17:01 -0700)
commitd32780d5041a6d241834fe565739104f86300425
tree5e6e53978ce49f6a292623bd656fada08af8ad59
parent7e88f8ce8f9d72bbda248554e0630b4aca7e1154
glsl: Add a helper for ir_builder to make dereferences for assignments.

v2: Fix writemask setup for non-vec4 assignments.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ir_builder.cpp
src/glsl/ir_builder.h
src/mesa/main/ff_fragment_shader.cpp