|
|
@@ -243,8 +243,9 @@
|
|
|
#define BGFX_CAPS_TEXTURE_FORMAT_PTC22 UINT64_C(0x0000000000002000)
|
|
|
#define BGFX_CAPS_TEXTURE_FORMAT_PTC24 UINT64_C(0x0000000000004000)
|
|
|
#define BGFX_CAPS_TEXTURE_3D UINT64_C(0x0000000000010000)
|
|
|
-#define BGFX_CAPS_INSTANCING UINT64_C(0x0000000000020000)
|
|
|
-#define BGFX_CAPS_RENDERER_MULTITHREADED UINT64_C(0x0000000000040000)
|
|
|
+#define BGFX_CAPS_VERTEX_ATTRIB_HALF UINT64_C(0x0000000000020000)
|
|
|
+#define BGFX_CAPS_INSTANCING UINT64_C(0x0000000000040000)
|
|
|
+#define BGFX_CAPS_RENDERER_MULTITHREADED UINT64_C(0x0000000000080000)
|
|
|
|
|
|
///
|
|
|
#define BGFX_HANDLE(_name) \
|
|
|
@@ -316,7 +317,7 @@ namespace bgfx
|
|
|
{
|
|
|
Uint8,
|
|
|
Int16,
|
|
|
- Half,
|
|
|
+ Half, // Availability depends on: BGFX_CAPS_VERTEX_ATTRIB_HALF.
|
|
|
Float,
|
|
|
|
|
|
Count
|
|
|
@@ -325,6 +326,7 @@ namespace bgfx
|
|
|
|
|
|
struct TextureFormat
|
|
|
{
|
|
|
+ // Availability depends on BGFX_CAPS_TEXTURE_FORMAT_*.
|
|
|
enum Enum
|
|
|
{
|
|
|
BC1, // DXT1
|