diff options
author | Eric Anholt <eric@anholt.net> | 2019-12-31 16:20:52 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2020-10-20 08:54:06 -0700 |
commit | d0f8fe5909107aa342f62813ced9ce535ed6da32 (patch) | |
tree | a55c6d91c0f525f61659729c95d1970b045fb943 /.gitlab-ci | |
parent | 6444f5702dcac87c41e9c7af66c1762c7a48f3a0 (diff) |
softpipe: Switch to using NIR as the shader format from mesa/st.
This causes our TGSI to use far more temps, since NTT is currently not
releasing temps from registers. On the other hand, this interpreter is
already spectacularly slow, and if we wanted to go fast we should probably
write a scalar NIR intrepeter.
For now, using NTT means that we test that codepath in preparation for
switching TGSI-consuming HW drivers over, so that we can eventually
garbage collect st_glsl_to_tgsi.
As this is a major restructuring, there are some impacts on piglit:
- Several tests start assert failing about 64-bit NIR registers for temp
arrays not getting split to vec2s:
- fs-frexp-dvec4-variable-index.shader_test
- arb_gpu_shader_fp64/uniform_buffers/{vs,fs,gs}-array-copy.shader_test
- arb_gpu_shader_int64/execution/indirect-array-two-accesses.shader_test
- dEQP-GLES31.functional.primitive_bounding_box.wide_points.global_state.vertex_geometry_fragment.fbo_bbox_larger
starts crashing depending on various bits of state (previous tests run
before it, presence of valgrind, presence of glib's memcheck). Doesn't
seem really NTT-specific, added to flakes list with other GS flakes.
- Almost 200 fp64/int64-related tests start passing, mostly around i/o loayout.
shader-db:
total instructions in shared programs: 3492656 -> 3081674 (-11.77%)
total loops in shared programs: 1418 -> 1387 (-2.19%)
total temps in shared programs: 340041 -> 615527 (81.02%)
total const in shared programs: 3158970 -> 1528630 (-51.61%)
total imm in shared programs: 117586 -> 101349 (-13.81%)
Total CPU time (seconds): 430.36 -> 900.94 (109.35%)
FPS results:
glmark2 texture +7.32484% +/- 3.76528% (n=10)
glmark2 desktop:effect=shadow +20% +/- 0% (n=10)
glmark2 shadow +6.49351% +/- 3.65335% (n=7)
glmark2 conditionals +18.75% +/- 2.74658% (n=9)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3395>
Diffstat (limited to '.gitlab-ci')
-rw-r--r-- | .gitlab-ci/deqp-softpipe-skips.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci/deqp-softpipe-skips.txt b/.gitlab-ci/deqp-softpipe-skips.txt index 44e6bae0879..45e967be607 100644 --- a/.gitlab-ci/deqp-softpipe-skips.txt +++ b/.gitlab-ci/deqp-softpipe-skips.txt @@ -19,6 +19,7 @@ dEQP-GLES31.functional.shaders.linkage.es31.geometry.uniform.types.uvec4 dEQP-GLES31.functional.shaders.linkage.es31.geometry.varying.types.uvec4 dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.const_expression.geometry.usampler3d dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.dynamically_uniform.geometry.sampler2darray +dEQP-GLES31.functional.primitive_bounding_box.wide_points.global_state.vertex_geometry_fragment.fbo_bbox_larger # This one is really slow and can time out (~56 seconds locally) KHR-GL33.texture_swizzle.smoke |