mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
nir, vk: fix MSVC unused variable warning
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38663>
This commit is contained in:
parent
dcaf64102f
commit
cef4102548
2 changed files with 3 additions and 2 deletions
|
|
@ -191,7 +191,7 @@ struct u_sparse_bitset *
|
|||
nir_get_live_defs(nir_cursor cursor, void *mem_ctx)
|
||||
{
|
||||
nir_block *block = nir_cursor_current_block(cursor);
|
||||
nir_function_impl *impl = nir_cf_node_get_function(&block->cf_node);
|
||||
ASSERTED nir_function_impl *impl = nir_cf_node_get_function(&block->cf_node);
|
||||
assert(impl->valid_metadata & nir_metadata_live_defs);
|
||||
|
||||
switch (cursor.option) {
|
||||
|
|
|
|||
|
|
@ -1349,7 +1349,8 @@ vk_get_graphics_pipeline_compile_info(struct vk_graphics_pipeline_compile_info *
|
|||
}
|
||||
}
|
||||
|
||||
VkResult result = vk_graphics_pipeline_state_fill(device, info->state,
|
||||
ASSERTED VkResult result = vk_graphics_pipeline_state_fill(device,
|
||||
info->state,
|
||||
pCreateInfo,
|
||||
NULL /* driver_rp */,
|
||||
0 /* driver_rp_flags */,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue