Timo Aaltonen pushed to branch debian-unstable at X Strike Force / lib / mesa


Commits:
f0498ea8 by Dylan Baker at 2020-10-14T10:33:42-07:00
docs: add SHA256 sums for 20.2.1

- - - - -
9b7dfc0a by Dylan Baker at 2020-10-14T10:41:09-07:00
.pick_status.json: Update to f29c81f863c9879a6a87724cbdae1e1818f3f6b4

- - - - -
a3b0904e by Dylan Baker at 2020-10-15T17:17:50-07:00
.pick_status.json: Update to aea74eac3d7706ed8d870504b163356e3f104a4c

- - - - -
fa22dff6 by Rhys Perry at 2020-10-15T17:17:52-07:00
nir/opt_load_store_vectorize: don't vectorize stores across demote

Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Fixes: ce9205c03bd ("nir: add a load/store vectorization pass")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7163>
(cherry picked from commit f8e971f51142195533e201ea45e33afaaaca1eac)

- - - - -
ca34f519 by Tony Wasserka at 2020-10-15T17:17:54-07:00
aco/isel: Always export position data from VS/NGG

AMD ISA docs explicitly require this for VS, and this likely extends to
NGG too.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3615
Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7102>
(cherry picked from commit bf51b11c04fcf9c5f2f86c74ca53ec2ae3fcf4d6)

- - - - -
3f1601a1 by Jose Maria Casanova Crespo at 2020-10-15T17:17:55-07:00
vc4: Add missing load_ubo set_align in yuv_blit fs.

Fixes: e78a7a18252 ("nir: Assert memory loads are aligned")
Reviewed-by: Eric Anholt <[email protected]>
Tested-by: Piotr Oniszczuk <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7160>
(cherry picked from commit 4cfdd425b65411a3a558748b4c2041783e95aa18)

- - - - -
a6f351a6 by Jose Maria Casanova Crespo at 2020-10-15T17:17:56-07:00
vc4: Enable nir_lower_io for uniforms

Altough the driver isn't expected to receive nir_var_uniform types
from GLSL this happens currently for one of the internal driver shaders.

At vc4_get_yuv_fs at vc4_blit.c there is a "stride" nir_var_uniform
variable that needs to be lowered so the shader can be compiled.

This regression was affecting several piglit tests under
spec/ext_image_dma_buf_import and at least MythTV application.

Fixes: 96d99f2eccb ("vc4: Only call nir_lower_io on shader_in/out")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3536
Reviewed-by: Eric Anholt <[email protected]>
Tested-by: Piotr Oniszczuk <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7160>
(cherry picked from commit d91cb31a2aad30c80c88dedc7b75853470266979)

- - - - -
6f4d937c by Rhys Perry at 2020-10-15T17:17:57-07:00
aco: add missing SCC clobber in get_buffer_size

Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Daniel Schürmann <[email protected]>
Fixes: fcd6d832456 ("aco: fix imageSize()/textureSize() with large buffers 
on GFX8")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7162>
(cherry picked from commit fdb65b8b2373df7512290a0e4115dac3eeec8f10)

- - - - -
00cde893 by Dylan Baker at 2020-10-16T09:40:02-07:00
.pick_status.json: Update to 7c5129985bcac75053823a31674e8a1e2629230c

- - - - -
a4e81dd7 by Dylan Baker at 2020-10-19T09:53:24-07:00
.pick_status.json: Update to 3c87ac1f60875b5bbd4facca22fc426ee747997a

- - - - -
c6396afb by Nanley Chery at 2020-10-19T09:53:27-07:00
st/mesa: Add missing sentinels in format_map[]

Cc: mesa-stable
Reviewed-By: Mike Blumenkrantz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7169>
(cherry picked from commit cf11ebfbc22b5ebabdcedac0e045deb0f63ecff7)

- - - - -
ae6b7d1e by Nanley Chery at 2020-10-19T09:53:32-07:00
intel/isl: Drop redundant unpack of unorm channels

Fixes: 09ced654204 ("intel/isl: Add format conversion code")
Reviewed-by: Sagar Ghuge <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7168>
(cherry picked from commit 5e27e0432274a29e75f9267269a2b367eda33cbf)

- - - - -
07e1df3c by Marek Olšák at 2020-10-19T09:53:34-07:00
Revert "radeonsi/gfx10: disable vertex grouping"

This reverts commit 42f921387b9c939cf1d809fa447d7980f73aa591.

It causes GPU hangs on gfx10.3.

Fixes: a23802bcb9a - ac,radeonsi: start adding support for gfx10.3

Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7172>
(cherry picked from commit 6810e6e4d0e321fc45f55e984912b824fe2a1b28)

- - - - -
1219eace by Nanley Chery at 2020-10-19T09:53:35-07:00
isl: Fix the aux-map encoding for D24_UNORM_X8

Bspec: 53911 now defines the encoding for this format.

Cc: mesa-stable
Reviewed-by: Sagar Ghuge <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7198>
(cherry picked from commit 3c87ac1f60875b5bbd4facca22fc426ee747997a)

- - - - -
cdcf4542 by Dylan Baker at 2020-10-20T10:02:08-07:00
.pick_status.json: Update to d0f8fe5909107aa342f62813ced9ce535ed6da32

- - - - -
0bc9a817 by Marcin Ślusarz at 2020-10-20T10:02:11-07:00
vulkan/wsi: fix possible random stalls in wsi_display_wait_for_event

pthread_cond_broadcast man page says this:
"The pthread_cond_broadcast() or pthread_cond_signal() functions may
 be called by a thread whether or not it currently owns the mutex that
 threads calling pthread_cond_wait() or pthread_cond_timedwait() have
 associated with the condition variable during their waits; however,
 if predictable scheduling behavior is required, then that mutex shall
 be locked by the thread calling pthread_cond_broadcast() or
 pthread_cond_signal()."

Found by reading the code.
Compile tested only.

Fixes: da997ebec92 ("vulkan: Add KHR_display extension using DRM 
[v10]")

Signed-off-by: Marcin Ślusarz <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7197>
(cherry picked from commit 440813114281bfd05c2b0d26c6488d1410790be4)

- - - - -
bfa702dd by Dylan Baker at 2020-10-21T16:16:29-07:00
.pick_status.json: Update to 025050bae73d0598d788e3c307328670a3bf51c1

- - - - -
a1f8f5e2 by Timothy Arceri at 2020-10-21T16:16:30-07:00
glsl: relax rule on varying matching for shaders older than 4.00

Please see new code commment for full justification.

Fixes: 18004c338f6b ("glsl: fail when a shader's input var has not an 
equivalent out var in previous")

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3648

Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7184>
(cherry picked from commit c54c42321ea5a3d9a09bbe89c00346f8c26b9300)

- - - - -
b9693aa8 by Thong Thai at 2020-10-21T16:16:32-07:00
frontends/va/postproc: Un-break field flag

Fixes an issue where deinterlaced videos would play at half the
framerate, since only one field was repeated, instead of using both
fields. Reverts a change I made previously which broke this.

Fixes: 78786a219ea ("frontends/va: Fix deinterlace bottom field first 
flag")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3621
Signed-off-by: Thong Thai <[email protected]>
Reviewed-by: Leo Liu <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7194>
(cherry picked from commit 354e375c9cc937ecfafd7b98a768621c53458528)

- - - - -
17e7be7c by Ryan Neph at 2020-10-21T16:16:34-07:00
virgl: Fixes portal2 binary name in tweak config

Portal 2 on virgl w/ GLES host requires bgraswz and emubgra tweaks.
Application binary name matching mismatch caused tweaks to default
to a disabled state.

Signed-off-by: Ryan Neph <[email protected]>
Reviewed-by: Gurchetan Singh <[email protected]>
Fixes: 9760a7ed913 ("virgl: apply bgra dest swizzle and add Portal 2")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7246>
(cherry picked from commit b2c737cf57382d543002177b6e4810b19ab62c74)

- - - - -
4f0bee67 by Dylan Baker at 2020-10-26T10:34:22-07:00
.pick_status.json: Update to b92eadb29cc8ef09096d9196434d49e35a3eccaf

- - - - -
2f09ff3f by Tapani Pälli at 2020-10-26T10:34:24-07:00
gallivm/nir: handle nir_op_flt in lp_build_nir_llvm

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3663
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7248>
(cherry picked from commit c83d6ffa3222b52219406cb6cb4e05232d6fe054)

- - - - -
e12a581a by Samuel Pitoiset at 2020-10-26T10:34:25-07:00
aco: fix determining if LOD is zero for nir_texop_txf/nir_texop_txs

txf/txs expects LOD to be a 32-bit unsigned integer while other
texture operations expects a float.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3668
Fixes: 93c8ebfa780 ("aco: Initial commit of independent AMD compiler")
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7256>
(cherry picked from commit 4e2fe34aa9944612f2224188317a4ad2aee8035b)

- - - - -
86a542b0 by Michel Dänzer at 2020-11-02T07:48:26-08:00
loader/dri3: Only allocate additional buffers if needed

Previously, we would always allocate 3 buffers for page flipping. But 2
buffers can suffice for clients which always wait for buffer swaps to
complete before starting a new frame.

Therefore, keep track of the maximum number of buffers separately from
the current number, and only bump the latter if both current buffers are
busy.

Cc: mesa-stable
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Adam Jackson <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7033>
(cherry picked from commit 60585fc4e34858aa277286209f3cf61e83770181)

- - - - -
fa73f34f by Michel Dänzer at 2020-11-02T07:48:26-08:00
loader/dri3: Keep current number of back buffers if frame was skipped

We'd previously take the copy path. If we were actually flipping (in
which case skipped frames are more likely to occur), we'd ping-pong
between a smaller and larger number of back buffers, and frame-rate
could vary / take a dip due to the buffer management overhead.

While I'm not sure this is actually possible to hit at this point, it
definitely will be with the next change.

Cc: mesa-stable
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Adam Jackson <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7033>
(cherry picked from commit 16a7cc4d449efa51f9ec2fd47df38a76c12e8e52)

- - - - -
cacca2aa by Michel Dänzer at 2020-11-02T07:48:26-08:00
loader/dri3: Allocate up to 4 back buffers for page flips

With swap interval 0, i.e. sync-to-vblank disabled.

This can be necessary for unthrottled drawing with Xwayland:

1) One buffer can be scanned out
2) One buffer can be pending in the kernel for a page flip
3) One buffer can be pending in the Wayland compositor

Therefore, with 3 buffers, the frame-rate could be capped much lower
than the throughput the GPU is capable of, in the worst case at the
Wayland compositor refresh rate.

(The native Wayland EGL backend always uses up to 4 buffers)

Leave the maximum number of buffers at 3 for swap interval != 0, it's
sufficient in that case to always be able to queue one frame ahead of
time.

https://gitlab.gnome.org/GNOME/mutter/-/issues/1455
https://gitlab.gnome.org/GNOME/mutter/-/issues/1462

Cc: mesa-stable
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Adam Jackson <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7033>
(cherry picked from commit 31e9de9c8ac72399427cb0fc15f19205dd8182c9)

- - - - -
5afe855f by Tapani Pälli at 2020-11-02T07:48:26-08:00
iris: fix the order of src and dst for fence memcpy

This fixes random failures with "deqp-egl --deqp-case=*multithread*":
   iris: Failed to submit batchbuffer: No such file or directory

Fixes: 6b1a56b908e ("iris: Drop stale syncobj references in 
fence_server_sync")
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7289>
(cherry picked from commit cb6ce4a265ba64c172829a3d6d2e13a7d920133d)

- - - - -
bfa8ac8c by Rob Clark at 2020-11-02T07:48:26-08:00
freedreno: Disallow tiled if SHARED and not QCOM_COMPRESSED

If the user is not aware of modifiers, and wants to allocate a shared
resource, we shouldn't leave them with tiled.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3678
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7308>
(cherry picked from commit 67238f95b52024b4e4b2acd0f750c15317ca3778)

- - - - -
63754d2b by Dylan Baker at 2020-11-02T07:48:26-08:00
.pick_status.json: Update to 8077f3f4c4a3d8007caa30eed93fed1c6bbf3c5a

- - - - -
1ddbe3aa by Rhys Perry at 2020-11-02T07:48:26-08:00
aco: update phi_map in add_subdword_operand()

Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Daniel Schürmann <[email protected]>
Fixes: 56345b8c610 ("aco: allow reading/writing upper halves/bytes when 
possible")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7216>
(cherry picked from commit d4503a902057cb5ddb0b2099e3d6df5ef2ba656a)

- - - - -
562e89ff by Rhys Perry at 2020-11-02T07:48:26-08:00
aco: ignore the ACO-inserted continue in create_continue_phis()

Otherwise, for loops without continue_or_break, create_continue_phis()
always returns an undef operand.

Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Daniel Schürmann <[email protected]>
Fixes: 638cbc21a1c ("aco: handle when ACO adds new continue edges")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2848
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7148>
(cherry picked from commit 26e53e3afa7ee971fc0e686d2d00c5941264be1f)

- - - - -
7ccf2cf8 by Bas Nieuwenhuizen at 2020-11-02T07:48:26-08:00
radv: Fix 1D compressed mipmaps on GFX9.

Partial rollback as GFX9 really requires height = 1 to work.

The two substantial parts of the fix remaining:

1) Deal with views with multiple levels.
2) Limit the expansion to the base mip pitch/height. On GFX9 this
   is exactly equal to the surf_pitch that was used before. I've
   done some investigation to make sure that on GFX10 this always
   results in the right physical layout.

