mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-09 20:58:31 +09:00
[Chore] (MG_Backend/DirectVulkan): exclude some validation logic from release build
This commit is contained in:
@@ -1998,6 +1998,7 @@ void main() {
|
||||
return VK_NULL_HANDLE;
|
||||
}
|
||||
|
||||
#if MOBILEGL_LOG_ACTIVE_LEVEL <= MOBILEGL_LOG_LEVEL_DEBUG
|
||||
const auto& limits = m_physicalDevice.properties.limits;
|
||||
if (programObj.fragmentInputComponentCount != 0) {
|
||||
MOBILEGL_ASSERT(
|
||||
@@ -2033,6 +2034,7 @@ void main() {
|
||||
static_cast<Int>(programObj.rasterizationProducerStage));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
auto vertexInputHash = m_vertexInputStateFactory->ComputeHash(vao);
|
||||
auto& vis = m_vertexInputStateFactory->GetOrCreateVertexInputState(vao);
|
||||
|
||||
Reference in New Issue
Block a user