mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 08:26:50 +00:00
Add message if side-effects features aren't available
This commit is contained in:
@@ -519,6 +519,21 @@ bool WrappedVulkan::Serialise_vkCreateDevice(
|
|||||||
else
|
else
|
||||||
RDCWARN("robustBufferAccess = false, out of bounds access due to bugs in application or RenderDoc may cause crashes");
|
RDCWARN("robustBufferAccess = false, out of bounds access due to bugs in application or RenderDoc may cause crashes");
|
||||||
|
|
||||||
|
if(availFeatures.vertexSideEffects)
|
||||||
|
enabledFeatures.vertexSideEffects = true;
|
||||||
|
else
|
||||||
|
RDCWARN("vertexSideEffects = false, VS output mesh data will not be available");
|
||||||
|
|
||||||
|
if(availFeatures.geometrySideEffects)
|
||||||
|
enabledFeatures.geometrySideEffects = true;
|
||||||
|
else
|
||||||
|
RDCWARN("geometrySideEffects = false, GS output mesh data will not be available");
|
||||||
|
|
||||||
|
if(availFeatures.tessellationSideEffects)
|
||||||
|
enabledFeatures.tessellationSideEffects = true;
|
||||||
|
else
|
||||||
|
RDCWARN("tessellationSideEffects = false, Tess output mesh data will not be available");
|
||||||
|
|
||||||
// VKTODOLOW: check that extensions and layers supported in capture (from createInfo) are supported in replay
|
// VKTODOLOW: check that extensions and layers supported in capture (from createInfo) are supported in replay
|
||||||
|
|
||||||
VkResult ret = GetDeviceDispatchTable(NULL)->CreateDevice(Unwrap(physicalDevice), &createInfo, &device);
|
VkResult ret = GetDeviceDispatchTable(NULL)->CreateDevice(Unwrap(physicalDevice), &createInfo, &device);
|
||||||
|
|||||||
Reference in New Issue
Block a user