mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 17:50:11 +01:00
i965/fs: Emit interpolation setup if non-coherent framebuffer fetch is in use.
This will be required for the next commit since the non-coherent path makes use of the fragment coordinates implicitly, so they need to be calculated. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
98d61ee083
commit
fe6abb5755
1 changed files with 2 additions and 1 deletions
|
|
@ -6176,7 +6176,8 @@ fs_visitor::run_fs(bool allow_spilling, bool do_rep_send)
|
|||
emit_shader_time_begin();
|
||||
|
||||
calculate_urb_setup();
|
||||
if (nir->info.inputs_read > 0) {
|
||||
if (nir->info.inputs_read > 0 ||
|
||||
(nir->info.outputs_read > 0 && !wm_key->coherent_fb_fetch)) {
|
||||
if (devinfo->gen < 6)
|
||||
emit_interpolation_setup_gen4();
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue