Axel Davy
0beb77751e
st/nine: Add driconf option to limit texture memory
...
Signed-off-by: Axel Davy <davyaxel0@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9377 >
2021-03-07 13:13:53 +00:00
Axel Davy
24eb1f21d0
st/nine: Control the memfd virtual limit
...
Signed-off-by: Axel Davy <davyaxel0@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9377 >
2021-03-07 13:13:53 +00:00
Axel Davy
a179ea2e6d
st/nine: Use the texture memory helper
...
Switch to the new texture RAM memory API.
Signed-off-by: Axel Davy <davyaxel0@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9377 >
2021-03-07 13:13:53 +00:00
Axel Davy
90a7573a65
st/nine: Add RAM memory manager for textures
...
On 32 bits, virtual memory is sometimes too short for apps.
Textures can hold virtual memory 3 ways:
1) MANAGED textures have a RAM copy of any texture
2) SYSTEMMEM is used to have RAM copy of DEFAULT textures
(to upload them for example)
3) Textures being mapped.
Nine cannot do much for 3). It's up to driver to really unmap textures
when possible on 32 bits to reduce virtual memory usage.
It's not clear whether on Windows anything special is done for
1) and 2). However there is clear indication some efforts have
been done on 3) to really unmap when it makes sense.
My understanding is that other implementations reduce the usage
of 1) by deleting the RAM copy once the texture is uploaded
(Dxvk's behaviour is controlled by evictManagedOnUnlock).
The obvious issue with that approach is whether the texture is
read by the application after some time. In that case,
we have to recreate the RAM backing from the GPU buffer.
And apps DO that. Indeed I found that for example Mass Effect 2
with High Texture mods (one of the crash case fixed by this patch serie),
When the character gets close to an object, a high res texture and replaces
the low res one. The high res one simply has more levels, and the game seems
to optimize reading the high res texture by retrieving the small-resolution
levels from the original low res texture.
In other words during gameplay, the game will randomly read MANAGED textures.
This is expected to be fast as the data is supposed to be in RAM...
Instead of taking that RAM copy eviction approach, this patchset
proposes a different approach: storing in memfd and release the
virtual memory until needed.
Basically instead of using malloc(), we create a memfd file
and map it. When the data doesn't seem to be accessed anymore,
we can unmap the memfd file.
If the data is needed, the memfd file is mapped again.
This trick enables to allocate more than 4GB on 32 bits apps.
The advantage of this approach over the RAM eviction one,
is that the load is much faster and doesn't block the GPU.
Of course we have problems if there's not enough memory to map the
memfd file. But the problem is the same for the RAM eviction approach.
Naturally on 64 bits, we do not use memfd.
Signed-off-by: Axel Davy <davyaxel0@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9377 >
2021-03-07 13:13:53 +00:00
Axel Davy
6087ff44ae
st/nine: Add new function to know if we are the worker
...
This will be useful in a later patch
Signed-off-by: Axel Davy <davyaxel0@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9377 >
2021-03-07 13:13:53 +00:00
Ilia Mirkin
fd017458bc
mesa: fix fbo attachment size check for RBs, make it trigger in ES2
...
Makes dEQP-GLES2.functional.fbo.completeness.size.distinct pass.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9441 >
2021-03-06 20:29:41 +00:00
Ilia Mirkin
a8044e87e7
mesa: fix conditions for fp16 render format eligibility
...
GLES3 adds all of these, but they're also available in GLES2 with an
ext.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4400
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9441 >
2021-03-06 20:29:41 +00:00
Karol Herbst
12f1e42ed3
tegra/context: unwrap indirect_draw_count as well
...
Fixes: 22f6624ed3 "gallium: separate indirect stuff from pipe_draw_info - 80 -> 56 bytes"
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9425 >
2021-03-06 11:48:57 +00:00
Karol Herbst
a84c8ddb19
tegra/context: fix regression in tegra_draw_vbo
...
We should only pass in a new indirect_info object if we actually set valid
values in it.
Fixes: abe8ef862f "gallium: make pipe_draw_indirect_info * a draw_vbo parameter"
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9425 >
2021-03-06 11:48:57 +00:00
Icecream95
efd7711e0e
st/mesa: Update constants on alpha test change if it's lowered
...
nir_lower_alpha_test creates a uniform for the alpha reference value;
this needs to be updated when changing alpha test state.
Fixes: b1c4c4c7f5 ("mesa/gallium: automatically lower alpha-testing")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4390
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9439 >
2021-03-06 00:32:51 +00:00
Dave Airlie
24ce0862fe
zink/ci: update results after layer extensions enabled in lavapipe
...
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9401 >
2021-03-05 21:43:59 +00:00
Dave Airlie
d061e21b7e
lavapipe: enable EXT_shader_viewport_index_layer
...
This is already implemented afaik
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9401 >
2021-03-05 21:43:59 +00:00
Dave Airlie
dad5d5099a
llvmpipe: add support for shader viewport layer
...
This should already be implemented just never enabled the CAP
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9401 >
2021-03-05 21:43:59 +00:00
Dave Airlie
4cf898b988
draw/prim_assembler: write correct decomposed primitive lengths
...
In order for shader viewport index to be calculated correctly,
the cliptest code needs proper primitive lengths to work out
the provoking vertex. I half fixed this before for GL4 but looks
like I didn't make it all the way.
This fixes:
dEQP-VK.draw.shader_viewport*
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9401 >
2021-03-05 21:43:59 +00:00
Dave Airlie
52dc22055f
draw: fix uses viewport index for tess eval shader
...
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9401 >
2021-03-05 21:43:59 +00:00
Kenneth Graunke
cdffa3e114
vbo: Fix vbo_sw_primitive_restart for start > 0
...
Commit e99e7aa4 began passing start > 0 to indexed draw calls rather
than keeping start at 0 and manually advancing ib->ptr. This should
work fine, however, there have been instances of software fallbacks
not handling things right.
vbo_sw_primitive_restart had a bug where it was ignoring "start" and
always calling find_sub_primitives with start = 0 and end = ib->count.
This meant that when start > 0, it was analyzing the wrong part of the
index buffer when finding subprimitives.
In theory, each _mesa_prim can have a different "start" value. But
the code only calls find_sub_primitives once, because it wants to
map, analyze, and unmap the index buffer before calling ctx->Draw,
as some drivers don't support drawing with the index buffer mapped.
To handle this, we break vbo_sw_primitive_restart calls into sections
where "start" matches across all the primitives, similar to how I
handled the issue in tnl in commit bd6120f562 .
In the common case, start matches and we handle it in one pass anyway.
Fixes Piglit's primitive-restart VBO_COMBINED_VERTEX_AND_INDEX test
and KHR-GL33.pipeline_statistics_query_tests_ARB.functional_primitives_vertices_submitted_and_clipping_input_output_primitives
on Intel Ivybridge and older (which don't do arbitrary cut indices).
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4052
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9417 >
2021-03-05 21:16:32 +00:00
Adam Jackson
cf468b7ad8
zink: more and better debug printfs
...
Use debug_printf more consistently, normalize formatting a bit, and
trace a few more places you're likely to care about.
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9436 >
2021-03-05 15:03:09 -05:00
Gert Wollny
f3aa2f15c2
r600/sfn: eliminate loading unused component loads from shared memory
...
LDS loads are quite expensive, so try to eliminate as many as possible
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9416 >
2021-03-05 18:25:25 +00:00
Rhys Perry
9f8a0b797e
radv: cache pipeline statistics
...
Applications rarely require them, but this improves fossil-db replay time.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9411 >
2021-03-05 17:01:16 +00:00
Rhys Perry
7c7e8942f8
radv,aco: remove aco_compiler_statistics
...
This removes a pointer from radv_shader_binary_legacy::data.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9411 >
2021-03-05 17:01:16 +00:00
Andres Gomez
b4d1764b46
.mailmap: resolve duplicates for Yogesh Mohan Marimuthu
...
Signed-off-by: Andres Gomez <agomez@igalia.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8837 >
2021-03-05 16:35:07 +00:00
Andres Gomez
4752ef5039
.mailmap: resolve duplicates for Satyeshwar Singh
...
Signed-off-by: Andres Gomez <agomez@igalia.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8837 >
2021-03-05 16:35:07 +00:00
Andres Gomez
8481d5f4d0
.mailmap: resolve duplicates for Mun Gwan-gyeong
...
Signed-off-by: Andres Gomez <agomez@igalia.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8837 >
2021-03-05 16:35:07 +00:00
Andres Gomez
cc1da67fd1
.mailmap: resolve duplicates for Maya Rashish
...
Signed-off-by: Andres Gomez <agomez@igalia.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8837 >
2021-03-05 16:35:07 +00:00
Andres Gomez
a3d4c48597
.mailmap: resolve duplicates for Matthias Lorenz
...
Signed-off-by: Andres Gomez <agomez@igalia.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8837 >
2021-03-05 16:35:07 +00:00
Andres Gomez
abd9b0d7d8
.mailmap: resolve duplicates for Matthias Hopf
...
Signed-off-by: Andres Gomez <agomez@igalia.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8837 >
2021-03-05 16:35:07 +00:00
Andres Gomez
4fd9f4beb6
.mailmap: resolve duplicates for Mark Menzynski
...
Signed-off-by: Andres Gomez <agomez@igalia.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8837 >
2021-03-05 16:35:07 +00:00
Andres Gomez
00aefdfea6
.mailmap: resolve duplicates for Lin Johnson
...
Signed-off-by: Andres Gomez <agomez@igalia.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8837 >
2021-03-05 16:35:07 +00:00
Andres Gomez
028ae10694
.mailmap: resolve duplicates for Jan Zielinski
...
Signed-off-by: Andres Gomez <agomez@igalia.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8837 >
2021-03-05 16:35:07 +00:00
Andres Gomez
6c9660e424
.mailmap: resolve duplicates for James Xiong
...
Signed-off-by: Andres Gomez <agomez@igalia.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8837 >
2021-03-05 16:35:07 +00:00
Andres Gomez
64b415d96c
.mailmap: resolve duplicates for Indrajit Das
...
Signed-off-by: Andres Gomez <agomez@igalia.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8837 >
2021-03-05 16:35:07 +00:00
Andres Gomez
75f5fc3435
.mailmap: resolve duplicates for Emmanuel Vadot
...
Signed-off-by: Andres Gomez <agomez@igalia.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8837 >
2021-03-05 16:35:07 +00:00
Andres Gomez
cd4dfc157b
.mailmap: resolve duplicates for Christopher Li
...
Signed-off-by: Andres Gomez <agomez@igalia.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8837 >
2021-03-05 16:35:07 +00:00
Andres Gomez
9e34049e46
.mailmap: resolve duplicates for Icecream95
...
Signed-off-by: Andres Gomez <agomez@igalia.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8837 >
2021-03-05 16:35:07 +00:00
Andres Gomez
bd8193fb4c
.mailmap: colapse duplicates for Timothy Arceri
...
Signed-off-by: Andres Gomez <agomez@igalia.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8837 >
2021-03-05 16:35:07 +00:00
Lionel Landwerlin
8955d179d3
anv: fix MI_PREDICATE_RESULT write
...
This register is only 32bits.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Fixes: 1952fd8d2c ("anv: Implement VK_EXT_conditional_rendering for gen 7.5+")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9428 >
2021-03-05 16:19:20 +00:00
Alyssa Rosenzweig
718bfdb3da
pan/bi: Implement fsin/fcos
...
Instead of lowering it in NIR, use the lookup tables as inputs to a
second-order Taylor expansion. shader-db results aren't amazing but keep
in mind this is without backend CSE yet.
total instructions in shared programs: 115913 -> 115707 (-0.18%)
instructions in affected programs: 3151 -> 2945 (-6.54%)
helped: 12
HURT: 0
Instructions are helped.
total nops in shared programs: 84045 -> 84041 (<.01%)
nops in affected programs: 1571 -> 1567 (-0.25%)
helped: 1
HURT: 7
Inconclusive result (value mean confidence interval includes 0).
total clauses in shared programs: 20498 -> 20489 (-0.04%)
clauses in affected programs: 188 -> 179 (-4.79%)
helped: 6
HURT: 0
Clauses are helped.
total quadwords in shared programs: 90395 -> 90291 (-0.12%)
quadwords in affected programs: 2287 -> 2183 (-4.55%)
helped: 12
HURT: 0
Quadwords are helped.
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9420 >
2021-03-05 15:15:10 +00:00
Alyssa Rosenzweig
253b795451
pan/bi: Allow negating constants
...
Useful for representing -0 in transcendental sequences matching the
blob.
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9420 >
2021-03-05 15:15:10 +00:00
Alyssa Rosenzweig
362756ad09
pan/bi: Use replace_index in more places
...
Needed to respect abs/neg.
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9420 >
2021-03-05 15:15:10 +00:00
Pierre-Eric Pelloux-Prayer
c276bde34a
radeonsi/sqtt: export shader code to RGP
...
With these changes the shader code is visible in RGP.
Vk pipeline feature is emulated using si_update_shaders: when shaders are
updated we compute a sha1 of their code and use it as a pipeline hash.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9277 >
2021-03-05 13:10:11 +00:00
Pierre-Eric Pelloux-Prayer
729d3eb0e0
radeonsi/sqtt: don't always use WGP 0
...
Because it may be disabled. Instead use the cu mask to
pick the first active WGP.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9277 >
2021-03-05 13:10:11 +00:00
Pierre-Eric Pelloux-Prayer
47eafb3f51
radeonsi/sqtt: remove duplicate token
...
V_008D18_REG_INCLUDE_CONTEXT was set twice.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9277 >
2021-03-05 13:10:11 +00:00
Pierre-Eric Pelloux-Prayer
a27ea38d2a
radeonsi/sqtt: keep a copy of the uploaded shader code
...
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9277 >
2021-03-05 13:10:11 +00:00
Pierre-Eric Pelloux-Prayer
7f5a8db96d
ac/rgp: move radv/sqtt functions to ac
...
pso_correlation and code_object_loader don't depend on drivers
specific logic so move them to the shared code.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9277 >
2021-03-05 13:10:11 +00:00
Pierre-Eric Pelloux-Prayer
b2ef94943f
ac/rtld: make ac_rtld_upload returns the code size
...
This will be useful to keep a copy of the uploaded code.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9277 >
2021-03-05 13:10:11 +00:00
Pierre-Eric Pelloux-Prayer
e5b1e645e7
ac/rgp: make the max gap between shader code a warning
...
For radeonsi the shaders don't live in the same BOs, so they're
unlikely to be less that 0x1000 bytes apart.
So this commit bumps the threshold to 0x10000 and warns once
when hitting it.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9277 >
2021-03-05 13:10:11 +00:00
Pierre-Eric Pelloux-Prayer
0e97d817f5
radeonsi: properly set SPI_SHADER_PGM_HI_ES
...
When not using S_00B324_MEM_BASE the value isn't properly truncated.
Cc: mesa-stable
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9277 >
2021-03-05 13:10:11 +00:00
Iago Toral Quiroga
6e6e71ddf9
broadcom/compiler: fix flags check for ldvary merge
...
We were checking that the previous instruction doesn't write flags,
but we also need to check it doesn't read them.
Fixes: 1784dd22a3 ('broadcom/compiler: pipeline smooth ldvary sequences')
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9431 >
2021-03-05 12:55:47 +00:00
Iago Toral Quiroga
21c1853c55
broadcom/compiler: ldvary doesn't implicitly write to r3 since V3D 4.1
...
total instructions in shared programs: 13805979 -> 13786037 (-0.14%)
instructions in affected programs: 2263244 -> 2243302 (-0.88%)
helped: 10646
HURT: 1508
Instructions are helped.
total threads in shared programs: 412220 -> 412242 (<.01%)
threads in affected programs: 58 -> 80 (37.93%)
helped: 17
HURT: 6
Threads are helped.
total uniforms in shared programs: 3793200 -> 3790401 (-0.07%)
uniforms in affected programs: 131281 -> 128482 (-2.13%)
helped: 1547
HURT: 281
Uniforms are helped.
total max-temps in shared programs: 2326309 -> 2324834 (-0.06%)
max-temps in affected programs: 31836 -> 30361 (-4.63%)
helped: 1139
HURT: 153
Max-temps are helped.
total spills in shared programs: 5932 -> 5940 (0.13%)
spills in affected programs: 80 -> 88 (10.00%)
helped: 2
HURT: 3
total fills in shared programs: 13370 -> 13372 (0.01%)
fills in affected programs: 480 -> 482 (0.42%)
helped: 2
HURT: 3
total sfu-stalls in shared programs: 30829 -> 30685 (-0.47%)
sfu-stalls in affected programs: 2190 -> 2046 (-6.58%)
helped: 570
HURT: 533
Sfu-stalls are helped.
total inst-and-stalls in shared programs: 13836808 -> 13816722 (-0.15%)
inst-and-stalls in affected programs: 2276152 -> 2256066 (-0.88%)
helped: 10643
HURT: 1525
Inst-and-stalls are helped.
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9430 >
2021-03-05 13:37:39 +01:00
Rhys Perry
524848707b
radv: don't set sx_blend_opt_epsilon for V_028C70_COLOR_10_11_11
...
Matches radeonsi and PAL. From PAL:
// 1 is recommended, but doesn't provide sufficient precision
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4394
Fixes: ed94638156 ("radv: Enable RB+ where possible.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9427 >
2021-03-05 11:16:40 +00:00