Mike Blumenkrantz
21082b4529
zink: force batch flush if batches are using more than 1/10 total system memory
...
this is only tracking memory used by resources referenced in the batch, but it
can be adjusted a bit if we see that we're flushing too often
fixes spec@!opengl 1.1@streaming-texture-leak hogging all system memory and ooming
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9274 >
2021-03-01 19:36:26 +00:00
Mike Blumenkrantz
330b5b351b
zink: track resource mem usage per batch
...
we want to be able to track this so we can check whether a given batch is
going wild with memory usage for resources that might be pending free once
the batch finishes
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9274 >
2021-03-01 19:36:26 +00:00
Mike Blumenkrantz
6a3e340288
zink: store total memory size on zink_screen
...
need this for oom handling
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9274 >
2021-03-01 19:36:26 +00:00
Juan A. Suarez Romero
e0b0507635
ci/broadcom: retry always when serial log timeout
...
So far we were retrying the testing (through device rebooting) if we did
not detect the boot sequence.
But found a couple of times that the serial log can also be "lost"
during the testing process. In all those times a manual retry of the job
was enough to complete the test.
Thus, let's apply the retry once automatically in this case.
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9335 >
2021-03-01 18:22:24 +00:00
Juan A. Suarez Romero
e45d372968
ci/baremetal: highlight message errors
...
Highlight in red errors from the baremetal run, so user is more aware of
what happened.
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9335 >
2021-03-01 18:22:24 +00:00
Samuel Pitoiset
97925cee8d
radv: remove useless decompression of the DS resolve attachment
...
The DS resolve attachment is the destination attachment, it doesn't
need to be decompressed before resolving the depth/stencil attachment.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9256 >
2021-03-01 18:10:35 +00:00
Rhys Perry
812dd9c9f6
nir/copy_prop: use nir_{instr,if}_rewrite_{src,condition}_ssa
...
Compile-time (nir_copy_prop):
Difference at 95.0% confidence
-2470.88 +/- 19.8762
-35.7461% +/- 0.247259%
(Student's t, pooled s = 23.4747)
Compile-time (overall):
Difference at 95.0% confidence
-2175.72 +/- 178.786
-1.73627% +/- 0.140826%
(Student's t, pooled s = 211.155)
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Connor Abbott <cwabbott0@gmail.com >
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8784 >
2021-03-01 17:38:10 +00:00
Rhys Perry
c2209d836c
nir/copy_prop: visit copies instead of sources
...
There are less copy instructions than sources, so instead of visiting each
source and rewriting it if it's uses a copy instruction, visit each copy
instruction and rewrite it's users.
Besides improving compile time, this also has a side effect of fixing a
rare situation where copy-propagation does not happen:
loop {
a = phi ..., b
c = vec ...
b = mov c.y
}
It might have been the case that a phi source could not be rewritten until
the copy was visited later.
Compile-time (nir_copy_prop):
Difference at 95.0% confidence
-2613.13 +/- 15.2094
-27.4333% +/- 0.150247%
(Student's t, pooled s = 17.963)
Comple-time (overall):
Difference at 95.0% confidence
-2627.89 +/- 201.557
-2.05404% +/- 0.156221%
(Student's t, pooled s = 238.048)
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8784 >
2021-03-01 17:38:10 +00:00
Rhys Perry
41125bff4f
nir/copy_prop: remove unused copies
...
These were hurting performance of other passes.
Compile-time (overall):
Difference at 95.0% confidence
-5496.3 +/- 219.752
-4.11912% +/- 0.160285%
(Student's t, pooled s = 259.538)
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net >
Reviewed-by: Connor Abbott <cwabbott0@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8784 >
2021-03-01 17:38:10 +00:00
Rhys Perry
ed9c3c4f19
nir: add nir_ssa_def_is_unused()
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8784 >
2021-03-01 17:38:10 +00:00
Italo Nicola
0d80dc1588
pan/mdg: prevent csel_v from being scheduled alongside writeout
...
Midgard writeout arguments need to be written to in the same bundle the
writeout happens. Both csel, csel_v and their float variants also
require their conditional to be performed on the same bundle.
This patch prevents scheduling csel the same bundle as a writeout,
fixing the scheduling issue.
But... there's still room for optimizations since in some cases it might
be possible to fit all these instructions in the same bundle.
No shader-db changes.
Signed-off-by: Italo Nicola <italonicola@collabora.com >
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9340 >
2021-03-01 17:24:06 +00:00
Alyssa Rosenzweig
4f969d796d
panfrost/lcra: Fix constraint counting
...
We need to iterate the whole row, we can't be clever and only look at
one side, the symmetry doesn't work like that. See the original paper.
total instructions in shared programs: 69392 -> 69322 (-0.10%)
instructions in affected programs: 9002 -> 8932 (-0.78%)
helped: 82
HURT: 28
Instructions are helped.
total bundles in shared programs: 32225 -> 32155 (-0.22%)
bundles in affected programs: 4286 -> 4216 (-1.63%)
helped: 82
HURT: 28
Bundles are helped.
total quadwords in shared programs: 56102 -> 56102 (0.00%)
quadwords in affected programs: 0 -> 0
helped: 0
HURT: 0
total registers in shared programs: 4552 -> 4572 (0.44%)
registers in affected programs: 298 -> 318 (6.71%)
helped: 18
HURT: 38
Registers are HURT.
total threads in shared programs: 3772 -> 3775 (0.08%)
threads in affected programs: 84 -> 87 (3.57%)
helped: 15
HURT: 14
Inconclusive result (value mean confidence interval includes 0).
total spills in shared programs: 0 -> 0
spills in affected programs: 0 -> 0
helped: 0
HURT: 0
total fills in shared programs: 0 -> 0
fills in affected programs: 0 -> 0
helped: 0
HURT: 0
Fixes: 66ad64d73d
("pan/midgard: Implement linearly-constrained register allocation")
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9338 >
2021-03-01 17:09:58 +00:00
Mike Blumenkrantz
0c18454e8b
zink: track all framebuffers per batch
...
now that 1 batch != 1 renderpass, this needs to be a set
Fixes: 1cb3015a31
("zink: just end the current renderpass in zink_batch_no_rp()")
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9298 >
2021-03-01 16:59:24 +00:00
Mike Blumenkrantz
b9cb1cae43
zink: handle null src for fb refs
...
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9298 >
2021-03-01 16:59:24 +00:00
Mike Blumenkrantz
4db4616bd1
zink: add more usage bits for buffer resource creation
...
gallium doesn't give us enough info here, so yolo
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9197 >
2021-03-01 16:48:17 +00:00
Mike Blumenkrantz
b2cf50ed6d
zink: don't start renderpasses during descriptor update
...
this is unnecessary
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9292 >
2021-03-01 16:37:08 +00:00
Bas Nieuwenhuizen
ff99faf0cf
radv: Add nodisplaydcc option.
...
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9318 >
2021-03-01 14:42:41 +00:00
Bas Nieuwenhuizen
3c9452c3ae
radv: Add sam option.
...
So that people without large BAR can try this out.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9318 >
2021-03-01 14:42:41 +00:00
Iago Toral Quiroga
8a60bde0cf
v3dv: fix branching to large secondaries with more than one BCL buffer.
...
Fixes:
dEQP-VK.api.command_buffers.record_many_draws_secondary_*
Tested-by: Juan A. Suarez <jasuarez@igalia.com >
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9333 >
2021-03-01 15:16:45 +01:00
Bas Nieuwenhuizen
0360ecac73
radv: Enable linear sampling for depth textures.
...
Turns out there are CTS tests.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4258
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9319 >
2021-03-01 13:14:09 +00:00
Samuel Pitoiset
56bff270fe
radeonsi,radv: do not overallocate the SQTT buffer size
...
The number of shader engines isn't always 4.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9307 >
2021-03-01 13:13:36 +01:00
Samuel Pitoiset
24f015eddc
Revert "radv: do not overallocate the SQTT buffer"
...
This fixes computing the thread trace data offset.
This reverts commit c7e6f4ff3d
.
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9307 >
2021-03-01 13:09:15 +01:00
Samuel Pitoiset
6b53f7f969
radv: exclude perf counters for SQTT also on GFX10.3
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9300 >
2021-03-01 11:20:19 +00:00
Samuel Pitoiset
859dbf953d
radv: fix exporting SQTT pipelines with LLVM
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9300 >
2021-03-01 11:20:19 +00:00
Samuel Pitoiset
d26bcc0f5c
radv: always select the first active CU when profiling with SQTT
...
This probably fixes instruction tracing on many chips.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9300 >
2021-03-01 11:20:19 +00:00
Samuel Pitoiset
b511bf262d
radv: remove duplicate REG_INCLUDE_CONTEXT setting for SQTT
...
It was set twice.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9300 >
2021-03-01 11:20:19 +00:00
Andreas Bergmeier
b4772d15ab
v3dv: Output a message if file open fails in physical_device_init
...
In the caller, this error simply gets mapped to VK_ERROR_INIT[...].
Especially for users it is very valuable to know what the driver
tried and what kind of failure occured. Thus just straight out log
to stderr.
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9317 >
2021-03-01 09:25:21 +00:00
Tapani Pälli
55e23f32c3
gitlab-ci: bump piglit commit for windows
...
Signed-off-by: Tapani Pälli <tapani.palli@intel.com >
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8520 >
2021-03-01 08:23:58 +00:00
Tapani Pälli
2683e3b241
mesa: add check that non base level attachment is mipmap complete
...
Patch adds a check for mipmap completeness of framebuffer object texture
attachments. Since a glTexImage call might have updated miplevels
meanwhile, we test the completeness before setting framebuffer object
incomplete.
Fixes some upcoming framebuffer completeness CTS tests that explicitly
test case where we have mipmap incomplete non base level texture which
should make also framebuffer object incomplete. After update to the
texture it should make framebuffer object complete again.
Signed-off-by: Tapani Pälli <tapani.palli@intel.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8520 >
2021-03-01 08:23:58 +00:00
Jordan Justen
a1e9a5d653
i965: Call util_cpu_detect() early in screen creation
...
This helps to avoid this assertion in debug builds:
src/util/u_cpu_detect.h:116: util_get_cpu_caps: Assertion `util_cpu_caps.nr_cpus >= 1' failed.
Fixes: a9618e7c42
("util: Add accessor for util_cpu_caps")
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9325 >
2021-02-28 23:12:00 -08:00
Greg V
09bddd6ceb
meson: Add missing lavapipe dep
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7620 >
2021-03-01 09:03:29 +10:00
Bas Nieuwenhuizen
f96a8c7819
frontends/va: Use correct size for secondary planes.
...
And initialize the whandle format while at it.
Fixes: f7a4051b83
("radeonsi: Check pitch and offset for validity.")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4126
Reviewed-by: Simon Ser <contact@emersion.fr >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9236 >
2021-02-28 18:35:41 +00:00
Simon Ser
364857ffe8
radeonsi/uvd: make format modifiers-aware
...
When format modifiers are supported, use
resource_create_with_modifiers instead of resource_create. This
allows radeonsi to set the modifier field, and allows VA-API
clients to have a proper modifier instead of
DRM_FORMAT_MOD_INVALID.
Signed-off-by: Simon Ser <contact@emersion.fr >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9308 >
2021-02-28 18:21:29 +00:00
Pierre Moreau
f1207229f9
docs/features: Add OpenCL status
...
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/142
Signed-off-by: Pierre Moreau <dev@pmoreau.org >
Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4979 >
2021-02-28 14:59:30 +00:00
Andres Gomez
3d3f21f0be
ci: add libdrm to the x86_test-vk container
...
Fixes: 5d0ba8b183
(ci: Split building of libdrm to its own script)
Signed-off-by: Andres Gomez <agomez@igalia.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9102 >
2021-02-28 12:51:14 +02:00
Andrii Simiklit
39ea95330f
mesa: ensure parameter list capacity before associating uniform storage
...
We have to reserve at lease 16 program parameters in storage to
avoid its reallocation.
v2: move allocation to `st_deserialise_ir_program` and add helper for that
( Eric Anholt <eric@anholt.net > )
v3 amend comments a bit
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4352
Reviewed-by: Eric Anholt <eric@anholt.net >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Signed-off-by: Andrii Simiklit <andrii.simiklit@globallogic.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9282 >
2021-02-28 05:55:50 +00:00
Lionel Landwerlin
0a7224f3ff
anv: group as many command buffers into a single execbuf
...
When semaphores are not involved, try to batch things up as much as
possible across VkSubmitInfo and also batch command buffers within a
VkSubmitInfo.
v2: Reuse anv_cmd_buffer_is_chainable()
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2371 >
2021-02-27 17:14:25 +02:00
Lionel Landwerlin
83fee30e85
anv: allow multiple command buffers in anv_queue_submit
...
v2: Fixup crash spotted by Mark about missing alloc vfuncs
v3: Fixup double iteration over device->memory_objects (that ought to
be expensive...) (Ken)
v4: Add more asserts for non-softpin cases (Ken)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2371 >
2021-02-27 17:13:32 +02:00
Lionel Landwerlin
882fc72442
anv: end command buffer with a potential jump
...
We would like to chain multiple primary command buffer to be submitted
together to i915. For prepare this, add end the command buffers with a
MI_BATCH_BUFFER_START and at submit time, replace it with
MI_BATHC_BUFFER_END if needed.
v2: Don't even consider non softpin platforms
v3: Fix inverted condition
v4: Limit is_chainable() to checking device->use_softpin (Jason)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2371 >
2021-02-27 13:29:07 +02:00
Lionel Landwerlin
8446f4733f
anv: track the end of the command buffers
...
Where MI_BATCH_BUFFER_END is recorded.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2371 >
2021-02-27 13:29:07 +02:00
Lionel Landwerlin
38f6c09086
anv: make use of new helper function directly in anv_QueueSubmit()
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2371 >
2021-02-27 13:29:06 +02:00
Bas Nieuwenhuizen
f67259d83b
radv: Expose robustBufferAccessUpdateAfterBind correctly.
...
We do support it.
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4351
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9281 >
2021-02-26 23:53:52 +00:00
Marek Olšák
f8c4c46cd3
mesa: skip a subset of _mesa_update_state if no relevant flags are set
...
We only need to check 12 out of 32 flags.
Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com >
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8850 >
2021-02-26 23:38:02 +00:00
Marek Olšák
ebef43e248
mesa: don't update tnl spaces on irrelevant _NEW_POINT/TEXTURE_STATE changes
...
Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com >
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8850 >
2021-02-26 23:38:02 +00:00
Marek Olšák
ed37c4d350
mesa: don't update the fixed-func frag prog on irrelevant _NEW_COLOR changes
...
Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com >
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8850 >
2021-02-26 23:38:02 +00:00
Marek Olšák
944e6274d6
mesa: don't update fixed-func programs on irrelevant _NEW_RENDER_MODE changes
...
The fixed-func vertex program uses it too, which was ignored. This commit
fixes it.
Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com >
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8850 >
2021-02-26 23:38:02 +00:00
Marek Olšák
6302ffeda4
mesa: don't update fixed-func programs on irrelevant _NEW_FOG changes
...
Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com >
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8850 >
2021-02-26 23:38:02 +00:00
Marek Olšák
15580e85cc
mesa: don't update fixed-func programs on irrelevant _NEW_POINT changes
...
Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com >
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8850 >
2021-02-26 23:38:02 +00:00
Marek Olšák
9fa766adbe
mesa: don't update fixed-func vert prog on irrelevant _NEW_TRANSFORM changes
...
Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com >
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8850 >
2021-02-26 23:38:02 +00:00
Marek Olšák
ec978e002f
mesa: only update fixed-func programs on texture matrix enablement changes
...
This should reduce fixed-func program key recomputations.
I also update the fixed-func fragment program, which was incorrectly
ignored because it's clearly used there.
Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com >
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8850 >
2021-02-26 23:38:02 +00:00