glsl: when cloning a variable, copy the depth layout too
authorMarek Olšák <maraeo@gmail.com>
Sat, 19 Nov 2011 13:30:13 +0000 (14:30 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sat, 19 Nov 2011 15:46:59 +0000 (16:46 +0100)
commit90be99427a04a36973f9e3d19161065e1c5177b3
tree5bb56197b482687e6e00c6b627423bd3bfafe7cb
parent038a7dfcaaa7a8e5e108e247b2ffd786b3b015a3
glsl: when cloning a variable, copy the depth layout too

This fixes AMD_conservative_depth.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ir_clone.cpp