llvmpipe: increase PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE value

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4237
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9750>
This commit is contained in:
Timothee Chabat 2021-03-22 10:46:26 +01:00 committed by Marge Bot
parent c77fc0b6f4
commit b3ff9a02a4
2 changed files with 3 additions and 1 deletions

View file

@ -595,6 +595,7 @@ spec/arb_shader_image_load_store/invalid/imageload/address bounds test/image2d/r
spec/arb_shader_image_load_store/invalid/imageload/address bounds test/image2d/rg8ui: fail
spec/arb_shader_image_load_store/max-size/image2dmsarray max size test/4x16384x8x8: skip
spec/arb_shader_image_load_store/max-size/image2dmsarray max size test/4x8x16384x8: skip
spec/arb_shader_image_load_store/max-size/imagebuffer max size test/134217728x1x1x1: skip
spec/arb_shader_image_load_store/max-size/imagecube max size test/16384x16384x6x1: skip
spec/arb_shader_image_load_store/max-size/imagecubearray max size test/16384x16384x6x1: skip
spec/arb_shader_texture_image_samples/builtin-image/r8/compute/image2dms samples test/2x8x96x1: skip

View file

@ -223,8 +223,9 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
return 64;
case PIPE_CAP_TEXTURE_BUFFER_OBJECTS:
return 1;
/* Adressing that many 64bpp texels fits in an i32 so this is a reasonable value */
case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE:
return 65536;
return 134217728;
case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT:
return 16;
case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER: