Skip to content

Commit

Permalink
layers: Compiler warnings fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dorian-apanel-intel committed Jul 12, 2023
1 parent d148df2 commit ada331e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers/gpu_validation/debug_printf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ void DebugPrintf::AnalyzeAndGenerateMessages(VkCommandBuffer command_buffer, VkQ
index += debug_record->size;
}
if ((use_uncached_buffer && (index >= output_buffer_size)) ||
!use_uncached_buffer && (index - spvtools::kDebugOutputDataOffset) != expect) {
(!use_uncached_buffer && (index - spvtools::kDebugOutputDataOffset) != expect)) {
LogWarning(device, "UNASSIGNED-DEBUG-PRINTF",
"WARNING - Debug Printf message was truncated, likely due to a buffer size that was too small for the message");
}
Expand Down

0 comments on commit ada331e

Please sign in to comment.