mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 16:00:08 +01:00
nak: disable imma 8x8x16 on Blackwell+
It's not supported anymore
Fixes: 669c8a5145 ("nvk: Advertise VK_KHR_cooperative_matrix")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36163>
This commit is contained in:
parent
4bb67cacba
commit
da61149b2a
1 changed files with 16 additions and 14 deletions
|
|
@ -56,7 +56,7 @@
|
||||||
#include "clc797.h"
|
#include "clc797.h"
|
||||||
#include "clc6c0.h"
|
#include "clc6c0.h"
|
||||||
#include "clc997.h"
|
#include "clc997.h"
|
||||||
|
#include "clcdc0.h"
|
||||||
static uint32_t
|
static uint32_t
|
||||||
nvk_get_vk_version(const struct nv_device_info *info)
|
nvk_get_vk_version(const struct nv_device_info *info)
|
||||||
{
|
{
|
||||||
|
|
@ -1796,6 +1796,7 @@ nvk_GetPhysicalDeviceCooperativeMatrixPropertiesKHR(VkPhysicalDevice physicalDev
|
||||||
if (result_type == VK_COMPONENT_TYPE_UINT32_KHR && sat)
|
if (result_type == VK_COMPONENT_TYPE_UINT32_KHR && sat)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (pdev->info.cls_compute < BLACKWELL_COMPUTE_A) {
|
||||||
vk_outarray_append_typed(VkCooperativeMatrixPropertiesKHR, &out, p)
|
vk_outarray_append_typed(VkCooperativeMatrixPropertiesKHR, &out, p)
|
||||||
{
|
{
|
||||||
*p = (struct VkCooperativeMatrixPropertiesKHR){
|
*p = (struct VkCooperativeMatrixPropertiesKHR){
|
||||||
|
|
@ -1811,6 +1812,7 @@ nvk_GetPhysicalDeviceCooperativeMatrixPropertiesKHR(VkPhysicalDevice physicalDev
|
||||||
.scope = VK_SCOPE_SUBGROUP_KHR
|
.scope = VK_SCOPE_SUBGROUP_KHR
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (pdev->info.cls_compute >= AMPERE_COMPUTE_A) {
|
if (pdev->info.cls_compute >= AMPERE_COMPUTE_A) {
|
||||||
vk_outarray_append_typed(VkCooperativeMatrixPropertiesKHR, &out, p)
|
vk_outarray_append_typed(VkCooperativeMatrixPropertiesKHR, &out, p)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue