summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_wm_iz.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/compiler/brw_wm_iz.cpp')
-rw-r--r--src/intel/compiler/brw_wm_iz.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_wm_iz.cpp b/src/intel/compiler/brw_wm_iz.cpp
index 11d4f76b368..fead16586b6 100644
--- a/src/intel/compiler/brw_wm_iz.cpp
+++ b/src/intel/compiler/brw_wm_iz.cpp
@@ -142,7 +142,7 @@ void fs_visitor::setup_fs_payload_gen4()
}
prog_data->uses_src_depth =
- (nir->info->inputs_read & (1 << VARYING_SLOT_POS)) != 0;
+ (nir->info.inputs_read & (1 << VARYING_SLOT_POS)) != 0;
if (wm_iz_table[lookup].sd_present || prog_data->uses_src_depth ||
kill_stats_promoted_workaround) {
payload.source_depth_reg = reg;