mirror of https://github.com/bkaradzic/bgfx
A follow up fix for the PrimitiveID capability (#3159)
* Added a new capability to check for PrimitiveID support * A fix for PrimitiveID capability not listed in the debug log
This commit is contained in:
parent
82b70a0230
commit
a16f603e3c
|
@ -1573,6 +1573,7 @@ namespace bgfx
|
|||
CAPS_FLAGS(BGFX_CAPS_VERTEX_ATTRIB_HALF),
|
||||
CAPS_FLAGS(BGFX_CAPS_VERTEX_ATTRIB_UINT10),
|
||||
CAPS_FLAGS(BGFX_CAPS_VERTEX_ID),
|
||||
CAPS_FLAGS(BGFX_CAPS_PRIMITIVE_ID),
|
||||
CAPS_FLAGS(BGFX_CAPS_VIEWPORT_LAYER_ARRAY),
|
||||
#undef CAPS_FLAGS
|
||||
};
|
||||
|
@ -5789,6 +5790,7 @@ BX_STATIC_ASSERT( (0
|
|||
| BGFX_CAPS_VERTEX_ATTRIB_HALF
|
||||
| BGFX_CAPS_VERTEX_ATTRIB_UINT10
|
||||
| BGFX_CAPS_VERTEX_ID
|
||||
| BGFX_CAPS_PRIMITIVE_ID
|
||||
| BGFX_CAPS_VIEWPORT_LAYER_ARRAY
|
||||
| BGFX_CAPS_DRAW_INDIRECT_COUNT
|
||||
) == (0
|
||||
|
@ -5816,6 +5818,7 @@ BX_STATIC_ASSERT( (0
|
|||
^ BGFX_CAPS_VERTEX_ATTRIB_HALF
|
||||
^ BGFX_CAPS_VERTEX_ATTRIB_UINT10
|
||||
^ BGFX_CAPS_VERTEX_ID
|
||||
^ BGFX_CAPS_PRIMITIVE_ID
|
||||
^ BGFX_CAPS_VIEWPORT_LAYER_ARRAY
|
||||
^ BGFX_CAPS_DRAW_INDIRECT_COUNT
|
||||
) );
|
||||
|
|
Loading…
Reference in New Issue