mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 05:58:05 +02:00
llvmpipe: Add new caps PIPE_CAP_LINEAR_IMAGE_(PITCH_ALIGNMENT|BASE_ADDRESS_ALIGNMENT)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20378>
This commit is contained in:
parent
06daa03c5c
commit
4f096d0d88
1 changed files with 4 additions and 0 deletions
|
|
@ -226,6 +226,10 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
|
|||
return 64;
|
||||
case PIPE_CAP_TEXTURE_BUFFER_OBJECTS:
|
||||
return 1;
|
||||
case PIPE_CAP_LINEAR_IMAGE_PITCH_ALIGNMENT:
|
||||
return 1;
|
||||
case PIPE_CAP_LINEAR_IMAGE_BASE_ADDRESS_ALIGNMENT:
|
||||
return 1;
|
||||
/* Adressing that many 64bpp texels fits in an i32 so this is a reasonable value */
|
||||
case PIPE_CAP_MAX_TEXEL_BUFFER_ELEMENTS_UINT:
|
||||
return 134217728;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue