mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 05:40:33 +01:00
nak: Scalarize non-constant ald/ast on Kepler
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35190>
This commit is contained in:
parent
f10c42fcc1
commit
bfdc95b109
1 changed files with 7 additions and 0 deletions
|
|
@ -206,6 +206,13 @@ lower_vtg_io_intrin(nir_builder *b,
|
|||
comps = 1;
|
||||
assert(!(c_addr & 0x3));
|
||||
|
||||
/* Vector load/store with non-constant offsets don't work pre-Maxwell.
|
||||
* They encode fine and they don't throw any shader exceptions but the
|
||||
* seem to get stuck in the hardware and we get context timeouts.
|
||||
*/
|
||||
if (nak->sm < 50 && !offset_is_const)
|
||||
comps = 1;
|
||||
|
||||
nir_def *c_offset = offset;
|
||||
if (flags.phys) {
|
||||
/* Physical addressing has to be scalar */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue