mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 06:00:14 +01:00
etnaviv: re-emit uniforms on sampler view changes when txs is used
The shader uniforms used for emulating TXS depend on the current sampler view state and thus need to be re-emitted when this states changes. Fixes:88f399b651("etnaviv: nir: support intrinsic used for txs lowering") Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31495> (cherry picked from commitc12697abe0)
This commit is contained in:
parent
543831aa9f
commit
2155cd545c
2 changed files with 4 additions and 1 deletions
|
|
@ -2244,7 +2244,7 @@
|
|||
"description": "etnaviv: re-emit uniforms on sampler view changes when txs is used",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "88f399b6515787adbe6e396df85fb5659797cb00",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -182,6 +182,9 @@ etna_set_shader_uniforms_dirty_flags(struct etna_shader_variant *sobj)
|
|||
|
||||
case ETNA_UNIFORM_TEXRECT_SCALE_X:
|
||||
case ETNA_UNIFORM_TEXRECT_SCALE_Y:
|
||||
case ETNA_UNIFORM_TEXTURE_WIDTH:
|
||||
case ETNA_UNIFORM_TEXTURE_HEIGHT:
|
||||
case ETNA_UNIFORM_TEXTURE_DEPTH:
|
||||
dirty |= ETNA_DIRTY_SAMPLER_VIEWS;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue