mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 11:00:11 +01:00
glsl: when cloning a variable, copy the depth layout too
This fixes AMD_conservative_depth. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
038a7dfcaa
commit
90be99427a
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue