mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 13:40:16 +01:00
nir/lower_drawpixels: fix for lowered io
Acked-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28463>
This commit is contained in:
parent
c48f580a49
commit
eb190a4e8b
1 changed files with 2 additions and 0 deletions
|
|
@ -231,6 +231,8 @@ lower_drawpixels_instr(nir_builder *b, nir_instr *instr, void *cb_data)
|
||||||
case nir_intrinsic_load_input: {
|
case nir_intrinsic_load_input: {
|
||||||
if (nir_intrinsic_io_semantics(intr).location == VARYING_SLOT_TEX0)
|
if (nir_intrinsic_io_semantics(intr).location == VARYING_SLOT_TEX0)
|
||||||
return lower_texcoord(b, state, intr);
|
return lower_texcoord(b, state, intr);
|
||||||
|
if (nir_intrinsic_io_semantics(intr).location == VARYING_SLOT_COL0)
|
||||||
|
return lower_color(b, state, intr);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue