Re: [Mesa-dev] [PATCH 1/2] winsys/radeon: Always report at least 1 compute unit

2014-12-06 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Sat, Dec 6, 2014 at 12:59 AM, Tom Stellard wrote: > All uses of this require that the value be at least one, so it's > easier to report at least one than having to wrap all uses > in MAX2(max_compute_units, 1). > --- > src/gallium/drivers/radeon/r600_pipe_comm

[Mesa-dev] [PATCH 1/2] winsys/radeon: Always report at least 1 compute unit

2014-12-05 Thread Tom Stellard
All uses of this require that the value be at least one, so it's easier to report at least one than having to wrap all uses in MAX2(max_compute_units, 1). --- src/gallium/drivers/radeon/r600_pipe_common.c | 2 +- src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 2 ++ 2 files changed, 3 inse