mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
llvmpipe: PIPE_COMPUTE_CAP_GRID_DIMENSION is uint64_t
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16348>
This commit is contained in:
parent
768ebf02c5
commit
8cc1889b09
1 changed files with 2 additions and 2 deletions
|
|
@ -504,10 +504,10 @@ llvmpipe_get_compute_param(struct pipe_screen *_screen,
|
|||
return sizeof(uint64_t);
|
||||
case PIPE_COMPUTE_CAP_GRID_DIMENSION:
|
||||
if (ret) {
|
||||
uint32_t *grid_dim = ret;
|
||||
uint64_t *grid_dim = ret;
|
||||
*grid_dim = 3;
|
||||
}
|
||||
return sizeof(uint32_t);
|
||||
return sizeof(uint64_t);
|
||||
case PIPE_COMPUTE_CAP_MAX_GLOBAL_SIZE:
|
||||
if (ret) {
|
||||
uint64_t *max_global_size = ret;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue