mirror of
https://github.com/godotengine/godot
synced 2024-11-02 12:55:22 +00:00
419b342a9a
Make BC6 and BC7 CVTT faster while still having better quality than DXT5.
12 lines
277 B
C++
12 lines
277 B
C++
#pragma once
|
|
#ifndef __CVTT_CONFIG_H__
|
|
#define __CVTT_CONFIG_H__
|
|
|
|
#if (defined(_M_IX86_FP) && _M_IX86_FP >= 2) || defined(_M_X64) || defined(__SSE2__)
|
|
#define CVTT_USE_SSE2
|
|
#endif
|
|
|
|
// Define this to compile everything as a single source file
|
|
//#define CVTT_SINGLE_FILE
|
|
|
|
#endif
|