[ir, spv] Added support for sampler component types in texture handling

This commit is contained in:
CamilleLaVey
2025-11-27 16:18:15 -04:00
committed by lizzie
parent 0d35cf9048
commit e012f7cff8
8 changed files with 200 additions and 20 deletions
+9
View File
@@ -154,6 +154,14 @@ enum class ImageFormat : u32 {
R32G32B32A32_UINT,
};
enum class SamplerComponentType : u8 {
Float,
Sint,
Uint,
Depth,
Stencil,
};
enum class Interpolation {
Smooth,
Flat,
@@ -207,6 +215,7 @@ using ImageBufferDescriptors = boost::container::small_vector<ImageBufferDescrip
struct TextureDescriptor {
TextureType type;
SamplerComponentType component_type;
bool is_depth;
bool is_multisample;
bool has_secondary;