Remaining stupid question is how the actual extents for bounds
checking never end up too low when the size gets clamped, but
this change and the previous change don't change that ...

Fixes: 1fb3e1fb708 "radv: Fix mipmap extent adjustment on GFX9+."
Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7245>
(cherry picked from commit 29999e6b9d737cdab9510246bc5f780791f7c9dc)

- - - - -
b540aaa0 by Bas Nieuwenhuizen at 2020-11-02T07:48:26-08:00
radv: Do not access set layout during vkCmdBindDescriptorSets.

The spec says:

"
VkDescriptorSetLayout objects may be accessed by commands that operate on 
descriptor sets allocated using that layout
"

So our behavior is valid here, but this is a temporary workaround for an issue 
with Baldur's Gate 3.

CC: mesa-stable
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3607
Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7207>
(cherry picked from commit eb104e949ee4b7e0813d14f11a4a952bae48fe80)

- - - - -
3e2245c4 by Marcin Ślusarz at 2020-11-02T07:48:26-08:00
intel/tools: fix invalid type in argument to printf

$2 is exp2, exp2 is defined to be llint and llint is defined to be
unsigned long long int.

Fixes error reported by Coverity:
CID 1451141: Invalid type in argument to printf format specifier (PRINTF_ARGS)

Fixes: 70308a5a8a8 ("intel/tools: New i965 instruction assembler 
tool")

Signed-off-by: Marcin Ślusarz <[email protected]>
Reviewed-by: Adam Jackson <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7351>
(cherry picked from commit e96f33cd30087016162b99ee0e1e127e7d3abd63)

- - - - -
f401af6f by Dave Airlie at 2020-11-02T07:48:26-08:00
gallivm: zero init the temporary register storage.

Due to flow control we can end up with random values in here having
side effects.

This fixes a crash in gtk4-demo.

Fixes: 44a6b0107b37 ("gallivm: add nir->llvm translation (v2)")
Reviewed-by: Roland Scheidegger <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7327>
(cherry picked from commit f7d1460418f11c0209d099ddc552d126a68ba6e4)

- - - - -
833d6889 by Lionel Landwerlin at 2020-11-02T07:48:26-08:00
intel/dev: Bump Max EU per subslice/dualsubslice

This isn't a problem right now because the previous max would give the
same result when aligned to a byte (8bits).

Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7288>
(cherry picked from commit b03c86a71f365e9f0440850761462ddbc442f816)

- - - - -
fd3c49bb by Lucas Stach at 2020-11-02T07:48:26-08:00
etnaviv: drm: fix BO refcount race

There is a race where the BO refcount might drop to 0 before the
dmabuf/name import paths had a chance to grab a reference for a
BO found in the handle_table. The easiest solution is to keep the
refcount stable as long as the table_lock is held.

While a more involved scheme of rechecking the refcount before
actually destroying the BO might also work, the bo_del path isn't
called very often, so micro-optimizing a single mutex_lock seems
to be over-engineered, so go for the easy solution.

Cc: <[email protected]>
Signed-off-by: Lucas Stach <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7367>
(cherry picked from commit 866bb22d6b91d7a12e62803bacf7d8bc912d3216)

- - - - -
25bc2228 by Lucas Stach at 2020-11-02T07:48:26-08:00
etnaviv: blt: properly program surface TS offset for clears

We clear the wrong TS region for != level 0 surfaces or TS buffers
with a internal offset.

Cc: <[email protected]>
Signed-off-by: Lucas Stach <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7367>
(cherry picked from commit 3ba753d9f58aee0bd1e72e835953560fb1fbbe46)

- - - - -
e8b625bc by Michael Tretter at 2020-11-02T07:48:26-08:00
etnaviv: free tgsi tokens when shader state is deleted

The tokens are allocated using tgsi_dup_tokens when the shader state is
created, so we need to free them explicitly when deleting the shader state.

Cc: <[email protected]>
Signed-off-by: Michael Tretter <[email protected]>
Signed-off-by: Lucas Stach <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7367>
(cherry picked from commit 98db7c4841c652ab8bccd4dc6c6a4be084e5cddb)

- - - - -
52ef9c22 by Bas Nieuwenhuizen at 2020-11-02T07:48:26-08:00
radv: Fix variable name collision.

idx was aliased, and eb104e949ee4b7e0813d14f11a4a952bae48fe80 started
using the outer var in the inner scope ...

Fixes: eb104e949ee4b7e0813d14f11a4a952bae48fe80
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3701
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7388>
(cherry picked from commit 8943c80c9b171c638b98c35a28840f13b66c7860)

- - - - -
a7e16938 by Marek Olšák at 2020-11-02T07:48:26-08:00
winsys/amdgpu: remove incorrect assertion check against max_check_space_size

Fixes: 114a899cc89fae "winsys/amdgpu: cs_check_space sets the minimum IB 
size for future IBs"

Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7056>
(cherry picked from commit 095ee8f867bb6ac2dbf143579a694fcb9f9e6acd)

- - - - -
35b93d6f by Lionel Landwerlin at 2020-11-02T07:48:26-08:00
anv: fix source/destination layers for 3D blits

When blitting from source depth range [0-3] into destination depth
range [0-2], we'll have to use a source layer that is in between 2
layers of the 3D source image.

Other than having an incorrect formula, we're also using integer which
prevent us from using the right source layer.

v2: Drop + 0.5 on application offsets

v3: Reuse num_layers (Jason)

Signed-off-by: Lionel Landwerlin <[email protected]>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3458
Cc: <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6909>
(cherry picked from commit ea326912575fad09af59486ad62d126c4ea0ede7)

- - - - -
f17e6fcb by Lionel Landwerlin at 2020-11-02T07:48:29-08:00
blorp: allow blits with floating point source layers

The current blorp API only allows source layers for 3D images to be
integers. That is causing problems with the Vulkan API where we need
to be able to use a 3D layer that could be in between 2 layers.

This change allows a floating point value to be passed for blits and
internally sets up the input parameters to pass floating point values
to kernels.

v2: Use tex op to determinate what types are the coordinates (Jason)
    Drop setting params->z (Lionel)

v3: Fix nir_texop_txf_ms_mcs op not considered as having integer coords (Lionel)

v4: Fix incorrect test on nir_texop_txf_ms_mcs (Ivan)

Signed-off-by: Lionel Landwerlin <[email protected]>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3458
Cc: <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6909>
(cherry picked from commit 87934f02f9da94f1a493096049c229b973e4785c)

- - - - -
92a401d4 by Dylan Baker at 2020-11-06T15:40:06-08:00
docs: add release notes for 20.2.2

- - - - -
df2977f8 by Dylan Baker at 2020-11-06T15:40:35-08:00
Bump version for 20.2.2 release

- - - - -
8d276d38 by Timo Aaltonen at 2020-11-09T16:43:17+02:00
Merge branch 'upstream-unstable' into debian-unstable

- - - - -
36eeddb6 by Timo Aaltonen at 2020-11-09T16:43:35+02:00
bump the version

- - - - -
68baaff4 by Timo Aaltonen at 2020-11-10T20:29:04+02:00
control: Enable libdrm-dev for Hurd. (Closes: #973673)

- - - - -
67da3f1b by Timo Aaltonen at 2020-11-10T20:35:02+02:00
rules: Rework EGL_PLATFORMS to match current upstream defaults.

- - - - -
9ee24cdb by Timo Aaltonen at 2020-11-10T20:40:05+02:00
rules: Fix warnings from deprecated options. (Closes: #973675)

- - - - -
c17f6839 by Timo Aaltonen at 2020-11-10T22:40:11+02:00
release to sid

- - - - -


30 changed files:

- .pick_status.json
- VERSION
- debian/changelog
- debian/control
- debian/rules
- docs/relnotes/20.2.1.rst
- + docs/relnotes/20.2.2.rst
- src/amd/compiler/aco_instruction_selection.cpp
- src/amd/compiler/aco_register_allocation.cpp
- src/amd/vulkan/radv_cmd_buffer.c
- src/amd/vulkan/radv_descriptor_set.c
- src/amd/vulkan/radv_descriptor_set.h
- src/amd/vulkan/radv_image.c
- src/compiler/glsl/link_varyings.cpp
- src/compiler/nir/nir_opt_load_store_vectorize.c
- src/compiler/nir/nir_schedule.c
- src/etnaviv/drm/etnaviv_bo.c
- src/gallium/auxiliary/gallivm/lp_bld_nir.c
- src/gallium/drivers/etnaviv/etnaviv_blt.c
- src/gallium/drivers/etnaviv/etnaviv_shader.c
- src/gallium/drivers/freedreno/freedreno_resource.c
- src/gallium/drivers/iris/iris_fence.c
- src/gallium/drivers/radeonsi/si_state_draw.c
- src/gallium/drivers/radeonsi/si_state_shaders.c
- src/gallium/drivers/vc4/vc4_blit.c
- src/gallium/drivers/vc4/vc4_program.c
- src/gallium/frontends/va/postproc.c
- src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
- src/intel/blorp/blorp.c
- src/intel/blorp/blorp.h


The diff was not included because it is too large.


View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/-/compare/ccfe9cd988f042efe48c7e69251ec2a532271756...c17f683915c4acd35e8c0c4444b1321a3fa3c667

-- 
View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/-/compare/ccfe9cd988f042efe48c7e69251ec2a532271756...c17f683915c4acd35e8c0c4444b1321a3fa3c667
You're receiving this email because of your account on salsa.debian.org.


Reply via email to