Skip to content

video: adjust device_limits/features to the updated profiles #829

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Mar 4, 2025

Conversation

alichraghi
Copy link
Contributor

Description

Testing

TODO list:

@devshgraphicsprogramming
Copy link
Member

List what examples you tested with this.

@devshgraphicsprogramming devshgraphicsprogramming merged commit 3f292b7 into master Mar 4, 2025
1 check failed
@devshgraphicsprogramming devshgraphicsprogramming deleted the ali_dl branch March 4, 2025 15:29
Comment on lines +904 to +927
if (properties.limits.shaderFloat16) {
if (!vulkan12Properties.shaderSignedZeroInfNanPreserveFloat16)
return nullptr;
if (!vulkan12Properties.shaderDenormPreserveFloat16)
return nullptr;
if (!vulkan12Properties.shaderDenormFlushToZeroFloat16)
return nullptr;
if (!vulkan12Properties.shaderRoundingModeRTEFloat16)
return nullptr;
if (!vulkan12Properties.shaderRoundingModeRTZFloat16)
return nullptr;
}

if (properties.limits.shaderFloat64) {
if (!vulkan12Properties.shaderSignedZeroInfNanPreserveFloat64)
return nullptr;
if (!vulkan12Properties.shaderDenormPreserveFloat64)
return nullptr;
if (!vulkan12Properties.shaderDenormFlushToZeroFloat64)
return nullptr;
if (!vulkan12Properties.shaderRoundingModeRTEFloat64)
return nullptr;
if (!vulkan12Properties.shaderRoundingModeRTZFloat64)
return nullptr;

Choose a reason for hiding this comment

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

Denorm and RTZ are not all true on the RTX 3060
image

Comment on lines 905 to +991
"expose": "DISABLE"
},
{
"type": "bool",
"name": "shaderSignedZeroInfNanPreserveFloat32",
"value": true,
"expose": "DISABLE"
"expose": "REQUIRE"
},
{
"type": "bool",
"name": "shaderSignedZeroInfNanPreserveFloat64",
"value": false
"value": false,
"expose": "DISABLE"
},
{
"type": "bool",
"name": "shaderDenormPreserveFloat16",
"value": false
"value": false,
"expose": "DISABLE"
},
{
"type": "bool",
"name": "shaderDenormPreserveFloat32",
"value": false
"value": true,
"expose": "REQUIRE"
},
{
"type": "bool",
"name": "shaderDenormPreserveFloat64",
"value": false
"value": false,
"expose": "DISABLE"
},
{
"type": "bool",
"name": "shaderDenormFlushToZeroFloat16",
"value": false
"value": false,
"expose": "DISABLE"
},
{
"type": "bool",
"name": "shaderDenormFlushToZeroFloat32",
"value": false
"value": true,
"expose": "REQUIRE"
},
{
"type": "bool",
"name": "shaderDenormFlushToZeroFloat64",
"value": false
"value": false,
"expose": "DISABLE"
},
{
"type": "bool",
"name": "shaderRoundingModeRTEFloat16",
"value": false,
"comment": ["ROADMAP2024 but no good support yet"]
"expose": "DISABLE"
},
{
"type": "bool",
"name": "shaderRoundingModeRTEFloat32",
"value": false,
"comment": ["ROADMAP2024 but no good support yet"]
"value": true,
"expose": "REQUIRE"
},
{
"type": "bool",
"name": "shaderRoundingModeRTEFloat64",
"value": false
"value": false,
"expose": "DISABLE"
},
{
"type": "bool",
"name": "shaderRoundingModeRTZFloat16",
"value": false
"value": false,
"expose": "DISABLE"
},
{
"type": "bool",
"name": "shaderRoundingModeRTZFloat32",
"value": false
"value": true,
"expose": "REQUIRE"
},
{
"type": "bool",
"name": "shaderRoundingModeRTZFloat64",
"value": false
"value": false,
"expose": "DISABLE"

Choose a reason for hiding this comment

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

something went wrong here
image

devshgraphicsprogramming added a commit that referenced this pull request Mar 6, 2025
…evice-limits

video: Revert some device limit changes from #829
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.

2 participants