64, {{0}, {8}, {32}, {0}},
{{0}, {32}, {0}, {0}}},
- {SVGA3D_R32_FLOAT_X8X24_TYPELESS, SVGA3DBLOCKDESC_R_FP,
+ {SVGA3D_R32_FLOAT_X8X24, SVGA3DBLOCKDESC_R_FP,
{1, 1, 1}, 8, 8,
64, {{0}, {0}, {32}, {0}},
{{0}, {0}, {0}, {0}}},
- {SVGA3D_X32_TYPELESS_G8X24_UINT, SVGA3DBLOCKDESC_GREEN,
+ {SVGA3D_X32_G8X24_UINT, SVGA3DBLOCKDESC_GREEN,
{1, 1, 1}, 8, 8,
64, {{0}, {8}, {0}, {0}},
{{0}, {32}, {0}, {0}}},
32, {{0}, {8}, {24}, {0}},
{{0}, {24}, {0}, {0}}},
- {SVGA3D_R24_UNORM_X8_TYPELESS, SVGA3DBLOCKDESC_RED,
+ {SVGA3D_R24_UNORM_X8, SVGA3DBLOCKDESC_RED,
{1, 1, 1}, 4, 4,
32, {{0}, {0}, {24}, {0}},
{{0}, {0}, {0}, {0}}},
- {SVGA3D_X24_TYPELESS_G8_UINT, SVGA3DBLOCKDESC_GREEN,
+ {SVGA3D_X24_G8_UINT, SVGA3DBLOCKDESC_GREEN,
{1, 1, 1}, 4, 4,
32, {{0}, {8}, {0}, {0}},
{{0}, {24}, {0}, {0}}},
SVGA3D_R32G32_SINT = 59,
SVGA3D_R32G8X24_TYPELESS = 60,
SVGA3D_D32_FLOAT_S8X24_UINT = 61,
- SVGA3D_R32_FLOAT_X8X24_TYPELESS = 62,
- SVGA3D_X32_TYPELESS_G8X24_UINT = 63,
+ SVGA3D_R32_FLOAT_X8X24 = 62,
+ SVGA3D_X32_G8X24_UINT = 63,
SVGA3D_R10G10B10A2_TYPELESS = 64,
SVGA3D_R10G10B10A2_UINT = 65,
SVGA3D_R11G11B10_FLOAT = 66,
SVGA3D_R32_SINT = 78,
SVGA3D_R24G8_TYPELESS = 79,
SVGA3D_D24_UNORM_S8_UINT = 80,
- SVGA3D_R24_UNORM_X8_TYPELESS = 81,
- SVGA3D_X24_TYPELESS_G8_UINT = 82,
+ SVGA3D_R24_UNORM_X8 = 81,
+ SVGA3D_X24_G8_UINT = 82,
SVGA3D_R8G8_TYPELESS = 83,
SVGA3D_R8G8_UNORM = 84,
SVGA3D_R8G8_UINT = 85,
* avoid querying the host. In particular, depth/stencil formats which
* can be rendered to and sampled from. For example, the gallium format
* PIPE_FORMAT_Z24_UNORM_S8_UINT is converted to SVGA3D_D24_UNORM_S8_UINT
- * for rendering but converted to SVGA3D_R24_UNORM_X8_TYPELESS for sampling.
+ * for rendering but converted to SVGA3D_R24_UNORM_X8 for sampling.
* If we want to query if a format supports both rendering and sampling the
* host will tell us no for SVGA3D_D24_UNORM_S8_UINT, SVGA3D_D16_UNORM and
- * SVGA3D_R24_UNORM_X8_TYPELESS. So we override the host query for those
+ * SVGA3D_R24_UNORM_X8. So we override the host query for those
* formats and report that both can do rendering and sampling.
*/
static const struct format_cap format_cap_table[] = {
{
/* Special case: no devcap / report sampler and depth/stencil ability
*/
- "SVGA3D_R32_FLOAT_X8X24_TYPELESS",
- SVGA3D_R32_FLOAT_X8X24_TYPELESS,
+ "SVGA3D_R32_FLOAT_X8X24",
+ SVGA3D_R32_FLOAT_X8X24,
0, /*SVGA3D_DEVCAP_DXFMT_R32_FLOAT_X8X24_TYPELESS*/
1, 1, 8,
SVGA3DFORMAT_OP_TEXTURE |
SVGA3DFORMAT_OP_ZSTENCIL
},
{
- "SVGA3D_X32_TYPELESS_G8X24_UINT",
- SVGA3D_X32_TYPELESS_G8X24_UINT,
+ "SVGA3D_X32_G8X24_UINT",
+ SVGA3D_X32_G8X24_UINT,
SVGA3D_DEVCAP_DXFMT_X32_TYPELESS_G8X24_UINT,
1, 1, 4, 0
},
{
/* Special case: no devcap / report sampler and depth/stencil ability
*/
- "SVGA3D_R24_UNORM_X8_TYPELESS",
- SVGA3D_R24_UNORM_X8_TYPELESS,
+ "SVGA3D_R24_UNORM_X8",
+ SVGA3D_R24_UNORM_X8,
0, /*SVGA3D_DEVCAP_DXFMT_R24_UNORM_X8_TYPELESS*/
1, 1, 4,
SVGA3DFORMAT_OP_TEXTURE |
SVGA3DFORMAT_OP_ZSTENCIL
},
{
- "SVGA3D_X24_TYPELESS_G8_UINT",
- SVGA3D_X24_TYPELESS_G8_UINT,
+ "SVGA3D_X24_G8_UINT",
+ SVGA3D_X24_G8_UINT,
SVGA3D_DEVCAP_DXFMT_X24_TYPELESS_G8_UINT,
1, 1, 4, 0
},
return SVGA3D_R32G32_TYPELESS;
case SVGA3D_D32_FLOAT_S8X24_UINT:
return SVGA3D_R32G8X24_TYPELESS;
- case SVGA3D_X32_TYPELESS_G8X24_UINT:
- return SVGA3D_R32_FLOAT_X8X24_TYPELESS;
+ case SVGA3D_X32_G8X24_UINT:
+ return SVGA3D_R32_FLOAT_X8X24;
case SVGA3D_R10G10B10A2_UINT:
case SVGA3D_R10G10B10A2_UNORM:
return SVGA3D_R10G10B10A2_TYPELESS;
return SVGA3D_R32_TYPELESS;
case SVGA3D_D24_UNORM_S8_UINT:
return SVGA3D_R24G8_TYPELESS;
- case SVGA3D_X24_TYPELESS_G8_UINT:
- return SVGA3D_R24_UNORM_X8_TYPELESS;
+ case SVGA3D_X24_G8_UINT:
+ return SVGA3D_R24_UNORM_X8;
case SVGA3D_R8G8_UNORM:
case SVGA3D_R8G8_SNORM:
case SVGA3D_R8G8_UINT:
case SVGA3D_D16_UNORM:
return SVGA3D_R16_UNORM;
case SVGA3D_D24_UNORM_S8_UINT:
- return SVGA3D_R24_UNORM_X8_TYPELESS;
+ return SVGA3D_R24_UNORM_X8;
case SVGA3D_D32_FLOAT:
return SVGA3D_R32_FLOAT;
case SVGA3D_D32_FLOAT_S8X24_UINT:
- return SVGA3D_R32_FLOAT_X8X24_TYPELESS;
+ return SVGA3D_R32_FLOAT_X8X24;
default:
return format;
}