projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
038a7df
)
glsl: when cloning a variable, copy the depth layout too
author
Marek Olšák
<maraeo@gmail.com>
Sat, 19 Nov 2011 13:30:13 +0000
(14:30 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Sat, 19 Nov 2011 15:46:59 +0000
(16:46 +0100)
This fixes AMD_conservative_depth.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ir_clone.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ir_clone.cpp
b/src/glsl/ir_clone.cpp
index e8ac9fbe456074560358d6ef0e9727c65b7fb133..c63615c7eb32ffefd58f979413261d2db1666484 100644
(file)
--- a/
src/glsl/ir_clone.cpp
+++ b/
src/glsl/ir_clone.cpp
@@
-51,6
+51,7
@@
ir_variable::clone(void *mem_ctx, struct hash_table *ht) const
var->pixel_center_integer = this->pixel_center_integer;
var->explicit_location = this->explicit_location;
var->has_initializer = this->has_initializer;
+ var->depth_layout = this->depth_layout;
var->num_state_slots = this->num_state_slots;
if (this->state_slots) {