mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 22:20:14 +01:00
zink: remove needless requirements
We never required the uniform texel buffer bit for more than
bufferFeatures for a bunch of these formats.
Similarly, we *don't* need the uniform texel buffer bit for sampled
image access.
For the image-dimensions, the Mesa frontend doesn't validate the max 1D,
3D or Cube sizes, nor the max texture layers. So we'll expose GL 4.1
without these, even if that's not conformant.
Finally, we don't require robustImageAccess2 for OpenGL 4.3 at all. All
we need is the robustBufferAccess feature.
Fixes: 2ea481b2f0 ("Zink: add Zink profiles file")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19779>
This commit is contained in:
parent
b707cf24a3
commit
b60bc52992
1 changed files with 0 additions and 55 deletions
|
|
@ -124,12 +124,6 @@
|
|||
"formats": {
|
||||
"VK_FORMAT_R32G32B32_SFLOAT": {
|
||||
"VkFormatProperties": {
|
||||
"linearTilingFeatures": [
|
||||
"VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT"
|
||||
],
|
||||
"optimalTilingFeatures": [
|
||||
"VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT"
|
||||
],
|
||||
"bufferFeatures": [
|
||||
"VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT"
|
||||
]
|
||||
|
|
@ -137,12 +131,6 @@
|
|||
},
|
||||
"VK_FORMAT_R32G32B32_SINT": {
|
||||
"VkFormatProperties": {
|
||||
"linearTilingFeatures": [
|
||||
"VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT"
|
||||
],
|
||||
"optimalTilingFeatures": [
|
||||
"VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT"
|
||||
],
|
||||
"bufferFeatures": [
|
||||
"VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT"
|
||||
]
|
||||
|
|
@ -150,12 +138,6 @@
|
|||
},
|
||||
"VK_FORMAT_R32G32B32_UINT": {
|
||||
"VkFormatProperties": {
|
||||
"linearTilingFeatures": [
|
||||
"VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT"
|
||||
],
|
||||
"optimalTilingFeatures": [
|
||||
"VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT"
|
||||
],
|
||||
"bufferFeatures": [
|
||||
"VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT"
|
||||
]
|
||||
|
|
@ -172,11 +154,7 @@
|
|||
"properties": {
|
||||
"VkPhysicalDeviceProperties": {
|
||||
"limits": {
|
||||
"maxImageDimension1D": 16384,
|
||||
"maxImageDimension2D": 16384,
|
||||
"maxImageDimension3D": 2048,
|
||||
"maxImageDimensionCube": 16384,
|
||||
"maxImageArrayLayers": 2048,
|
||||
"maxViewports": 16
|
||||
}
|
||||
}
|
||||
|
|
@ -214,16 +192,10 @@
|
|||
}
|
||||
},
|
||||
"gl43_baseline": {
|
||||
"extensions": {
|
||||
"VK_EXT_robustness2": 1
|
||||
},
|
||||
"features": {
|
||||
"VkPhysicalDeviceFeatures": {
|
||||
"robustBufferAccess": true,
|
||||
"multiDrawIndirect": true
|
||||
},
|
||||
"VkPhysicalDeviceRobustness2FeaturesEXT": {
|
||||
"robustImageAccess2": true
|
||||
}
|
||||
},
|
||||
"formats": {
|
||||
|
|
@ -234,9 +206,6 @@
|
|||
],
|
||||
"optimalTilingFeatures": [
|
||||
"VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT"
|
||||
],
|
||||
"bufferFeatures": [
|
||||
"VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
@ -247,9 +216,6 @@
|
|||
],
|
||||
"optimalTilingFeatures": [
|
||||
"VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT"
|
||||
],
|
||||
"bufferFeatures": [
|
||||
"VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
@ -260,9 +226,6 @@
|
|||
],
|
||||
"optimalTilingFeatures": [
|
||||
"VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT"
|
||||
],
|
||||
"bufferFeatures": [
|
||||
"VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
@ -273,9 +236,6 @@
|
|||
],
|
||||
"optimalTilingFeatures": [
|
||||
"VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT"
|
||||
],
|
||||
"bufferFeatures": [
|
||||
"VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
@ -286,9 +246,6 @@
|
|||
],
|
||||
"optimalTilingFeatures": [
|
||||
"VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT"
|
||||
],
|
||||
"bufferFeatures": [
|
||||
"VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
@ -299,9 +256,6 @@
|
|||
],
|
||||
"optimalTilingFeatures": [
|
||||
"VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT"
|
||||
],
|
||||
"bufferFeatures": [
|
||||
"VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
@ -312,9 +266,6 @@
|
|||
],
|
||||
"optimalTilingFeatures": [
|
||||
"VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT"
|
||||
],
|
||||
"bufferFeatures": [
|
||||
"VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -327,12 +278,6 @@
|
|||
"formats": {
|
||||
"VK_FORMAT_B10G11R11_UFLOAT_PACK32": {
|
||||
"VkFormatProperties": {
|
||||
"linearTilingFeatures": [
|
||||
"VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT"
|
||||
],
|
||||
"optimalTilingFeatures": [
|
||||
"VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT"
|
||||
],
|
||||
"bufferFeatures": [
|
||||
"VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT"
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue