mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-18 09:25:32 +00:00
Add DXT3 texture format
This commit is contained in:
@@ -1315,6 +1315,11 @@ class VulkanTextureS : public GraphicsDataNode<ITextureS> {
|
||||
m_pixelPitchNum = 1;
|
||||
m_pixelPitchDenom = 2;
|
||||
break;
|
||||
case TextureFormat::DXT3:
|
||||
pfmt = VK_FORMAT_BC2_UNORM_BLOCK;
|
||||
m_pixelPitchNum = 1;
|
||||
m_pixelPitchDenom = 1;
|
||||
break;
|
||||
default:
|
||||
Log.report(logvisor::Fatal, "unsupported tex format");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user