|
|
|
@ -253,7 +253,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
|
|
|
|
|
.shaderCullDistance = true,
|
|
|
|
|
.shaderFloat64 = is_shader_float64_supported,
|
|
|
|
|
.shaderInt64 = is_shader_int64_supported,
|
|
|
|
|
.shaderInt16 = true,
|
|
|
|
|
.shaderInt16 = is_shader_int16_supported,
|
|
|
|
|
.shaderResourceResidency = false,
|
|
|
|
|
.shaderResourceMinLod = false,
|
|
|
|
|
.sparseBinding = false,
|
|
|
|
@ -912,6 +912,7 @@ void Device::SetupFeatures() {
|
|
|
|
|
is_formatless_image_load_supported = features.shaderStorageImageReadWithoutFormat;
|
|
|
|
|
is_shader_float64_supported = features.shaderFloat64;
|
|
|
|
|
is_shader_int64_supported = features.shaderInt64;
|
|
|
|
|
is_shader_int16_supported = features.shaderInt16;
|
|
|
|
|
is_shader_storage_image_multisample = features.shaderStorageImageMultisample;
|
|
|
|
|
is_blit_depth_stencil_supported = TestDepthStencilBlits();
|
|
|
|
|
is_optimal_astc_supported = IsOptimalAstcSupported(features);
|
|
|
|
|