mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
r600: update max threads per block for evergreen compute
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
5f15d35efc
commit
5c78d000e6
1 changed files with 4 additions and 0 deletions
|
|
@ -993,6 +993,10 @@ const char *r600_get_llvm_processor_name(enum radeon_family family)
|
|||
static unsigned get_max_threads_per_block(struct r600_common_screen *screen,
|
||||
enum pipe_shader_ir ir_type)
|
||||
{
|
||||
if (ir_type != PIPE_SHADER_IR_TGSI)
|
||||
return 256;
|
||||
if (screen->chip_class >= EVERGREEN)
|
||||
return 2048;
|
||||
return 256;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue