aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/ir3/ir3_nir.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-04-19 11:12:34 -0700
committerRob Clark <[email protected]>2019-04-25 14:13:31 -0700
commitc4f423aa366548b919ed78407bacab032a077398 (patch)
tree60d14fff6707c07e011b67cf68043febc948c9f4 /src/freedreno/ir3/ir3_nir.h
parent4e3ce224a7e19442cabd82415005c16e2f27cdc5 (diff)
freedreno/ir3: lower load_barycentric_at_sample
This lowers load_barycentric_at_sample to load_sample_pos_from_id plus load_barycentric_at_offset. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/freedreno/ir3/ir3_nir.h')
-rw-r--r--src/freedreno/ir3/ir3_nir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/freedreno/ir3/ir3_nir.h b/src/freedreno/ir3/ir3_nir.h
index 1fe0bb0d094..eefe5f32f8f 100644
--- a/src/freedreno/ir3/ir3_nir.h
+++ b/src/freedreno/ir3/ir3_nir.h
@@ -38,6 +38,7 @@ void ir3_nir_scan_driver_consts(nir_shader *shader, struct ir3_driver_const_layo
bool ir3_nir_apply_trig_workarounds(nir_shader *shader);
bool ir3_nir_lower_tg4_to_tex(nir_shader *shader);
bool ir3_nir_lower_io_offsets(nir_shader *shader);
+bool ir3_nir_lower_load_barycentric_at_sample(nir_shader *shader);
bool ir3_nir_move_varying_inputs(nir_shader *shader);
const nir_shader_compiler_options * ir3_get_compiler_options(struct ir3_compiler *compiler);