Piglit tests regression in gallium drivers
Commits a693f98e & db8be355 introduce huge regression in gallium drivers (softpipe, llvmpipe, swr).
Piglit test starts fail/segfault after this commit (which is only one of almost 100 tests):
$ piglit/bin/gen-texsubimage -auto
Probe color at (128,128)
Expected: 0.000000 0.000000 1.000000
Observed: 0.000000 0.000000 0.000000
PIGLIT: {"result": "fail" }
Env info:
Centos 7 gcc version 8.3.0 (GCC) llvm version 6.0.0
How I build mesa:
meson
--buildtype=release
-Dglx=gallium-xlib
-Dosmesa=gallium
-Dvulkan-drivers=
-Ddri-drivers=
-Dgallium-drivers=swrast,swr
-Dswr-arches=avx,avx2
-Dplatforms=x11
-Dgallium-omx=disabled
build
Other regressions found on swr driver in piglit tests:
fast_color_clear/fcc-front-buffer-distraction: pass fail fast_color_clear/fcc-read-to-pbo-after-clear: pass fail hiz/hiz-depth-read-window-stencil0: pass fail hiz/hiz-depth-read-window-stencil1: pass fail hiz/hiz-depth-test-window-stencil0: pass fail hiz/hiz-depth-test-window-stencil1: pass fail hiz/hiz-stencil-read-window-depth0: pass fail hiz/hiz-stencil-read-window-depth1: pass fail hiz/hiz-stencil-test-window-depth0: pass fail hiz/hiz-stencil-test-window-depth1: pass fail shaders/glsl-fs-textureenvcolor-statechange: pass fail spec/!opengl 1.0/gl-1.0-drawbuffer-modes: pass fail spec/!opengl 1.0/gl-1.0-front-invalidate-back: pass fail spec/!opengl 1.0/gl-1.0-swapbuffers-behavior: pass fail spec/!opengl 1.1/clear-accum: pass fail spec/!opengl 1.1/depthstencil-default_fb-copypixels: pass fail spec/!opengl 1.1/depthstencil-default_fb-drawpixels-24_8: pass fail spec/!opengl 1.1/depthstencil-default_fb-drawpixels-32f_24_8_rev: pass fail spec/!opengl 1.1/depthstencil-default_fb-drawpixels-float-and-ushort: pass fail spec/!opengl 1.1/depthstencil-default_fb-readpixels-24_8: pass fail spec/!opengl 1.1/depthstencil-default_fb-readpixels-32f_24_8_rev: pass fail spec/!opengl 1.1/depthstencil-default_fb-readpixels-float-and-ushort: pass fail spec/!opengl 1.1/linestipple/baseline: pass fail spec/!opengl 1.1/masked-clear: pass fail spec/!opengl 1.1/read-front clear-front-first: pass fail spec/!opengl 1.2/tex3d-maxsize: pass fail spec/!opengl 3.0/gl30basic: pass fail spec/amd_seamless_cubemap_per_texture/amd_seamless_cubemap_per_texture: pass fail spec/arb_base_instance/arb_base_instance-baseinstance-doesnt-affect-gl-instance-id: pass fail spec/arb_depth_texture/depth-level-clamp: pass fail spec/arb_depth_texture/depth-tex-modes: pass fail spec/arb_depth_texture/texdepth: pass fail spec/arb_es2_compatibility/arb_es2_compatibility-depthrangef: pass fail spec/arb_es2_compatibility/arb_es2_compatibility-fixed-type: pass fail spec/arb_es2_compatibility/arb_es2_compatibility-releaseshadercompiler: pass fail spec/arb_explicit_attrib_location/overlapping-locations-input-attribs api: pass fail spec/arb_explicit_attrib_location/overlapping-locations-input-attribs shader: pass fail spec/arb_framebuffer_object/fbo-blit-stretch: pass fail spec/arb_framebuffer_object/fbo-scissor-blit window: pass fail spec/arb_framebuffer_object/fbo-tex-rgbx: pass fail spec/arb_framebuffer_object/fbo-viewport: pass fail spec/arb_framebuffer_srgb/framebuffer-srgb: pass fail spec/arb_instanced_arrays/arb_instanced_arrays-instanced_arrays-vbo: pass fail spec/arb_pixel_buffer_object/pbo-drawpixels: pass fail spec/arb_pixel_buffer_object/pbo-read-argb8888: pass fail spec/arb_pixel_buffer_object/pbo-readpixels-small: pass fail spec/arb_pixel_buffer_object/pbo-teximage: pass fail spec/arb_pixel_buffer_object/pbo-teximage-tiling: pass fail spec/arb_pixel_buffer_object/pbo-teximage-tiling-2: pass fail spec/arb_point_sprite/arb_point_sprite-checkerboard: pass fail spec/arb_provoking_vertex/arb-provoking-vertex-clipped-geometry-flatshading: pass fail spec/arb_provoking_vertex/arb-provoking-vertex-render: pass fail spec/arb_sampler_objects/framebufferblit: pass fail spec/arb_texture_cube_map/copyteximage cube: pass fail spec/arb_texture_cube_map/cubemap: pass fail spec/arb_texture_cube_map/cubemap-shader: pass fail spec/arb_texture_cube_map/cubemap-shader bias: pass fail spec/arb_texture_cube_map/cubemap-shader lod: pass fail spec/arb_texture_cube_map_array/arb_texture_cube_map_array-cubemap: pass fail spec/arb_texture_cube_map_array/arb_texture_cube_map_array-cubemap-lod: pass fail spec/arb_texture_cube_map_array/arb_texture_cube_map_array-fbo-cubemap-array: pass fail spec/arb_texture_cube_map_array/arb_texture_cube_map_array-sampler-cube-array-shadow: pass fail spec/arb_texture_float/arb_texture_float-texture-float-formats: pass fail spec/arb_texture_rectangle/copyteximage rect: pass fail spec/arb_texture_rectangle/fbo-blit rect: pass fail spec/arb_texture_rectangle/texrect-many: pass fail spec/arb_texture_rectangle/texrect_simple_arb_texrect: pass fail spec/arb_texture_rg/depth-tex-modes-rg: pass fail spec/arb_texture_rg/rg-draw-pixels: pass fail spec/arb_texture_rg/texture-rg: pass fail spec/arb_texture_storage/texture-storage/2d mipmap rendering: pass fail spec/arb_texture_storage/texture-storage/generate mipmap: pass fail spec/arb_timer_query/query gl_timestamp: pass fail spec/arb_vertex_attrib_64bit/arb_vertex_attrib_64bit-overlapping-locations api: pass fail spec/arb_vertex_attrib_64bit/arb_vertex_attrib_64bit-overlapping-locations shader: pass fail spec/arb_vertex_program/vp-address-01: pass fail spec/ext_fog_coord/ext_fog_coord-modes: pass fail spec/ext_framebuffer_blit/fbo-blit: pass fail spec/ext_framebuffer_blit/fbo-copypix: pass fail spec/ext_framebuffer_blit/fbo-readdrawpix: pass fail spec/ext_framebuffer_blit/fbo-sys-blit: pass fail spec/ext_framebuffer_blit/fbo-sys-sub-blit: pass fail spec/ext_framebuffer_object/ext_framebuffer_object-mipmap: pass fail spec/ext_packed_depth_stencil/fbo-blit-d24s8: pass fail spec/ext_provoking_vertex/provoking-vertex: pass fail spec/ext_texture_array/array-texture: pass fail spec/ext_texture_array/copyteximage 1d_array: pass fail spec/ext_texture_array/copyteximage 2d_array: pass fail spec/ext_texture_array/fbo-array: pass fail spec/ext_texture_compression_s3tc/gen-compressed-teximage: pass fail spec/ext_texture_compression_s3tc/s3tc-teximage: pass fail spec/ext_texture_compression_s3tc/s3tc-texsubimage: pass fail spec/ext_texture_lod_bias/lodbias: pass fail spec/ext_texture_srgb/tex-srgb: pass fail spec/ext_timer_query/time-elapsed: pass fail spec/ext_vertex_array_bgra/bgra-sec-color-pointer: pass fail spec/ext_vertex_array_bgra/bgra-vert-attrib-pointer: pass fail spec/nv_primitive_restart/primitive-restart-disable_vbo: pass fail spec/nv_primitive_restart/primitive-restart-vbo_combined_vertex_and_index: pass fail spec/nv_primitive_restart/primitive-restart-vbo_index_only: pass fail spec/nv_primitive_restart/primitive-restart-vbo_separate_vertex_and_index: pass fail spec/nv_primitive_restart/primitive-restart-vbo_vertex_only: pass fail spec/sgis_generate_mipmap/gen-nonzero-unit: pass fail spec/sgis_generate_mipmap/gen-teximage: pass fail spec/sgis_generate_mipmap/gen-texsubimage: pass fail