[vulkan] Replaced old logic for DescriptorType for a numeric handling per type to avoid mismatches during format binding

This commit is contained in:
CamilleLaVey 2026-03-05 21:45:38 -04:00 committed by lizzie
parent ee1ffbaf2e
commit 186c0b0cc7
6 changed files with 112 additions and 41 deletions

View file

@ -41,11 +41,15 @@ struct TextureDefinition {
Id image_type;
u32 count;
bool is_multisample;
NumericType numeric_type;
};
struct TextureBufferDefinition {
Id id;
Id image_type;
Id pointer_type;
u32 count;
NumericType numeric_type;
};
struct ImageBufferDefinition {
@ -53,7 +57,7 @@ struct ImageBufferDefinition {
Id image_type;
Id pointer_type;
u32 count;
bool is_integer;
NumericType numeric_type;
};
struct ImageDefinition {
@ -61,7 +65,7 @@ struct ImageDefinition {
Id image_type;
Id pointer_type;
u32 count;
bool is_integer;
NumericType numeric_type;
};
struct UniformDefinitions {