Skip to content

Conversation

@devshgraphicsprogramming
Copy link
Member

Description

Testing

TODO list:

Comment on lines +1921 to +1944
// erase extensions not supported by llvm
{
core::vector<const char*> llvmUnsupportedExtensions = {
"VK_NV_shader_image_footprint",
"VK_KHR_fragment_shader_barycentric",
"VK_EXT_conservative_rasterization",
"VK_KHR_external_memory_win32",
"VK_KHR_shader_subgroup_uniform_control_flow",
"VK_EXT_pci_bus_info",
"VK_KHR_external_fence_win32",
"VK_KHR_external_semaphore_win32",
"VK_KHR_win32_keyed_mutex",
"VK_EXT_discard_rectangles"
"VK_NV_compute_shader_derivatives",
"VK_NV_shader_sm_builtins"
};

for (const char* extension : llvmUnsupportedExtensions)
{
auto it = std::find_if(extensionStrings.begin(), extensionStrings.end(), [extension](const char* s) { return std::strcmp(s, extension) == 0; });
if(it != extensionStrings.end())
extensionStrings.erase(it);
}
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can get removed, we achieve much better with Vulkan Configurator & Profile Layer

Comment on lines 810 to +811
"name": "subgroupOpsShaderStages",
"value": "asset::IShader::E_SHADER_STAGE::ESS_COMPUTE | asset::IShader::E_SHADER_STAGE::ESS_ALL_GRAPHICS"
"value": "asset::IShader::E_SHADER_STAGE::ESS_UNKNOWN"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does llvm-pipe report here ?

Comment on lines 1112 to +1113
"name": "supportedDepthResolveModes",
"value": "RESOLVE_MODE_FLAGS::SAMPLE_ZERO_BIT | RESOLVE_MODE_FLAGS::MIN_BIT | RESOLVE_MODE_FLAGS::MAX_BIT"
"value": "RESOLVE_MODE_FLAGS::SAMPLE_ZERO_BIT"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we intend to downgrade Nabla (by merging this PR) then we need to neatly handle this in renderpass creation

Comment on lines +1895 to +1897
// remove inheritedQueries since llvmpipe doesn't support it
vk_deviceFeatures2.features.inheritedQueries = VK_FALSE;
//vk_deviceFeatures2.features = VkPhysicalDeviceFeatures{};
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we intend to downgrade Nabla permamently, then we need to bring inheritedQueries into the Nabla limits JSON

then check in commandbuffers that when someone is recording an execute secondary commandbuffers command in a primary cmdbuf, no queries are open unless inheritedQueries limit is true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants