mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-18 23:07:00 +02:00
[vulkan] Replaced old logic for DescriptorType for a numeric handling per type to avoid mismatches during format binding
This commit is contained in:
parent
ee1ffbaf2e
commit
186c0b0cc7
6 changed files with 112 additions and 41 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue