From 2b29ec7ca4f7845f51374e1025befb3f98595ae8 Mon Sep 17 00:00:00 2001 From: Danylo Piliaiev Date: Wed, 30 Dec 2020 15:59:46 +0200 Subject: [PATCH] freedreno: Enable GLSL 3.30, updating us to GL 3.3 contexts All necessary features are already supported. GL33 CTS failures: KHR-GL33.texture_swizzle.smoke - timeouts, passes otherwise KHR-GL33.cull_distance.coverage - see https://gitlab.khronos.org/Tracker/vk-gl-cts/-/issues/2673 fix is not in the public repo yet. Signed-off-by: Danylo Piliaiev Part-of: --- .gitlab-ci.yml | 2 +- .gitlab-ci/deqp-freedreno-a630-fails.txt | 27 +++-- .gitlab-ci/deqp-freedreno-a630-skips.txt | 3 + .gitlab-ci/piglit/freedreno-a630-gl.txt | 50 ++------ .gitlab-ci/piglit/freedreno-a630-shader.txt | 113 ++---------------- docs/features.txt | 36 +++--- docs/relnotes/new_features.txt | 2 +- .../drivers/freedreno/freedreno_screen.c | 2 +- 8 files changed, 57 insertions(+), 178 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 56f6aa6d840..62acd8ea135 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1408,7 +1408,7 @@ arm64_a630_gl: - .baremetal-deqp-test - .arm64-a630-test variables: - DEQP_VER: gl32 + DEQP_VER: gl33 arm64_a630_gles_others: extends: diff --git a/.gitlab-ci/deqp-freedreno-a630-fails.txt b/.gitlab-ci/deqp-freedreno-a630-fails.txt index 48157db46c8..ae823b1765b 100644 --- a/.gitlab-ci/deqp-freedreno-a630-fails.txt +++ b/.gitlab-ci/deqp-freedreno-a630-fails.txt @@ -1,16 +1,17 @@ -KHR-GL32.packed_depth_stencil.blit.depth24_stencil8,Fail -KHR-GL32.packed_depth_stencil.verify_get_tex_image.depth24_stencil8,Fail -KHR-GL32.packed_depth_stencil.verify_read_pixels.depth24_stencil8,Fail -KHR-GL32.transform_feedback.api_errors_test,Fail -KHR-GL32.transform_feedback.capture_vertex_interleaved_test,Fail -KHR-GL32.transform_feedback.capture_vertex_separate_test,Fail -KHR-GL32.transform_feedback.discard_vertex_test,Fail -KHR-GL32.transform_feedback.draw_xfb_feedbackk_test,Crash -KHR-GL32.transform_feedback.draw_xfb_instanced_test,Crash -KHR-GL32.transform_feedback.draw_xfb_stream_instanced_test,Crash -KHR-GL32.transform_feedback.draw_xfb_test,Crash -KHR-GL32.transform_feedback.query_vertex_interleaved_test,Fail -KHR-GL32.transform_feedback.query_vertex_separate_test,Fail +KHR-GL33.packed_depth_stencil.blit.depth24_stencil8,Fail +KHR-GL33.packed_depth_stencil.verify_get_tex_image.depth24_stencil8,Fail +KHR-GL33.packed_depth_stencil.verify_read_pixels.depth24_stencil8,Fail +KHR-GL33.transform_feedback.api_errors_test,Fail +KHR-GL33.transform_feedback.capture_vertex_interleaved_test,Fail +KHR-GL33.transform_feedback.capture_vertex_separate_test,Fail +KHR-GL33.transform_feedback.discard_vertex_test,Fail +KHR-GL33.transform_feedback.draw_xfb_feedbackk_test,Crash +KHR-GL33.transform_feedback.draw_xfb_instanced_test,Crash +KHR-GL33.transform_feedback.draw_xfb_stream_instanced_test,Crash +KHR-GL33.transform_feedback.draw_xfb_test,Crash +KHR-GL33.transform_feedback.query_vertex_interleaved_test,Fail +KHR-GL33.transform_feedback.query_vertex_separate_test,Fail +KHR-GL33.cull_distance.coverage,Fail dEQP-VK.api.object_management.single_alloc_callbacks.compute_pipeline,Fail dEQP-VK.compute.indirect_dispatch.gen_in_compute.multiple_groups_multiple_invocations,Fail dEQP-VK.compute.indirect_dispatch.upload_buffer.multiple_groups,Fail diff --git a/.gitlab-ci/deqp-freedreno-a630-skips.txt b/.gitlab-ci/deqp-freedreno-a630-skips.txt index 07deb2b5405..c222d2c1828 100644 --- a/.gitlab-ci/deqp-freedreno-a630-skips.txt +++ b/.gitlab-ci/deqp-freedreno-a630-skips.txt @@ -9,6 +9,9 @@ dEQP-GLES[0-9]*.stress.* # These are really slow on tiling architectures (including llvmpipe). dEQP-GLES[0-9]*.functional.flush_finish.* +# Timeouts, passes otherwise +KHR-GL33.texture_swizzle.smoke + # Timeout on what looks like an infinite loop in ir3's mark_kill_path() dEQP-VK.geometry.layered.cube_array.36_36_12.secondary_cmd_buffer_inherit_framebuffer # More timeouts, possibly the same. diff --git a/.gitlab-ci/piglit/freedreno-a630-gl.txt b/.gitlab-ci/piglit/freedreno-a630-gl.txt index 81007b182a4..ef968370e33 100644 --- a/.gitlab-ci/piglit/freedreno-a630-gl.txt +++ b/.gitlab-ci/piglit/freedreno-a630-gl.txt @@ -137,7 +137,6 @@ object namespace pollution/vertex-array with glclear: skip object namespace pollution/vertex-array with glcleartexsubimage: skip object namespace pollution/vertex-array with glcopyimagesubdata: skip object namespace pollution/vertex-array with glcopypixels: skip -object namespace pollution/vertex-array with glcopytexsubimage2d: skip object namespace pollution/vertex-array with gldrawpixels: skip object namespace pollution/vertex-array with glgeneratemipmap: skip object namespace pollution/vertex-array with glgetteximage: skip @@ -177,7 +176,6 @@ spec/!opengl 1.0/gl-1.0-rendermode-feedback/gl_4d_color_texture: notrun spec/!opengl 1.0/gl-1.0-scissor-offscreen: fail spec/!opengl 1.0/gl-1.0-spot-light: fail spec/!opengl 1.0/gl-1.0-swapbuffers-behavior: fail -spec/!opengl 1.1/clear-accum: skip spec/!opengl 1.1/copyteximage 1d: crash spec/!opengl 1.1/copyteximage 2d: crash spec/!opengl 1.1/depthstencil-default_fb-blit samples=16: skip @@ -873,17 +871,8 @@ spec/!opengl 3.0/clearbuffer-depth: fail spec/!opengl 3.0/clearbuffer-stencil: fail spec/!opengl 3.0/viewport-clamp: crash spec/!opengl 3.1/primitive-restart-xfb generated: fail -spec/!opengl 3.2/layered-rendering/clear-color-all-types 2d_multisample_array single_level: fail spec/!opengl 3.2/layered-rendering/clear-depth: crash -spec/!opengl 3.2/layered-rendering/gl-layer-cube-map: fail -spec/!opengl 3.2/layered-rendering/gl-layer-render: fail -spec/!opengl 3.2/layered-rendering/gl-layer-render-clipped: fail -spec/!opengl 3.2/layered-rendering/gl-layer-render-storage: fail spec/!opengl 3.2/pointsprite-origin: fail -spec/!opengl 3.3/minmax: skip -spec/!opengl 3.3/required-renderbuffer-attachment-formats: skip -spec/!opengl 3.3/required-sized-texture-formats: skip -spec/!opengl 3.3/required-texture-attachment-formats: skip spec/!opengl 4.2/gl-max-vertex-attrib-stride: skip spec/!opengl 4.2/required-renderbuffer-attachment-formats: skip spec/!opengl 4.2/required-sized-texture-formats: skip @@ -898,7 +887,6 @@ spec/3dfx_texture_compression_fxt1/compressedteximage gl_compressed_rgba_fxt1_3d spec/3dfx_texture_compression_fxt1/fbo-generatemipmap-formats: skip spec/3dfx_texture_compression_fxt1/fxt1-teximage: skip spec/amd_compressed_atc_texture/miptree: skip -spec/amd_depth_clamp_separate/amd_depth_clamp_separate_range: fail spec/amd_framebuffer_multisample_advanced/api-glcore: skip spec/amd_framebuffer_multisample_advanced/api-gles3: skip spec/amd_performance_monitor/api: skip @@ -945,17 +933,6 @@ spec/arb_clear_texture/arb_clear_texture-sized-formats: skip spec/arb_clear_texture/arb_clear_texture-srgb: skip spec/arb_clear_texture/arb_clear_texture-stencil: skip spec/arb_clear_texture/arb_clear_texture-texview: skip -spec/arb_compute_shader/api_errors: skip -spec/arb_compute_shader/built-in constants: skip -spec/arb_compute_shader/compiler/work_group_size_too_large: skip -spec/arb_compute_shader/display-list: skip -spec/arb_compute_shader/indirect-compute: skip -spec/arb_compute_shader/local-id-explosion: skip -spec/arb_compute_shader/render-and-compute: skip -spec/arb_compute_shader/zero-dispatch-size: skip -spec/arb_compute_variable_group_size/errors: skip -spec/arb_compute_variable_group_size/local-size: skip -spec/arb_compute_variable_group_size/minmax: skip spec/arb_copy_image/arb_copy_image-api_errors: skip spec/arb_copy_image/arb_copy_image-format-swizzle: skip spec/arb_copy_image/arb_copy_image-formats: skip @@ -1073,9 +1050,9 @@ spec/arb_direct_state_access/transformfeedback-bufferrange/general test: fail spec/arb_draw_buffers/fbo-mrt-alphatest: fail spec/arb_draw_indirect/arb_draw_indirect-draw-arrays-base-instance: skip spec/arb_draw_indirect/arb_draw_indirect-draw-arrays-compat: skip -spec/arb_draw_indirect/arb_draw_indirect-draw-arrays-prim-restart: skip spec/arb_draw_indirect/arb_draw_indirect-draw-elements-base-instance: skip spec/arb_draw_indirect/arb_draw_indirect-draw-elements-compat: skip +spec/arb_draw_indirect/arb_draw_indirect-transform-feedback: fail spec/arb_enhanced_layouts/arb_enhanced_layouts-transform-feedback-layout-qualifiers_gs: skip spec/arb_enhanced_layouts/arb_enhanced_layouts-transform-feedback-layout-qualifiers_gs_max: skip spec/arb_enhanced_layouts/arb_enhanced_layouts-transform-feedback-layout-qualifiers_vs: skip @@ -1087,8 +1064,6 @@ spec/arb_enhanced_layouts/explicit-offset-bufferstorage: skip spec/arb_enhanced_layouts/gs-stream-location-aliasing: skip spec/arb_es2_compatibility/fbo-alphatest-formats/gl_rgb565: fail spec/arb_es2_compatibility/texwrap formats bordercolor-swizzled/gl_rgb565, swizzled, border color only: fail -spec/arb_es3_compatibility/es3-drawarrays-primrestart-fixedindex: skip -spec/arb_es3_compatibility/es3-primrestart-fixedindex: skip spec/arb_fragment_program/fp-fragment-position: crash spec/arb_fragment_program/fp-indirections: skip spec/arb_fragment_program/sparse-samplers: crash @@ -2481,7 +2456,6 @@ spec/arb_shader_storage_buffer_object/layout-std430-write-shader: skip spec/arb_shader_storage_buffer_object/max-ssbo-size/vs: skip spec/arb_shader_storage_buffer_object/max-ssbo-size/vsexceed: skip spec/arb_shader_storage_buffer_object/minmax: skip -spec/arb_shader_storage_buffer_object/program-interface-query: fail spec/arb_shader_texture_image_samples/builtin-image: skip spec/arb_shader_texture_image_samples/texturesamples/fs-isampler2dms-16: skip spec/arb_shader_texture_image_samples/texturesamples/fs-isampler2dms-2: skip @@ -2623,7 +2597,6 @@ spec/arb_sparse_buffer/commit: skip spec/arb_sparse_buffer/minmax: skip spec/arb_tessellation_shader/arb_tessellation_shader-immediate-mode-draw-patches: skip spec/arb_tessellation_shader/arb_tessellation_shader-tes-gs-max-output -small -scan 1 50: fail -spec/arb_tessellation_shader/built-in-constants: skip spec/arb_texture_buffer_object/formats (fs, arb)/gl_alpha16f_arb: fail spec/arb_texture_buffer_object/formats (fs, arb)/gl_alpha32f_arb: fail spec/arb_texture_buffer_object/formats (fs, arb)/gl_intensity16f_arb: fail @@ -3837,14 +3810,8 @@ spec/ext_texture_array/copyteximage 2d_array samples=32: skip spec/ext_texture_array/copyteximage 2d_array samples=4: crash spec/ext_texture_array/copyteximage 2d_array samples=6: skip spec/ext_texture_array/copyteximage 2d_array samples=8: skip -spec/ext_texture_array/fbo-depth-array depth-clear: skip -spec/ext_texture_array/fbo-depth-array depth-draw: skip -spec/ext_texture_array/fbo-depth-array depth-layered-clear: skip -spec/ext_texture_array/fbo-depth-array fs-writes-depth: skip -spec/ext_texture_array/fbo-depth-array fs-writes-stencil: skip -spec/ext_texture_array/fbo-depth-array stencil-clear: skip -spec/ext_texture_array/fbo-depth-array stencil-draw: skip -spec/ext_texture_array/fbo-depth-array stencil-layered-clear: skip +spec/ext_texture_array/fbo-depth-array depth-layered-clear: crash +spec/ext_texture_array/fbo-depth-array stencil-layered-clear: crash spec/ext_texture_compression_rgtc/texwrap formats bordercolor-swizzled/gl_compressed_red_rgtc1, swizzled, border color only: fail spec/ext_texture_compression_rgtc/texwrap formats bordercolor-swizzled/gl_compressed_rg_rgtc2, swizzled, border color only: fail spec/ext_texture_compression_rgtc/texwrap formats bordercolor-swizzled/gl_compressed_signed_rg_rgtc2, swizzled, border color only: fail @@ -4126,7 +4093,6 @@ spec/glsl-1.50/execution/geometry/tri-strip-ordering-with-prim-restart gl_triang spec/glsl-1.50/execution/geometry/tri-strip-ordering-with-prim-restart gl_triangle_strip_adjacency other: fail spec/glsl-1.50/gs-max-output: skip spec/glsl-1.50/gs-max-output-components: fail -spec/glsl-3.30/built-in constants: skip spec/intel_blackhole_render/intel_blackhole-blit: skip spec/intel_blackhole_render/intel_blackhole-blit_gles2: skip spec/intel_blackhole_render/intel_blackhole-blit_gles3: skip @@ -4798,10 +4764,10 @@ wgl/wgl-sanity: skip summary: name: results ---- -------- - pass: 16759 - fail: 1630 - crash: 174 - skip: 2824 + pass: 16808 + fail: 1616 + crash: 175 + skip: 2758 timeout: 0 warn: 116 incomplete: 0 @@ -4810,4 +4776,4 @@ summary: changes: 0 fixes: 0 regressions: 0 - total: 21623 + total: 21593 diff --git a/.gitlab-ci/piglit/freedreno-a630-shader.txt b/.gitlab-ci/piglit/freedreno-a630-shader.txt index 270a89c958e..c5f0dd7f431 100644 --- a/.gitlab-ci/piglit/freedreno-a630-shader.txt +++ b/.gitlab-ci/piglit/freedreno-a630-shader.txt @@ -55,10 +55,9 @@ spec/amd_shader_trinary_minmax/execution/built-in-functions/vs-mid3-vec3-vec3-ve spec/amd_shader_trinary_minmax/execution/built-in-functions/vs-min3-int-int-int: skip spec/arb_arrays_of_arrays/execution/atomic_counters/vs-indirect-index: skip spec/arb_arrays_of_arrays/execution/atomic_counters/vs-simple-inc-dec-read: skip -spec/arb_arrays_of_arrays/execution/image_store/basic-imagestore-const-uniform-index: skip -spec/arb_arrays_of_arrays/execution/image_store/basic-imagestore-mixed-const-non-const-uniform-index: skip -spec/arb_arrays_of_arrays/execution/image_store/basic-imagestore-mixed-const-non-const-uniform-index2: skip -spec/arb_arrays_of_arrays/execution/image_store/basic-imagestore-non-const-uniform-index: skip +spec/arb_arrays_of_arrays/execution/image_store/basic-imagestore-mixed-const-non-const-uniform-index: crash +spec/arb_arrays_of_arrays/execution/image_store/basic-imagestore-mixed-const-non-const-uniform-index2: crash +spec/arb_arrays_of_arrays/execution/image_store/basic-imagestore-non-const-uniform-index: crash spec/arb_arrays_of_arrays/execution/sampler/fs-const-index: skip spec/arb_arrays_of_arrays/execution/sampler/fs-initializer-non-const-index: skip spec/arb_arrays_of_arrays/execution/sampler/fs-mixed-const-and-non-const-index: skip @@ -106,45 +105,8 @@ spec/arb_bindless_texture/linker/global_bindless_sampler_and_bindless_image: ski spec/arb_bindless_texture/linker/global_bindless_sampler_and_bound_image: skip spec/arb_bindless_texture/linker/global_bindless_sampler_and_bound_sampler: skip spec/arb_bindless_texture/linker/global_bound_sampler_and_bound_image: skip -spec/arb_compute_shader/execution/basic-global-id: skip -spec/arb_compute_shader/execution/basic-group-id: skip -spec/arb_compute_shader/execution/basic-group-id-x: skip -spec/arb_compute_shader/execution/basic-group-id-y: skip -spec/arb_compute_shader/execution/basic-group-id-z: skip -spec/arb_compute_shader/execution/basic-local-id-atomic: skip -spec/arb_compute_shader/execution/basic-local-index: skip -spec/arb_compute_shader/execution/basic-ssbo: skip -spec/arb_compute_shader/execution/basic-texelfetch: skip -spec/arb_compute_shader/execution/basic-uniform-access: skip -spec/arb_compute_shader/execution/basic-uniform-access-atomic: skip -spec/arb_compute_shader/execution/border-color: skip -spec/arb_compute_shader/execution/multiple-texture-reading: skip -spec/arb_compute_shader/execution/multiple-workgroups: skip -spec/arb_compute_shader/execution/separate-global-id: skip -spec/arb_compute_shader/execution/separate-global-id-2: skip -spec/arb_compute_shader/execution/shared-atomicadd-int: skip -spec/arb_compute_shader/execution/shared-atomiccompswap-int: skip -spec/arb_compute_shader/execution/shared-atomicexchange-int: skip -spec/arb_compute_shader/execution/shared-atomicmax-int: skip -spec/arb_compute_shader/execution/shared-atomicmax-uint: skip -spec/arb_compute_shader/execution/shared-atomicmin-int: skip -spec/arb_compute_shader/execution/shared-atomicmin-uint: skip -spec/arb_compute_shader/execution/shared-atomics: skip -spec/arb_compute_shader/execution/simple-barrier: skip -spec/arb_compute_shader/execution/simple-barrier-atomics: skip -spec/arb_compute_shader/linker/bug-93840: skip -spec/arb_compute_shader/linker/matched_local_work_sizes: skip -spec/arb_compute_shader/linker/mismatched_local_work_sizes: skip -spec/arb_compute_shader/linker/mix_compute_and_non_compute: skip -spec/arb_compute_shader/linker/no_local_work_size: skip -spec/arb_compute_shader/linker/one_local_work_size: skip -spec/arb_compute_variable_group_size/execution/basic-local-size: skip -spec/arb_compute_variable_group_size/execution/fixed-local-size: skip -spec/arb_compute_variable_group_size/execution/global-invocation-id: skip -spec/arb_compute_variable_group_size/execution/separate-global-id: skip -spec/arb_compute_variable_group_size/execution/separate-global-id-2: skip -spec/arb_compute_variable_group_size/linker/mixed_fixed_variable_local_work_size: skip -spec/arb_compute_variable_group_size/linker/no_local_size_specified: skip +spec/arb_compute_shader/execution/border-color: fail +spec/arb_compute_shader/execution/simple-barrier-atomics: fail spec/arb_derivative_control/execution/dfdx-coarse: skip spec/arb_derivative_control/execution/dfdx-dfdy: skip spec/arb_derivative_control/execution/dfdx-fine: skip @@ -527,12 +489,9 @@ spec/arb_shader_group_vote/vs-any-const: skip spec/arb_shader_group_vote/vs-any-uniform: skip spec/arb_shader_group_vote/vs-eq-const: skip spec/arb_shader_group_vote/vs-eq-uniform: skip -spec/arb_shader_image_load_store/execution/basic-imagestore-from-uniform: skip -spec/arb_shader_image_load_store/execution/disable_early_z: skip spec/arb_shader_image_load_store/execution/gl45-imageatomicexchange-float: skip spec/arb_shader_image_load_store/execution/image_checkerboard: skip spec/arb_shader_image_load_store/execution/imagestore-array: skip -spec/arb_shader_image_load_store/execution/load-from-cleared-image: skip spec/arb_shader_image_load_store/execution/write-to-rendered-image: skip spec/arb_shader_precision/fs-degrees-float: skip spec/arb_shader_precision/fs-degrees-vec2: skip @@ -852,19 +811,9 @@ spec/arb_shader_precision/vs-sqrt-float: skip spec/arb_shader_precision/vs-sqrt-vec2: skip spec/arb_shader_precision/vs-sqrt-vec3: skip spec/arb_shader_precision/vs-sqrt-vec4: skip -spec/arb_shader_storage_buffer_object/execution/basic: skip -spec/arb_shader_storage_buffer_object/execution/indirect: skip -spec/arb_shader_storage_buffer_object/execution/memory-layouts-struct-deref: skip -spec/arb_shader_storage_buffer_object/execution/ssbo-atomicadd-int: skip +spec/arb_shader_storage_buffer_object/execution/indirect: fail spec/arb_shader_storage_buffer_object/execution/ssbo-atomiccompswap-int: skip -spec/arb_shader_storage_buffer_object/execution/ssbo-atomicexchange-int: skip -spec/arb_shader_storage_buffer_object/execution/ssbo-atomicmax-int: skip -spec/arb_shader_storage_buffer_object/execution/ssbo-atomicmax-uint: skip -spec/arb_shader_storage_buffer_object/execution/ssbo-atomicmin-int: skip -spec/arb_shader_storage_buffer_object/execution/ssbo-atomicmin-uint: skip -spec/arb_shader_storage_buffer_object/linker/buffer-variable-indirect-indexing: skip -spec/arb_shader_storage_buffer_object/linker/copy-large-array: skip -spec/arb_shader_storage_buffer_object/linker/copy-large-struct: skip +spec/arb_shader_storage_buffer_object/execution/ssbo-atomicmax-int: fail spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-array-size-mismatch: skip spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-binding-qualifier-mismatch: skip spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-array-size-mismatch: fail @@ -875,7 +824,6 @@ spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-bl spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-member-type-mismatch: skip spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-memory-qualifier-mismatch: skip spec/arb_shader_storage_buffer_object/linker/instance-matching-shader-storage-blocks-packaging-qualifier-mismatch: skip -spec/arb_shader_storage_buffer_object/linker/unsized_array_member: skip spec/arb_shading_language_420pack/linker/different-bindings-shader-storage-blocks: skip spec/arb_shading_language_420pack/linker/different-bindings-shader-storage-blocks-instanced: skip spec/arb_tessellation_shader/execution/16in-1out: crash @@ -1609,44 +1557,6 @@ spec/glsl-1.50/execution/variable-indexing/gs-output-array-vec4-index-wr: crash spec/glsl-1.50/execution/variable-indexing/vs-output-array-vec2-index-wr-before-gs: fail spec/glsl-1.50/execution/variable-indexing/vs-output-array-vec3-index-wr-before-gs: fail spec/glsl-1.50/execution/variable-indexing/vs-output-array-vec4-index-wr-before-gs: fail -spec/glsl-3.30/execution/built-in-functions/fs-floatbitstoint: skip -spec/glsl-3.30/execution/built-in-functions/fs-floatbitstoint-abs: skip -spec/glsl-3.30/execution/built-in-functions/fs-floatbitstoint-neg: skip -spec/glsl-3.30/execution/built-in-functions/fs-floatbitstoint-neg_abs: skip -spec/glsl-3.30/execution/built-in-functions/fs-floatbitstouint: skip -spec/glsl-3.30/execution/built-in-functions/fs-floatbitstouint-abs: skip -spec/glsl-3.30/execution/built-in-functions/fs-floatbitstouint-neg: skip -spec/glsl-3.30/execution/built-in-functions/fs-floatbitstouint-neg_abs: skip -spec/glsl-3.30/execution/built-in-functions/fs-intbitstofloat: skip -spec/glsl-3.30/execution/built-in-functions/fs-intbitstofloat-abs: skip -spec/glsl-3.30/execution/built-in-functions/fs-intbitstofloat-neg: skip -spec/glsl-3.30/execution/built-in-functions/fs-intbitstofloat-neg_abs: skip -spec/glsl-3.30/execution/built-in-functions/fs-uintbitstofloat: skip -spec/glsl-3.30/execution/built-in-functions/vs-floatbitstoint: skip -spec/glsl-3.30/execution/built-in-functions/vs-floatbitstoint-abs: skip -spec/glsl-3.30/execution/built-in-functions/vs-floatbitstoint-neg: skip -spec/glsl-3.30/execution/built-in-functions/vs-floatbitstoint-neg_abs: skip -spec/glsl-3.30/execution/built-in-functions/vs-floatbitstouint: skip -spec/glsl-3.30/execution/built-in-functions/vs-floatbitstouint-abs: skip -spec/glsl-3.30/execution/built-in-functions/vs-floatbitstouint-neg: skip -spec/glsl-3.30/execution/built-in-functions/vs-floatbitstouint-neg_abs: skip -spec/glsl-3.30/execution/built-in-functions/vs-intbitstofloat: skip -spec/glsl-3.30/execution/built-in-functions/vs-intbitstofloat-abs: skip -spec/glsl-3.30/execution/built-in-functions/vs-intbitstofloat-neg: skip -spec/glsl-3.30/execution/built-in-functions/vs-intbitstofloat-neg_abs: skip -spec/glsl-3.30/execution/built-in-functions/vs-uintbitstofloat: skip -spec/glsl-3.30/execution/glsl-bug-109601: skip -spec/glsl-es-3.00/execution/built-in-functions/const-packsnorm2x16: skip -spec/glsl-es-3.00/execution/built-in-functions/fs-packsnorm2x16: skip -spec/glsl-es-3.00/execution/built-in-functions/fs-unpackhalf2x16: skip -spec/glsl-es-3.00/execution/built-in-functions/fs-unpacksnorm2x16: skip -spec/glsl-es-3.00/execution/built-in-functions/vs-packsnorm2x16: skip -spec/glsl-es-3.00/execution/built-in-functions/vs-packunorm2x16: skip -spec/glsl-es-3.00/execution/sanity: skip -spec/glsl-es-3.00/execution/varying-struct-copy-local-fs: skip -spec/glsl-es-3.00/execution/varying-struct-copy-uniform-vs: skip -spec/glsl-es-3.00/linker/glsl-mismatched-uniform-precision-unused: skip -spec/glsl-es-3.10/execution/cs-image-atomic-if-else: skip spec/glsl-es-3.10/execution/cs-image-atomic-if-else-2: fail spec/glsl-es-3.10/execution/vs-simple-atomic-counter-inc-dec-read: skip spec/intel_shader_atomic_float_minmax/execution/shared-atomiccompswap-float: skip @@ -1765,17 +1675,16 @@ spec/nv_viewport_array2/execution/viewport_non_relative_broadcast: skip spec/nv_viewport_array2/execution/viewport_relative_broadcast: skip spec/nv_viewport_array2/linker/mismatched_viewport_relative: skip spec/nv_viewport_swizzle/viewport_swizzle: skip -spec/oes_geometry_shader/sso_validation/user-defined-gs-input-not-in-block: skip spec/oes_viewport_array/viewport-gs-write-simple: skip spec/oes_viewport_array/viewport-gs-writes-in-range: skip spec/oes_viewport_array/viewport-gs-writes-out-of-range: skip summary: name: results ---- -------- - pass: 8255 - fail: 32 - crash: 90 - skip: 1647 + pass: 8346 + fail: 36 + crash: 93 + skip: 1549 timeout: 0 warn: 2 incomplete: 0 diff --git a/docs/features.txt b/docs/features.txt index 33b45582391..cd8ebee9fcf 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -82,33 +82,33 @@ GL 3.1, GLSL 1.40 --- all DONE: freedreno, i965, nv50, nvc0, r600, radeonsi, llv GL_EXT_texture_snorm (Signed normalized textures) DONE (panfrost, v3d) -GL 3.2, GLSL 1.50 --- all DONE: i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, swr, virgl, zink, d3d12 +GL 3.2, GLSL 1.50 --- all DONE: freedreno, i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, swr, virgl, zink, d3d12 Core/compatibility profiles DONE - Geometry shaders DONE () - GL_ARB_vertex_array_bgra (BGRA vertex order) DONE (freedreno, v3d, panfrost) - GL_ARB_draw_elements_base_vertex (Base vertex offset) DONE (freedreno, v3d, panfrost) - GL_ARB_fragment_coord_conventions (Frag shader coord) DONE (freedreno, v3d, vc4, panfrost) - GL_ARB_provoking_vertex (Provoking vertex) DONE (freedreno, v3d, vc4, panfrost) - GL_ARB_seamless_cube_map (Seamless cubemaps) DONE (freedreno, panfrost) + Geometry shaders DONE (freedreno/a6xx) + GL_ARB_vertex_array_bgra (BGRA vertex order) DONE (v3d, panfrost) + GL_ARB_draw_elements_base_vertex (Base vertex offset) DONE (v3d, panfrost) + GL_ARB_fragment_coord_conventions (Frag shader coord) DONE (v3d, vc4, panfrost) + GL_ARB_provoking_vertex (Provoking vertex) DONE (v3d, vc4, panfrost) + GL_ARB_seamless_cube_map (Seamless cubemaps) DONE (panfrost) GL_ARB_texture_multisample (Multisample textures) DONE (freedreno/a5xx+, v3d, vc4, panfrost) - GL_ARB_depth_clamp (Frag depth clamp) DONE (freedreno, panfrost) - GL_ARB_sync (Fence objects) DONE (freedreno, v3d, vc4, panfrost) + GL_ARB_depth_clamp (Frag depth clamp) DONE (panfrost) + GL_ARB_sync (Fence objects) DONE (v3d, vc4, panfrost) GLX_ARB_create_context_profile DONE -GL 3.3, GLSL 3.30 --- all DONE: i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, virgl, zink, d3d12 +GL 3.3, GLSL 3.30 --- all DONE: freedreno, i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, virgl, zink, d3d12 - GL_ARB_blend_func_extended DONE (freedreno/a3xx, swr, panfrost) + GL_ARB_blend_func_extended DONE (freedreno/a3xx, freedreno/a6xx, swr, panfrost) GL_ARB_explicit_attrib_location DONE (all drivers that support GLSL) - GL_ARB_occlusion_query2 DONE (freedreno, swr, v3d, vc4, panfrost) + GL_ARB_occlusion_query2 DONE (swr, v3d, vc4, panfrost) GL_ARB_sampler_objects DONE (all drivers) - GL_ARB_shader_bit_encoding DONE (freedreno, swr, v3d, panfrost) - GL_ARB_texture_rgb10_a2ui DONE (freedreno, swr, panfrost) - GL_ARB_texture_swizzle DONE (freedreno, swr, v3d, vc4, panfrost) - GL_ARB_timer_query DONE (freedreno, swr) - GL_ARB_instanced_arrays DONE (freedreno, swr, v3d, panfrost) - GL_ARB_vertex_type_2_10_10_10_rev DONE (freedreno, swr, v3d, panfrost) + GL_ARB_shader_bit_encoding DONE (swr, v3d, panfrost) + GL_ARB_texture_rgb10_a2ui DONE (swr, panfrost) + GL_ARB_texture_swizzle DONE (swr, v3d, vc4, panfrost) + GL_ARB_timer_query DONE (swr) + GL_ARB_instanced_arrays DONE (swr, v3d, panfrost) + GL_ARB_vertex_type_2_10_10_10_rev DONE (swr, v3d, panfrost) GL 4.0, GLSL 4.00 --- all DONE: i965/gen7+, nvc0, r600, radeonsi, llvmpipe, virgl, zink diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index 9cadd56aba7..4cb3086e177 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -7,6 +7,6 @@ Removed support for loading DRI drivers older than Mesa 8.0, including all DRI1 Add support for VK_VALVE_mutable_descriptor_type on RADV Removed classic OSMesa in favor of the newly improved gallium OSMesa VK_KHR_fragment_shading_rate on RADV (RDNA2 only) -Freedreno a6xx exposes GL 3.2 +Freedreno a6xx exposes GL 3.3 Classic swrast dri driver removed in favor of gallium swrast (llvmpipe or softpipe) Panfrost t760/t860 exposes GL 3.0 diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 9f1e6e8759d..a9cd0e21232 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -310,7 +310,7 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_GLSL_FEATURE_LEVEL: case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY: if (is_a6xx(screen)) - return 150; + return 330; else if (is_ir3(screen)) return 140; else