freedreno: Enable GL_ARB_enhanced_layouts
authorRob Clark <robdclark@chromium.org>
Sun, 23 Oct 2022 16:05:52 +0000 (09:05 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 28 Oct 2022 19:13:27 +0000 (19:13 +0000)
Seems like ir3 already supports everything that was needed, according to
piglit.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19236>

docs/features.txt
src/freedreno/ci/freedreno-a630-fails.txt
src/gallium/drivers/freedreno/freedreno_screen.c

index 788ea0f..b945acb 100644 (file)
@@ -197,7 +197,7 @@ GL 4.4, GLSL 4.40 -- all DONE: i965/gen8+, nvc0, r600, radeonsi, llvmpipe, zink
   GL_MAX_VERTEX_ATTRIB_STRIDE                           DONE (all drivers)
   GL_ARB_buffer_storage                                 DONE (freedreno, i965, nv50, v3d, vc4, lima)
   GL_ARB_clear_texture                                  DONE (i965, nv50, softpipe, virgl)
-  GL_ARB_enhanced_layouts                               DONE (i965, nv50, softpipe, virgl)
+  GL_ARB_enhanced_layouts                               DONE (freedreno/a3xx+, i965, nv50, softpipe, virgl)
   - compile-time constant expressions                   DONE
   - explicit byte offsets for blocks                    DONE
   - forced alignment within blocks                      DONE
index 6305523..3f3260d 100644 (file)
@@ -29,9 +29,6 @@ KHR-GLES31.core.tessellation_shader.tessellation_shader_tc_barriers.barrier_guar
 # https://gitlab.freedesktop.org/mesa/mesa/-/issues/5582
 KHR-GLES31.core.texture_cube_map_array.color_depth_attachments,Fail
 
-# glsl parser bug will go away when we expose gl44 and/or GL_ARB_enhanced_layouts
-KHR-GL33.CommonBugs.CommonBug_ParenthesisInLayoutQualifierIntegerValue,Fail
-
 # rendering errors in ~4x4 blocks around the bottom side of the diagonal for the quad
 bypass-dEQP-GLES31.functional.blend_equation_advanced.msaa.colorburn,Fail
 bypass-dEQP-GLES31.functional.blend_equation_advanced.msaa.colordodge,Fail
@@ -173,6 +170,10 @@ spec@arb_timer_query@timestamp-get,Fail
 
 spec@arb_vertex_type_2_10_10_10_rev@attrib-p-type-size-match,Fail
 
+# fails unrelated to GL_ARB_enhanced_layouts
+spec@arb_enhanced_layouts@execution@component-layout@vs-fs-array-dvec3,Crash
+spec@arb_enhanced_layouts@gs-stream-location-aliasing,Fail
+
 spec@egl 1.4@eglterminate then unbind context,Fail
 spec@egl_chromium_sync_control@conformance@eglGetSyncValuesCHROMIUM_msc_and_sbc_test,Fail
 spec@egl_chromium_sync_control@conformance,Fail
index 85063a7..b7b92a1 100644 (file)
@@ -469,6 +469,7 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_STREAM_OUTPUT_INTERLEAVE_BUFFERS:
    case PIPE_CAP_FS_POSITION_IS_SYSVAL:
    case PIPE_CAP_TGSI_TEXCOORD:
+   case PIPE_CAP_SHADER_ARRAY_COMPONENTS:
       if (is_ir3(screen))
          return 1;
       return 0;