[TEST] Debugger GPU unswizzle shaders

This commit is contained in:
CamilleLaVey
2026-07-06 02:10:21 -04:00
parent 7307518e44
commit 4bf8828df1
12 changed files with 522 additions and 24 deletions
@@ -400,6 +400,16 @@ FN_MAX_LIMIT_LIST
return features.bit16_storage.uniformAndStorageBuffer16BitAccess;
}
/// Returns true if the device supports reading 8-bit values from a storage buffer.
bool IsStorageBuffer8BitAccessSupported() const {
return features.bit8_storage.storageBuffer8BitAccess;
}
/// Returns true if the device supports reading 16-bit values from a storage buffer.
bool IsStorageBuffer16BitAccessSupported() const {
return features.bit16_storage.storageBuffer16BitAccess;
}
/// Returns true if the device supports binding multisample images as storage images.
bool IsStorageImageMultisampleSupported() const {
return features.features.shaderStorageImageMultisample;
@@ -430,6 +440,11 @@ FN_MAX_LIMIT_LIST
return features.features.shaderStorageImageReadWithoutFormat;
}
/// Returns true if formatless image store is supported.
bool IsFormatlessImageStoreSupported() const {
return features.features.shaderStorageImageWriteWithoutFormat;
}
/// Returns true if shader int64 is supported.
bool IsShaderInt64Supported() const {
return features.features.shaderInt64;