mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 12:20:17 +01:00
lavapipe: remove broken workaround for zink depth texturing.
Cc: mesa-stable
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15297>
(cherry picked from commit 938488f439)
This commit is contained in:
parent
deb0225609
commit
f00548eeac
2 changed files with 1 additions and 3 deletions
|
|
@ -787,7 +787,7 @@
|
|||
"description": "lavapipe: remove broken workaround for zink depth texturing.",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1012,8 +1012,6 @@ static void fill_sampler_view_stage(struct rendering_state *state,
|
|||
*/
|
||||
if (iv->subresourceRange.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT ||
|
||||
iv->subresourceRange.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) {
|
||||
if (templ.swizzle_a == PIPE_SWIZZLE_X)
|
||||
templ.swizzle_r = PIPE_SWIZZLE_X;
|
||||
fix_depth_swizzle(templ.swizzle_r);
|
||||
fix_depth_swizzle(templ.swizzle_g);
|
||||
fix_depth_swizzle(templ.swizzle_b);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue