Vulkan: Silence Compilation Warnings
This PR silences some compilation warnings in the command buffer. Pull Request: https://projects.blender.org/blender/blender/pulls/107541
This commit is contained in:
@@ -120,7 +120,7 @@ void VKCommandBuffer::begin_render_pass(const VKFrameBuffer &framebuffer)
|
||||
|
||||
void VKCommandBuffer::end_render_pass(const VKFrameBuffer &framebuffer)
|
||||
{
|
||||
UNUSED_VARS_NDEBUG(framebuffer)
|
||||
UNUSED_VARS_NDEBUG(framebuffer);
|
||||
validate_framebuffer_exists();
|
||||
BLI_assert(state.framebuffer_ == &framebuffer);
|
||||
ensure_no_active_framebuffer();
|
||||
|
||||
@@ -118,6 +118,7 @@ class VKCommandBuffer : NonCopyable, NonMovable {
|
||||
void stage_transfer(Stage stage_from, Stage stage_to)
|
||||
{
|
||||
BLI_assert(is_in_stage(stage_from));
|
||||
UNUSED_VARS_NDEBUG(stage_from);
|
||||
#if 0
|
||||
printf(" *** Transfer stage from %s to %s\n",
|
||||
to_string(stage_from).c_str(),
|
||||
|
||||
Reference in New Issue
Block a user