Skip to content

Commit 20e61bd

Browse files
committed
Lifted some device restrictions
1 parent 6b793e2 commit 20e61bd

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/nbl/video/CVulkanPhysicalDevice.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -462,8 +462,8 @@ std::unique_ptr<CVulkanPhysicalDevice> CVulkanPhysicalDevice::create(core::smart
462462
properties.limits.supportedDepthResolveModes = static_cast<nbl::hlsl::ResolveModeFlags>(vulkan12Properties.supportedDepthResolveModes);
463463
properties.limits.supportedStencilResolveModes = static_cast<nbl::hlsl::ResolveModeFlags>(vulkan12Properties.supportedStencilResolveModes);
464464

465-
if (!vulkan12Properties.independentResolve || !vulkan12Properties.independentResolveNone)
466-
RETURN_NULL_PHYSICAL_DEVICE;
465+
//if (!vulkan12Properties.independentResolve || !vulkan12Properties.independentResolveNone)
466+
// RETURN_NULL_PHYSICAL_DEVICE;
467467

468468
// not dealing with vulkan12Properties.filterMinmaxSingleComponentFormats, TODO report in usage
469469
properties.limits.filterMinmaxImageComponentMapping = vulkan12Properties.filterMinmaxImageComponentMapping;
@@ -882,8 +882,8 @@ std::unique_ptr<CVulkanPhysicalDevice> CVulkanPhysicalDevice::create(core::smart
882882
// TODO sparse stuff
883883

884884
properties.limits.variableMultisampleRate = deviceFeatures.features.variableMultisampleRate;
885-
if (!deviceFeatures.features.inheritedQueries)
886-
RETURN_NULL_PHYSICAL_DEVICE;
885+
//if (!deviceFeatures.features.inheritedQueries)
886+
// RETURN_NULL_PHYSICAL_DEVICE;
887887

888888

889889
/* Vulkan 1.1 Core */

src/nbl/video/device_capabilities/device_limits.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{
1212
"type": "uint32_t",
1313
"name": "MinMaxSSBOSize",
14-
"value": "(0x1u << 30u) - 4"
14+
"value": "134217728"
1515
},
1616
{
1717
"type": "uint16_t",
@@ -360,7 +360,7 @@
360360
{
361361
"type": "uint32_t",
362362
"name": "maxFragmentCombinedOutputResources",
363-
"value": 127
363+
"value": 104
364364
}
365365
]
366366
},
@@ -808,7 +808,7 @@
808808
{
809809
"type": "core::bitflag<asset::IShader::E_SHADER_STAGE>",
810810
"name": "subgroupOpsShaderStages",
811-
"value": "asset::IShader::E_SHADER_STAGE::ESS_COMPUTE | asset::IShader::E_SHADER_STAGE::ESS_ALL_GRAPHICS"
811+
"value": "asset::IShader::E_SHADER_STAGE::ESS_UNKNOWN"
812812
},
813813
{
814814
"type": "bool",
@@ -1110,7 +1110,7 @@
11101110
{
11111111
"type": "core::bitflag<RESOLVE_MODE_FLAGS>",
11121112
"name": "supportedDepthResolveModes",
1113-
"value": "RESOLVE_MODE_FLAGS::SAMPLE_ZERO_BIT | RESOLVE_MODE_FLAGS::MIN_BIT | RESOLVE_MODE_FLAGS::MAX_BIT"
1113+
"value": "RESOLVE_MODE_FLAGS::SAMPLE_ZERO_BIT"
11141114
},
11151115
{
11161116
"type": "core::bitflag<RESOLVE_MODE_FLAGS>",

0 commit comments

Comments
 (0)