mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
r600: reduce num compute threads to 1024.
I copied this value from radeonsi, but it was wrong, 1024 seems to be correct answer from looking at gpuinfo. This should fix a few compute shader related hangs. (at least in CTS) Cc: <mesa-stable@lists.freedesktop.org> (airlied: pushed because it avoids hangs)
This commit is contained in:
parent
0ea243dcd5
commit
9039cf70fa
1 changed files with 1 additions and 1 deletions
|
|
@ -998,7 +998,7 @@ static unsigned get_max_threads_per_block(struct r600_common_screen *screen,
|
|||
if (ir_type != PIPE_SHADER_IR_TGSI)
|
||||
return 256;
|
||||
if (screen->chip_class >= EVERGREEN)
|
||||
return 2048;
|
||||
return 1024;
|
||||
return 256;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue