nvk: Allow R32_UINT

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Faith Ekstrand
2023-01-30 20:11:48 -06:00
committed by Marge Bot
parent ecbc820898
commit 460a026d72
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -2,6 +2,7 @@
#include "nvtypes.h"
#include "classes/cl902d.h"
#include "classes/cl90c0.h"
/*
* nvidia names
@@ -157,4 +158,9 @@ struct nvk_format nvk_formats[NVK_FORMATS] = {
.hw_format = NV902D_SET_SRC_FORMAT_V_RF32_GF32_BF32_AF32,
.supports_2d_blit = true,
},
{
.vk_format = VK_FORMAT_R32_UINT,
.hw_format = NV90C0_SET_SU_LD_ST_TARGET_FORMAT_COLOR_RU32,
.supports_2d_blit = false,
},
};
+1 -1
View File
@@ -10,7 +10,7 @@ struct nvk_format {
bool supports_2d_blit:1;
};
#define NVK_FORMATS 27
#define NVK_FORMATS 28
extern struct nvk_format nvk_formats[NVK_FORMATS];
#endif