mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-08 19:52:47 +01:00
Map BC7 (BPTC) dds textures to native VK_FORMAT_BC7 in the Vulkan renderer
This commit is contained in:
@@ -33,13 +33,6 @@ http://mozilla.org/MPL/2.0/.
|
||||
#ifndef FOURCC_DX10
|
||||
#define FOURCC_DX10 (MAKEFOURCC('D','X','1','0'))
|
||||
#endif
|
||||
// BC7, core since GL 4.2 (ARB_texture_compression_bptc), the bundled glad is generated for 3.3
|
||||
#ifndef GL_COMPRESSED_RGBA_BPTC_UNORM
|
||||
#define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C
|
||||
#endif
|
||||
#ifndef GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM
|
||||
#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
|
||||
#endif
|
||||
|
||||
// texture data read by a worker thread. the texture itself is only touched by the main thread,
|
||||
// which takes the data over when the texture is created on the gl side
|
||||
|
||||
Reference in New Issue
Block a user