Browse Source
Merge pull request #11943 from liamwhite/silence-logspam
renderer_vulkan: minimize transform feedback support log
pull/15/merge
liamwhite
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
1 deletions
-
src/video_core/renderer_vulkan/vk_rasterizer.cpp
|
|
|
@ -923,9 +923,13 @@ void RasterizerVulkan::UpdateDynamicStates() { |
|
|
|
} |
|
|
|
|
|
|
|
void RasterizerVulkan::HandleTransformFeedback() { |
|
|
|
static std::once_flag warn_unsupported; |
|
|
|
|
|
|
|
const auto& regs = maxwell3d->regs; |
|
|
|
if (!device.IsExtTransformFeedbackSupported()) { |
|
|
|
LOG_ERROR(Render_Vulkan, "Transform feedbacks used but not supported"); |
|
|
|
std::call_once(warn_unsupported, [&] { |
|
|
|
LOG_ERROR(Render_Vulkan, "Transform feedbacks used but not supported"); |
|
|
|
}); |
|
|
|
return; |
|
|
|
} |
|
|
|
query_cache.CounterEnable(VideoCommon::QueryType::StreamingByteCount, |
|
|
|
|