mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
iris: Stop advertising clover-only caps
Both of these are clover-only caps. We don't really support clover and, even if we did, the number of address bits is wrong and we definitely don't support the CL path for images. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6405>
This commit is contained in:
parent
6ec286935a
commit
b9678aa17d
1 changed files with 2 additions and 6 deletions
|
|
@ -459,9 +459,6 @@ iris_get_compute_param(struct pipe_screen *pscreen,
|
|||
} while (0)
|
||||
|
||||
switch (param) {
|
||||
case PIPE_COMPUTE_CAP_ADDRESS_BITS:
|
||||
RET((uint32_t []){ 32 });
|
||||
|
||||
case PIPE_COMPUTE_CAP_IR_TARGET:
|
||||
if (ret)
|
||||
strcpy(ret, "gen");
|
||||
|
|
@ -487,12 +484,11 @@ iris_get_compute_param(struct pipe_screen *pscreen,
|
|||
/* MaxComputeSharedMemorySize */
|
||||
RET((uint64_t []) { 64 * 1024 });
|
||||
|
||||
case PIPE_COMPUTE_CAP_IMAGES_SUPPORTED:
|
||||
RET((uint32_t []) { 1 });
|
||||
|
||||
case PIPE_COMPUTE_CAP_SUBGROUP_SIZE:
|
||||
RET((uint32_t []) { BRW_SUBGROUP_SIZE });
|
||||
|
||||
case PIPE_COMPUTE_CAP_ADDRESS_BITS:
|
||||
case PIPE_COMPUTE_CAP_IMAGES_SUPPORTED:
|
||||
case PIPE_COMPUTE_CAP_MAX_MEM_ALLOC_SIZE:
|
||||
case PIPE_COMPUTE_CAP_MAX_CLOCK_FREQUENCY:
|
||||
case PIPE_COMPUTE_CAP_MAX_COMPUTE_UNITS:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue