vulkan: improve sRGB support for textures

This commit is contained in:
slime
2022-09-20 19:04:56 -03:00
parent a46d44500e
commit 2b074fe90e
4 changed files with 40 additions and 64 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ public:
static uint32_t getSupportedVulkanApiVersion(uint32_t suggested);
static VkFormat getVulkanVertexFormat(DataFormat format);
static TextureFormat getTextureFormat(PixelFormat);
static TextureFormat getTextureFormat(PixelFormat, bool sRGB);
static std::string getVendorName(uint32_t vendorId);
static std::string getVulkanApiVersion(uint32_t apiVersion);
static VkPrimitiveTopology getPrimitiveTypeTopology(graphics::PrimitiveType);