URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=60423a47d9184dd690d7a504c95962ddb3b4b0a0
Author: Mauro Rossi <[email protected]>
Date: Tue Feb 23 21:50:18 2021 +0100
android: pan/bi: reorder static dependencies in gallium/dri
libpanfrost_lib depends on libpanfrost_bifrost for
'bifrost_compile_shader_nir' symbol
libpanfrost_lib depends on libpanfrost_bifrost_disasm for
'disassemble_bifrost' symbol
LOCAL_STATIC_LIBRARIES requires proper ordering to make the symbols
available
Fixes the following building error happening with Android P:
FAILED:
out/target/product/x86_64/obj/SHARED_LIBRARIES/gallium_dri_intermediates/LINKED/gallium_dri.so
external/mesa/src/panfrost/lib/decode.c:534: error: undefined reference to
'disassemble_bifrost'
external/mesa/src/panfrost/lib/pan_shader.c:145: error: undefined reference
to 'bifrost_compile_shader_nir'
Cc: 20.3 21.0 <[email protected]>
Fixes: 166630f ("android: pan/bi: Separate disasm/compiler targets")
Acked-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9265>
(cherry picked from commit 97b7786e6be1adf5e023d3ebd1fe54bf25d3fd26)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=99452d50b7544acb3325222c164dbf17bd74d92d
Author: Samuel Pitoiset <[email protected]>
Date: Wed Feb 24 13:05:26 2021 +0100
radv: do not scale the depth bias for D16_UNORM depth surfaces
Scaling the depth bias doesn't seem correct with Vulkan. This is
probably the root cause of the shadow artifacts differences between
RADV and AMDVLK/AMDGPU-PRO.
Fix dEQP-VK.rasterization.depth_bias.d16_unorm.
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2217
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9249>
(cherry picked from commit 8a47422d9778056b2263d5f253fab49dfed91486)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=98c0dc87ecd33d256b59057c7a64f98c754cbdf7
Author: Marek Olšák <[email protected]>
Date: Tue Feb 23 10:44:36 2021 -0500
nouveau_vieux: use align_calloc for the context to fix m32 crashes
Fixes: 3175b63a0dfa290 "mesa: don't allocate matrices with malloc"
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Zoltán Böszörményi <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9220>
(cherry picked from commit f827b29234cb3dfa4ff07adbcf1550fd53e0a573)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=292e3c464ab0f49e3d9eeb5aeac2c5e76c8a0054
Author: Marek Olšák <[email protected]>
Date: Tue Feb 23 10:44:36 2021 -0500
radeon,r200: use align_calloc for the context to fix m32 crashes
Fixes: 3175b63a0dfa290 "mesa: don't allocate matrices with malloc"
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Zoltán Böszörményi <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9220>
(cherry picked from commit 81cf4bef7e83fe3174503d48b458f8596420fdd7)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=44c97431a81d58253eae2ee9360e1fb6bb6f20c7
Author: Marek Olšák <[email protected]>
Date: Tue Feb 23 10:44:36 2021 -0500
i915: use align_calloc for the context to fix m32 crashes
Fixes: 3175b63a0dfa290 "mesa: don't allocate matrices with malloc"
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4295
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Zoltán Böszörményi <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9220>
(cherry picked from commit 75d5c1229e1fcc0e0885b35a1cc23e66a90aeb84)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a1a8ddb186fb6f24e26913be702032a3c29529c
Author: Lionel Landwerlin <[email protected]>
Date: Mon Feb 22 18:41:24 2021 +0200
anv: Fix wait_count missing increment
If we don't wait on anything, I bet it makes the QueuePresent faster,
but also completely wrong...
Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: 02f94c33066eff ("anv: don't wait for completion of work on
vkQueuePresent()")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4276
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9211>
(cherry picked from commit b0b1bf9957380ad967e900b40027668353b71df6)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=35097e678db90185d06ae2f396088c794a6c4dcd
Author: Rhys Perry <[email protected]>
Date: Mon Feb 22 15:05:32 2021 +0000
aco/lower_phis: fix all_preds_uniform with continue_or_break
Found in a Death Stranding shader with loop unrolling disabled.
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Daniel Schürmann <[email protected]>
Fixes: 9a089baff1a ("aco: optimize boolean phis with uniform selections")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9193>
(cherry picked from commit 75c9adf0398014b21ed9bbbd36f741b02b8f87f7)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7da23fe7db1b60229be98c9e67651e3da723e558
Author: Lionel Landwerlin <[email protected]>
Date: Mon Feb 22 18:41:24 2021 +0200
anv: don't wait for completion of work on vkQueuePresent()
Another mistake which is that we don't use the right wait API.
Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: 829699ba632b2b ("anv: implement shareable timeline semaphores")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4276
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9188>
(cherry picked from commit 02f94c33066eff9e5de2077230affab1a1f3d063)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=219f2a834eae2f6c3f644702a4c3ba2196a3c1da
Author: Lionel Landwerlin <[email protected]>
Date: Mon Feb 22 13:57:37 2021 +0200
anv: reset binary syncobj to be signaled before submission
Before we introduced the submission thread in 829699ba632b2b, once we
returned from vkQueueSubmit, all signaled syncobj would have a
i915_request/dma-fence waiting to be signaled by some work that would
submitted to HW by i915.
After this submission thread that is no longer the case. We added a
few checks in places like vkQueuePresentKHR() to wait for the binary
semaphores to materialize before we would hand things over to the WSI
code.
Unfortunately 829699ba632b2b forgot to reset the signaled binary
semaphore.
Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: 829699ba632b2b ("anv: implement shareable timeline semaphores")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4276
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9188>
(cherry picked from commit cb74cd816c0a0b1d6a715585414f8518cefbba5a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b012f2d0b6768f18d962addd83e671e46e323d29
Author: Jeremy Huddleston Sequoia <[email protected]>
Date: Sat Jan 30 13:10:12 2021 -0800
Adjust dylib compatibility versions to match what was set by mesa-18.3's
autotools-based builds
Cc: 20.3 21.0 <[email protected]>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4113
Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8796>
(cherry picked from commit 38ae84b8daa1c2bc2f74093cf46ced5e252b04e5)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a84ad90229b895cffec9900f11084db6b4fffba
Author: Dave Airlie <[email protected]>
Date: Mon Feb 22 15:57:01 2021 +1000
glx: proposed fix for setSwapInterval
When mesa gets a DRI2 1.1 connection (as experienced with
vmwware DDX) we don't get a pointer for this.
Don't explode just keep going.
Fixes: 60ebeb4608a8 ("glx: Implement GLX_EXT_swap_control for DRI2 and
DRI3")
Reviewed-by: Adam Jackson <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9184>
(cherry picked from commit 279d1705525026c15e7cae88f8fa752046db1c19)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb23703445647877079c304a8405e73c84ec2f78
Author: Alyssa Rosenzweig <[email protected]>
Date: Fri Feb 19 15:58:16 2021 -0500
panfrost: Don't advertise OES_copy_image
We don't support it yet.
Fixes: 61d3ae6e0bd ("panfrost: Initial stub for Panfrost driver")
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9164>
(cherry picked from commit 5eff64e3a318f911326499e9940ee773f6f58c21)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=35b30e8b41a9ab6416f26910ea7f3d30415873da
Author: Dylan Baker <[email protected]>
Date: Fri Feb 26 10:09:20 2021 -0800
.pick_status.json: Mark 38ce8d4d00c2b0e567b6dd36876cf171acb1dbc7 as
backported
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=26a383b4565d3f16d1d19f7de60d219d0da40917
Author: Alyssa Rosenzweig <[email protected]>
Date: Fri Feb 19 11:51:16 2021 -0500
panfrost: Raise TEXTURE_BUFFER_OFFSET_ALIGNMENT
The blob advertises 64 for this, so let's use the same value. Small
alignments are observed to raise an IMPRECISE_FAULT at least on Bifrost.
As a bonus this forces cache line alignment which will help perf. Fixes
dEQP-GLES31.functional.texture.texture_buffer.render.as_vertex_texture.offset_1_alignments
Fixes: 5f7bafa316f ("panfrost: Enable ARB_texture_buffer_object")
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9164>
(cherry picked from commit 3f21b089f8ee16f1b51ed64e9c203b073c015766)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ca6a62e408aafeb57e9febf2068bbbf07c6ffee
Author: Bas Nieuwenhuizen <[email protected]>
Date: Sun Feb 21 21:01:04 2021 +0100
radv: Don't use dedicated memory info to indicate sharing.
Can be used without sharing, so if only the dedicated memory info
is set we know it isn't shareable. Use that.
Fixes: a639d40f133 ("radv: add support for local bos. (v3)")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4330
Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9176>
(cherry picked from commit 2d520b692354ded47dbc32d19c2be253727bc935)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=38ed4dd0f1d23f33f6be170b089ad56869162bd0
Author: Jeremy Huddleston Sequoia <[email protected]>
Date: Tue Jan 12 16:44:34 2021 -0800
Fall back on clock_gettime when timespec_get() is unavailable
Fixes: e3a8013de8ca "util/u_queue: add util_queue_fence_wait_timeout"
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/1020
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4088
Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
Signed-off-by: Yurii Kolesnykov <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8482>
(cherry picked from commit 68a785e63fe848c7bcd48bce2095670926f97eea)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9568d8ecb638496327912b2dcd1de381e87a39c4
Author: Vinson Lee <[email protected]>
Date: Sat Feb 13 20:21:55 2021 -0800
aco: Initialize ds_state.front.writeMask.
Fix defect reported by Coverity Scan.
Uninitialized scalar variable (UNINIT)
uninit_use: Using uninitialized value ds_state.front. Field
ds_state.front.writeMask is uninitialized.
Fixes: d488d0fd7ba ("aco: add framework for testing isel and integration
tests")
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Rhys Perry <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9033>
(cherry picked from commit 7cc83f237efe1fdba075d07b18450c4345d2dc7f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5705df019720068f551f64e6db34096e11e9918
Author: Erico Nunes <[email protected]>
Date: Sat Feb 20 14:24:09 2021 +0100
lima: fix max sampler views
If this is not defined, mesa may not deallocate sampler views,
which can result in memory leaks.
Just define it to the same as max texture samplers, like other
mesa drivers do.
Cc: mesa-stable
Signed-off-by: Erico Nunes <[email protected]>
Reviewed-by: Vasily Khoruzhick <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9172>
(cherry picked from commit f3d47ba0c7596415b896297378ae5de0c4f30359)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7cc502f43161fb1e587af3487fb1fc1ae2ae6ed1
Author: Ian Romanick <[email protected]>
Date: Tue Jan 12 12:23:16 2021 -0800
nir/algebraic: Fix some min/max of b2f replacements
fmin(-A, -B) is -fmax(A, B), and fmax(-A, -B) is -fmin(A, B). Therefore
the logic joining A and B should toggle between ior and iand for the
negated versions.
At the very least, a shader from Euro Truck Simulator 2 in shader-db is
affected by this. The KIL instruction in the (ARB assembly) shader ends
up with the wrong logic. This is _probably_ the source of
https://gitlab.freedesktop.org/mesa/mesa/-/issues/1346.
That said, the issue mentions that Mesa 18.0.5 works, but commit
68420d8322c ("nir: Simplify min and max of b2f") was added in 17.3.
Moreover, I was not able to reproduce the error in the ETS2 shader from
shader-db from any Mesa commit near the time the original fd.o bugzilla
was submitted (December 2018). :shrug:
In fact, the current error in that shader starts with 9167324a86b
("nir/algebraic: Mark some logic-joined comparison reductions as
exact"). That's a bit of a red herring as 9167324a86b just sets off a
chain of replacements that eventually leads to the incorrect min/max of
b2f patterns fixed by this commit.
The other affected shaders in the shader-db results are from Cargo
Commander. These are also ARB assembly shaders.
I think any ARB assembly shader that uses the pattern
SLT r0, ...;
...
KIL -r0;
will suffer from issues related to this.
This change fixes the piglit
tests/spec/arb_fragment_program/kil-of-slt.shader_test test added in
https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/454.
shader-db results:
All Gen6+ platforms had similar result. (Ice Lake shown)
total instructions in shared programs: 20034604 -> 20034486 (<.01%)
instructions in affected programs: 3885 -> 3767 (-3.04%)
helped: 47
HURT: 2
helped stats (abs) min: 2 max: 4 x̄: 2.64 x̃: 2
helped stats (rel) min: 2.33% max: 8.33% x̄: 3.48% x̃: 3.39%
HURT stats (abs) min: 3 max: 3 x̄: 3.00 x̃: 3
HURT stats (rel) min: 13.64% max: 16.67% x̄: 15.15% x̃: 15.15%
95% mean confidence interval for instructions value: -2.83 -1.99
95% mean confidence interval for instructions %-change: -3.84% -1.60%
Instructions are helped.
total cycles in shared programs: 979881379 -> 979879406 (<.01%)
cycles in affected programs: 119873 -> 117900 (-1.65%)
helped: 46
HURT: 3
helped stats (abs) min: 10 max: 756 x̄: 45.41 x̃: 26
helped stats (rel) min: 0.53% max: 19.72% x̄: 1.67% x̃: 1.26%
HURT stats (abs) min: 28 max: 56 x̄: 38.67 x̃: 32
HURT stats (rel) min: 1.44% max: 3.54% x̄: 2.75% x̃: 3.27%
95% mean confidence interval for cycles value: -70.83 -9.70
95% mean confidence interval for cycles %-change: -2.23% -0.57%
Cycles are helped.
Iron Lake and GM45 had similar results. (Iron Lake shown)
total instructions in shared programs: 8115098 -> 8115076 (<.01%)
instructions in affected programs: 2592 -> 2570 (-0.85%)
helped: 32
HURT: 2
helped stats (abs) min: 1 max: 1 x̄: 1.00 x̃: 1
helped stats (rel) min: 0.88% max: 2.70% x̄: 1.35% x̃: 1.31%
HURT stats (abs) min: 5 max: 5 x̄: 5.00 x̃: 5
HURT stats (rel) min: 17.24% max: 18.52% x̄: 17.88% x̃: 17.88%
95% mean confidence interval for instructions value: -1.15 -0.15
95% mean confidence interval for instructions %-change: -1.83% 1.39%
Inconclusive result (%-change mean confidence interval includes 0).
total cycles in shared programs: 238189718 -> 238189802 (<.01%)
cycles in affected programs: 75076 -> 75160 (0.11%)
helped: 3
HURT: 31
helped stats (abs) min: 2 max: 130 x̄: 44.67 x̃: 2
helped stats (rel) min: 0.18% max: 5.70% x̄: 2.02% x̃: 0.19%
HURT stats (abs) min: 2 max: 70 x̄: 7.03 x̃: 4
HURT stats (rel) min: 0.07% max: 6.41% x̄: 0.53% x̃: 0.15%
95% mean confidence interval for cycles value: -7.27 12.21
95% mean confidence interval for cycles %-change: -0.33% 0.94%
Inconclusive result (value mean confidence interval includes 0).
No fossil-db changes on any Intel platform.
Fixes: 68420d8322c ("nir: Simplify min and max of b2f")
Closes: #1346
Reviewed-by: Matt Turner <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9122>
(cherry picked from commit 7e127c1fca6bd934469f4803dde54842fbd100da)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=58a8534ce66fbe5badeb55ab84aba731fbedf3a7
Author: Yevhenii Kharchenko <[email protected]>
Date: Thu Feb 4 12:23:30 2021 +0200
st/mesa: fix PBO download for TEXTURE_1D_ARRAY textures
Fixes 'nir_tex_src_coord' param was provided to NIR 'txf' operation as a
vec3 for TEXTURE_1D_ARRAY target, causing an assert.
Only following targets require vec3: TEXTURE_2D_ARRAY, TEXTURE_3D,
TEXTURE_CUBE, TEXTURE_CUBE_ARRAY. The rest must use vec2.
Packing layer value into Y-coordinate the same way it was done in
'create_fs' in commit 2bf6dfac.
Fixes: a01ad311 ("st/mesa: Add NIR versions of the PBO upload/download
shaders. ")
Signed-off-by: Yevhenii Kharchenko <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9014>
(cherry picked from commit 1516b6bd9a5307ad37f10b1b1c614e399f4bce2d)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3cff51fab66483b306a6447e6ed5b89d023318f8
Author: Samuel Pitoiset <[email protected]>
Date: Thu Feb 18 23:34:41 2021 +0100
radv: set correct value for OFFCHIP_BUFFERING on GFX10+
Higher values break tessellation. I was only able to reproduce this
by switching back/from AMDVLK which was really weird...
According to Marek (1c6eca23fdd8), it looks like it's related to
register shadowing and PAL enables it, that probably explains a bit.
Copied from PAL and RadeonSI.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4207
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2498
Fixes: 74d69299d16 ("radv/gfx10: double the number of tessellation offchip
buffers per SE")
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9141>
(cherry picked from commit e3bdf815b790be61f5141afe630bb8eb1453a0ce)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=14df11a38aaf44bf1f3d749addc40d0b47e37f65
Author: Alyssa Rosenzweig <[email protected]>
Date: Tue Feb 16 21:16:26 2021 -0500
pan/bi: Use explicit move even for RT#0 of MRT
Otherwise we get a bad RA if RT 0 = RT 3 (for example), fixes
dEQP-GLES31.functional.shaders.opaque_type_indexing.sampler.const_literal.fragment.sampler2d
Fixes: a6f1500bedd ("pan/bi: Workaround BLEND precolour with explicit
moves")
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9105>
(cherry picked from commit ed29a2beb80e53e6a9985786c77350d963e860e7)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=35b2aebd47df1d2b1e62c83e7dc40757bfbda32e
Author: Jesse Natalie <[email protected]>
Date: Thu Feb 18 11:13:25 2021 -0800
microsoft/clc: Use driver_location for metadata instead of re-computing
offsets
Fixes: ff05da7f ("microsoft: Add CLC frontend and kernel/compute support to
DXIL converter")
Reviewed-By: Bill Kristiansen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9138>
(cherry picked from commit 5b0a10823b3f80f5d28cd460a57b7fa435d34ee8)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d04900c187f2e4563332a67891b874beb8de7402
Author: Jesse Natalie <[email protected]>
Date: Thu Feb 18 11:05:43 2021 -0800
microsoft/clc: Move inline samplers to the end of the variable list
Since inline samplers are uniforms, just like kernel args, and
nir_lower_vars_to_explicit_types will assign driver_location based
on order in the variable list, move the inline samplers to the end
of the list to prevent them from creating gaps in the kernel arg
offsets.
Fixes: ff05da7f ("microsoft: Add CLC frontend and kernel/compute support to
DXIL converter")
Reviewed-By: Bill Kristiansen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9138>
(cherry picked from commit 3ee8f2ccba93a984f895eeff6d908979e22215b3)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=aede8d32aa6d5bf6971c5e63e9369f4212119d96
Author: Jesse Natalie <[email protected]>
Date: Thu Feb 18 11:04:23 2021 -0800
microsoft/clc: Fix wrap modes for inline samplers for integer textures
Fixes: ff05da7f ("microsoft: Add CLC frontend and kernel/compute support to
DXIL converter")
Reviewed-By: Bill Kristiansen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9138>
(cherry picked from commit d773257012a2fa3d67144263387cff670cccc97a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=591f863eadecd7d0098fd84a0f7f27c497bd618f
Author: Jesse Natalie <[email protected]>
Date: Thu Feb 18 10:28:20 2021 -0800
microsoft/clc: Let lower_vars_to_explicit_types fill kernel input
driver_location
Importantly, also run that before mucking with the variable list via image
lowering,
which removes and inserts variables, making the driver_location no longer
line up
with metadata.
Fixes: ff05da7f ("microsoft: Add CLC frontend and kernel/compute support to
DXIL converter")
Reviewed-By: Bill Kristiansen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9138>
(cherry picked from commit 9da8179a1e8c835749c6c97f4adc31d0428cae8e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=29e11d712c4e3da9f83384c7259f0e630abb71ab
Author: Pierre-Eric Pelloux-Prayer <[email protected]>
Date: Tue Jan 26 17:46:44 2021 +0100
radeonsi: fix read from compute / write from draw sync
A compute dispatch should see the result of a previous draw command.
radeonsi was missing this implicit sync, causing rendering artifacts:
the compute shader was reading from a texture still being written to
by the previous draw.
Framebuffer BOs are marked with RADEON_USAGE_NEEDS_IMPLICIT_SYNC,
so compute jobs will sync.
v2: use RADEON_USAGE_NEEDS_IMPLICIT_SYNC
v3: unconditionally make CB coherent after a flush
Reviewed-by: Zoltán Böszörményi <[email protected]> (v3)
Reviewed-by: Marek Olšák <[email protected]> (v3)
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4032
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2878
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/1336
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8869>
(cherry picked from commit bddc0e023c2c87d3248691ea62b77626704cc5a4)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8794b143b22934a5b8d4165bab595fe28f370d1
Author: Dylan Baker <[email protected]>
Date: Fri Feb 26 09:46:29 2021 -0800
.pick_status.json: Update to 4ded99f99ddbd1103ffddfd9935638fc12e0ecfd
_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit