Skip to content

Commit f38aba2

Browse files
hzqstTheMostDiligent
authored andcommitted
Vulkan: enable SpecializationConstants feature
1 parent 01af992 commit f38aba2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Graphics/GraphicsEngineVulkan/src/VulkanTypeConversions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1968,7 +1968,7 @@ DeviceFeatures VkFeaturesToDeviceFeatures(uint32_t
19681968
Features.TextureSubresourceViews = DEVICE_FEATURE_STATE_ENABLED;
19691969
Features.AsyncShaderCompilation = DEVICE_FEATURE_STATE_ENABLED;
19701970
Features.FormattedBuffers = DEVICE_FEATURE_STATE_ENABLED;
1971-
Features.SpecializationConstants = DEVICE_FEATURE_STATE_DISABLED;
1971+
Features.SpecializationConstants = DEVICE_FEATURE_STATE_ENABLED;
19721972

19731973
// Timestamps are not a feature and can't be disabled. They are either supported by the device, or not.
19741974
Features.TimestampQueries = vkDeviceProps.limits.timestampComputeAndGraphics ? DEVICE_FEATURE_STATE_ENABLED : DEVICE_FEATURE_STATE_DISABLED;

0 commit comments

Comments
 (0)