mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 10:56:58 +02:00
graphics: replace raw GPU enum values with typed formats
This commit is contained in:
@@ -29,7 +29,7 @@ ResourceDescriptorType ShaderClassifyResourceDescriptor(const uint32_t* desc) {
|
||||
default: break;
|
||||
}
|
||||
|
||||
return (raw_type & Prospero::GpuEnumValue(Prospero::ImageType::kColor1D)) == 0
|
||||
return (raw_type & static_cast<uint32_t>(Prospero::ImageType::kColor1D)) == 0
|
||||
? ResourceDescriptorType::Buffer
|
||||
: ResourceDescriptorType::Unused;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user