mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 12:14:10 +08:00
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>
This commit is contained in:
parent
f67a0a7745
commit
af55e36d79
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user