radv: remove no-op about the view index in the shader info pass
The view index is always lowered to map the layer ID for fragment shaders. This was never reached. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13243>
This commit is contained in:
parent
61a3e75242
commit
960d7bf2d3
1 changed files with 0 additions and 2 deletions
|
|
@ -219,8 +219,6 @@ gather_intrinsic_info(const nir_shader *nir, const nir_intrinsic_instr *instr,
|
|||
break;
|
||||
case nir_intrinsic_load_view_index:
|
||||
info->needs_multiview_view_index = true;
|
||||
if (nir->info.stage == MESA_SHADER_FRAGMENT)
|
||||
info->ps.layer_input = true;
|
||||
break;
|
||||
case nir_intrinsic_load_invocation_id:
|
||||
info->uses_invocation_id = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue