-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15031 from pal1000/mesa-update
mesa: Update to 22.3.3
- Loading branch information
Showing
2 changed files
with
46 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
From af55e36d798b91b86795544aac2d9e3983cde207 Mon Sep 17 00:00:00 2001 | ||
From: GH Cao <driver1998.ms@outlook.com> | ||
Date: Fri, 13 Jan 2023 01:20:25 +0800 | ||
Subject: [PATCH] dzn: Declare debug only root_dwords as ASSERTED | ||
|
||
Such variable is only used in assert(), so declare it as ASSERTED. | ||
|
||
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7885 | ||
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7234 | ||
|
||
Signed-off-by: GH Cao <driver1998.ms@outlook.com> | ||
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20676> | ||
--- | ||
src/microsoft/vulkan/dzn_descriptor_set.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/microsoft/vulkan/dzn_descriptor_set.c b/src/microsoft/vulkan/dzn_descriptor_set.c | ||
index 25c92c360b03..15d7d3448e5e 100644 | ||
--- a/src/microsoft/vulkan/dzn_descriptor_set.c | ||
+++ b/src/microsoft/vulkan/dzn_descriptor_set.c | ||
@@ -645,7 +645,7 @@ dzn_pipeline_layout_create(struct dzn_device *device, | ||
D3D12_ROOT_PARAMETER1 root_params[MAX_ROOT_PARAMS] = { 0 }; | ||
D3D12_DESCRIPTOR_RANGE1 *range_ptr = ranges; | ||
D3D12_ROOT_PARAMETER1 *root_param; | ||
- uint32_t root_dwords = 0; | ||
+ ASSERTED uint32_t root_dwords = 0; | ||
|
||
for (uint32_t i = 0; i < MAX_SHADER_VISIBILITIES; i++) { | ||
dzn_foreach_pool_type (type) { | ||
-- | ||
GitLab | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters