wined3d: Introduce WINED3DFMT_INST and use it in CheckTextureCapability().
This commit is contained in:
parent
a55399f5b6
commit
0cf44ae02e
|
@ -3124,7 +3124,7 @@ static BOOL CheckTextureCapability(struct wined3d_adapter *adapter,
|
||||||
*
|
*
|
||||||
* With Shader Model 3.0 capable cards Instancing 'just works' in Windows.
|
* With Shader Model 3.0 capable cards Instancing 'just works' in Windows.
|
||||||
*/
|
*/
|
||||||
case WINEMAKEFOURCC('I','N','S','T'):
|
case WINED3DFMT_INST:
|
||||||
TRACE("ATI Instancing check hack\n");
|
TRACE("ATI Instancing check hack\n");
|
||||||
if (gl_info->supported[ARB_VERTEX_PROGRAM] || gl_info->supported[ARB_VERTEX_SHADER])
|
if (gl_info->supported[ARB_VERTEX_PROGRAM] || gl_info->supported[ARB_VERTEX_SHADER])
|
||||||
{
|
{
|
||||||
|
|
|
@ -266,6 +266,7 @@ typedef enum _WINED3DFORMAT
|
||||||
WINED3DFMT_G8R8_G8B8 = 0x42475247, /* GRGB */
|
WINED3DFMT_G8R8_G8B8 = 0x42475247, /* GRGB */
|
||||||
WINED3DFMT_R8G8_B8G8 = 0x47424752, /* RGBG */
|
WINED3DFMT_R8G8_B8G8 = 0x47424752, /* RGBG */
|
||||||
WINED3DFMT_ATI2N = 0x32495441, /* ATI2 */
|
WINED3DFMT_ATI2N = 0x32495441, /* ATI2 */
|
||||||
|
WINED3DFMT_INST = 0x54534e49, /* INST */
|
||||||
WINED3DFMT_NVHU = 0x5548564e, /* NVHU */
|
WINED3DFMT_NVHU = 0x5548564e, /* NVHU */
|
||||||
WINED3DFMT_NVHS = 0x5348564e, /* NVHS */
|
WINED3DFMT_NVHS = 0x5348564e, /* NVHS */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue