gallium: increase the size of pipe_box y, height fields to allow bigger textures

and reorder the fields to pack them better

Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Acked-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27953>
This commit is contained in:
Marek Olšák 2024-01-21 06:32:52 -05:00 committed by Marge Bot
parent bfdbfd6ade
commit 651191801a
5 changed files with 6 additions and 11 deletions

View File

@ -159,8 +159,6 @@ spec@ext_external_objects@vk-image-overwrite@RGBA 8 UNORM optimal: Failed to ini
spec@ext_external_objects@vk-stencil-display,Fail
spec@ext_external_objects@vk-stencil-display@D24S8,Fail
spec@ext_framebuffer_blit@fbo-blit-check-limits,Fail
spec@ext_framebuffer_multisample@alpha-to-coverage-dual-src-blend 2,Fail
spec@ext_framebuffer_multisample@alpha-to-coverage-dual-src-blend 4,Fail
spec@ext_framebuffer_multisample@alpha-to-coverage-no-draw-buffer-zero 2,Fail

View File

@ -144,7 +144,6 @@ spec@arb_texture_stencil8@texwrap formats@GL_STENCIL_INDEX8- NPOT,Fail
spec@arb_texture_stencil8@texwrap formats@GL_STENCIL_INDEX8- swizzled,Fail
spec@arb_transform_feedback_instanced@draw-auto instanced,Fail
spec@arb_vertex_program@arb_vertex_program-matrix-property-bindings,Fail
spec@ext_framebuffer_blit@fbo-blit-check-limits,Fail
spec@ext_framebuffer_multisample@accuracy 16 srgb depthstencil,Fail
spec@ext_framebuffer_multisample@accuracy 16 srgb depthstencil linear,Fail
spec@ext_framebuffer_multisample@accuracy 16 srgb small depthstencil,Fail

View File

@ -102,7 +102,6 @@ spec@egl 1.4@eglterminate then unbind context,Fail
spec@egl_khr_gl_image@egl_khr_gl_renderbuffer_image-clear-shared-image gl_depth_component24,Fail
spec@egl_khr_surfaceless_context@viewport,Fail
spec@egl_mesa_configless_context@basic,Fail
spec@ext_framebuffer_blit@fbo-blit-check-limits,Fail
spec@ext_framebuffer_multisample@blit-mismatched-formats,Fail
spec@ext_framebuffer_multisample@clip-and-scissor-blit 2 msaa,Fail
spec@ext_framebuffer_multisample@clip-and-scissor-blit 2 upsample,Fail

View File

@ -235,7 +235,6 @@ spec@ext_texture_srgb@fbo-generatemipmap-formats@GL_SLUMINANCE8_ALPHA8,Fail
spec@ext_texture_srgb@fbo-generatemipmap-formats@GL_SLUMINANCE8_ALPHA8 NPOT,Fail
spec@ext_texture_srgb@fbo-generatemipmap-formats@GL_SLUMINANCE_ALPHA,Fail
spec@ext_texture_srgb@fbo-generatemipmap-formats@GL_SLUMINANCE_ALPHA NPOT,Fail
spec@ext_framebuffer_blit@fbo-blit-check-limits,Fail
# Introduced with the uprev of piglit (70ce1dcacc92 - "ci: Update piglit with s3 support")
spec@egl 1.4@egl-ext_egl_image_storage,Fail

View File

@ -552,14 +552,14 @@ struct pipe_image_view
*/
struct pipe_box
{
/* Fields only used by textures use int16_t instead of int.
* x and width are used by buffers, so they need the full 32-bit range.
/* Only "x" and "width" are used to represent buffer ranges.
* The maximum representable texture size is ANY x ANY x 16K.
*/
int x;
int16_t y;
int32_t x;
int32_t width;
int32_t y;
int32_t height;
int16_t z;
int width;
int16_t height;
int16_t depth;
};