mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-09 23:49:57 +00:00
vulkan_device: Require shaderClipDistance and shaderCullDistance features
This commit is contained in:
parent
5b1b06f11e
commit
0c0ee9d897
1 changed files with 4 additions and 2 deletions
|
@ -249,8 +249,8 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
|
||||||
.shaderSampledImageArrayDynamicIndexing = false,
|
.shaderSampledImageArrayDynamicIndexing = false,
|
||||||
.shaderStorageBufferArrayDynamicIndexing = false,
|
.shaderStorageBufferArrayDynamicIndexing = false,
|
||||||
.shaderStorageImageArrayDynamicIndexing = false,
|
.shaderStorageImageArrayDynamicIndexing = false,
|
||||||
.shaderClipDistance = false,
|
.shaderClipDistance = true,
|
||||||
.shaderCullDistance = false,
|
.shaderCullDistance = true,
|
||||||
.shaderFloat64 = true,
|
.shaderFloat64 = true,
|
||||||
.shaderInt64 = true,
|
.shaderInt64 = true,
|
||||||
.shaderInt16 = true,
|
.shaderInt16 = true,
|
||||||
|
@ -684,6 +684,8 @@ void Device::CheckSuitability(bool requires_swapchain) const {
|
||||||
std::make_pair(features.shaderImageGatherExtended, "shaderImageGatherExtended"),
|
std::make_pair(features.shaderImageGatherExtended, "shaderImageGatherExtended"),
|
||||||
std::make_pair(features.shaderStorageImageWriteWithoutFormat,
|
std::make_pair(features.shaderStorageImageWriteWithoutFormat,
|
||||||
"shaderStorageImageWriteWithoutFormat"),
|
"shaderStorageImageWriteWithoutFormat"),
|
||||||
|
std::make_pair(features.shaderClipDistance, "shaderClipDistance"),
|
||||||
|
std::make_pair(features.shaderCullDistance, "shaderCullDistance"),
|
||||||
std::make_pair(demote.shaderDemoteToHelperInvocation, "shaderDemoteToHelperInvocation"),
|
std::make_pair(demote.shaderDemoteToHelperInvocation, "shaderDemoteToHelperInvocation"),
|
||||||
std::make_pair(variable_pointers.variablePointers, "variablePointers"),
|
std::make_pair(variable_pointers.variablePointers, "variablePointers"),
|
||||||
std::make_pair(variable_pointers.variablePointersStorageBuffer,
|
std::make_pair(variable_pointers.variablePointersStorageBuffer,
|
||||||
|
|
Loading…
Reference in a new issue