[Mesa-dev] [PATCH 1/7] i965: Add all surface types to the batch decode
Ben Widawsky
benjamin.widawsky at intel.com
Thu Apr 23 16:49:57 PDT 2015
It's true that not all surfaces apply for every gen, but for the most part this
is what we want. (The unfortunate case is when we use an valid surface, but not
for the specific GEN).
This was automated with a vim macro.
v2: Shortened common forms such as R8G8B8A8->RGBA8. Note that this makes some of
the sample output in subsequent commits slightly incorrect.
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
---
src/mesa/drivers/dri/i965/brw_state_dump.c | 226 ++++++++++++++++++++++++++++-
1 file changed, 219 insertions(+), 7 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_state_dump.c b/src/mesa/drivers/dri/i965/brw_state_dump.c
index 5cf70eb..a688ba3 100644
--- a/src/mesa/drivers/dri/i965/brw_state_dump.c
+++ b/src/mesa/drivers/dri/i965/brw_state_dump.c
@@ -67,13 +67,225 @@ get_965_surfacetype(unsigned int surfacetype)
static const char *
get_965_surface_format(unsigned int surface_format)
{
- switch (surface_format) {
- case 0x000: return "r32g32b32a32_float";
- case 0x0c1: return "b8g8r8a8_unorm";
- case 0x100: return "b5g6r5_unorm";
- case 0x102: return "b5g5r5a1_unorm";
- case 0x104: return "b4g4r4a4_unorm";
- default: return "unknown";
+ switch (surface_format) {
+ case BRW_SURFACEFORMAT_R32G32B32A32_FLOAT: return "RGBA32_FLOAT";
+ case BRW_SURFACEFORMAT_R32G32B32A32_SINT: return "RGBA32_SINT";
+ case BRW_SURFACEFORMAT_R32G32B32A32_UINT: return "RGBA32_UINT";
+ case BRW_SURFACEFORMAT_R32G32B32A32_UNORM: return "RGBA32_UNORM";
+ case BRW_SURFACEFORMAT_R32G32B32A32_SNORM: return "RGBA32_SNORM";
+ case BRW_SURFACEFORMAT_R64G64_FLOAT: return "R64G64_FLOAT";
+ case BRW_SURFACEFORMAT_R32G32B32X32_FLOAT: return "RGB32X32_FLOAT";
+ case BRW_SURFACEFORMAT_R32G32B32A32_SSCALED: return "RGBA32_SSCALED";
+ case BRW_SURFACEFORMAT_R32G32B32A32_USCALED: return "RGBA32_USCALED";
+ case BRW_SURFACEFORMAT_R32G32B32A32_SFIXED: return "RGBA32_SFIXED";
+ case BRW_SURFACEFORMAT_R64G64_PASSTHRU: return "R64G64_PASSTHRU";
+ case BRW_SURFACEFORMAT_R32G32B32_FLOAT: return "RGB32_FLOAT";
+ case BRW_SURFACEFORMAT_R32G32B32_SINT: return "RGB32_SINT";
+ case BRW_SURFACEFORMAT_R32G32B32_UINT: return "RGB32_UINT";
+ case BRW_SURFACEFORMAT_R32G32B32_UNORM: return "RGB32_UNORM";
+ case BRW_SURFACEFORMAT_R32G32B32_SNORM: return "RGB32_SNORM";
+ case BRW_SURFACEFORMAT_R32G32B32_SSCALED: return "RGB32_SSCALED";
+ case BRW_SURFACEFORMAT_R32G32B32_USCALED: return "RGB32_USCALED";
+ case BRW_SURFACEFORMAT_R32G32B32_SFIXED: return "RGB32_SFIXED";
+ case BRW_SURFACEFORMAT_R16G16B16A16_UNORM: return "RGBA16_UNORM";
+ case BRW_SURFACEFORMAT_R16G16B16A16_SNORM: return "RGBA16_SNORM";
+ case BRW_SURFACEFORMAT_R16G16B16A16_SINT: return "RGBA16_SINT";
+ case BRW_SURFACEFORMAT_R16G16B16A16_UINT: return "RGBA16_UINT";
+ case BRW_SURFACEFORMAT_R16G16B16A16_FLOAT: return "RGBA16_FLOAT";
+ case BRW_SURFACEFORMAT_R32G32_FLOAT: return "R32G32_FLOAT";
+ case BRW_SURFACEFORMAT_R32G32_SINT: return "R32G32_SINT";
+ case BRW_SURFACEFORMAT_R32G32_UINT: return "R32G32_UINT";
+ case BRW_SURFACEFORMAT_R32_FLOAT_X8X24_TYPELESS: return "R32_FLOAT_X8X24_TYPELESS";
+ case BRW_SURFACEFORMAT_X32_TYPELESS_G8X24_UINT: return "X32_TYPELESS_G8X24_UINT";
+ case BRW_SURFACEFORMAT_L32A32_FLOAT: return "L32A32_FLOAT";
+ case BRW_SURFACEFORMAT_R32G32_UNORM: return "R32G32_UNORM";
+ case BRW_SURFACEFORMAT_R32G32_SNORM: return "R32G32_SNORM";
+ case BRW_SURFACEFORMAT_R64_FLOAT: return "R64_FLOAT";
+ case BRW_SURFACEFORMAT_R16G16B16X16_UNORM: return "RGBX16_UNORM";
+ case BRW_SURFACEFORMAT_R16G16B16X16_FLOAT: return "RGBX16_FLOAT";
+ case BRW_SURFACEFORMAT_A32X32_FLOAT: return "A32X32_FLOAT";
+ case BRW_SURFACEFORMAT_L32X32_FLOAT: return "L32X32_FLOAT";
+ case BRW_SURFACEFORMAT_I32X32_FLOAT: return "I32X32_FLOAT";
+ case BRW_SURFACEFORMAT_R16G16B16A16_SSCALED: return "RGBA16_SSCALED";
+ case BRW_SURFACEFORMAT_R16G16B16A16_USCALED: return "RGBA16_USCALED";
+ case BRW_SURFACEFORMAT_R32G32_SSCALED: return "R32G32_SSCALED";
+ case BRW_SURFACEFORMAT_R32G32_USCALED: return "R32G32_USCALED";
+ case BRW_SURFACEFORMAT_R32G32_FLOAT_LD: return "R32G32_FLOAT_LD";
+ case BRW_SURFACEFORMAT_R32G32_SFIXED: return "R32G32_SFIXED";
+ case BRW_SURFACEFORMAT_R64_PASSTHRU: return "R64_PASSTHRU";
+ case BRW_SURFACEFORMAT_B8G8R8A8_UNORM: return "B8G8R8A8_UNORM";
+ case BRW_SURFACEFORMAT_B8G8R8A8_UNORM_SRGB: return "B8G8R8A8_UNORM_SRGB";
+ case BRW_SURFACEFORMAT_R10G10B10A2_UNORM: return "R10G10B10A2_UNORM";
+ case BRW_SURFACEFORMAT_R10G10B10A2_UNORM_SRGB: return "R10G10B10A2_UNORM_SRGB";
+ case BRW_SURFACEFORMAT_R10G10B10A2_UINT: return "R10G10B10A2_UINT";
+ case BRW_SURFACEFORMAT_R10G10B10_SNORM_A2_UNORM: return "R10G10B10_SNORM_A2_UNORM";
+ case BRW_SURFACEFORMAT_R8G8B8A8_UNORM: return "RGBA8_UNORM";
+ case BRW_SURFACEFORMAT_R8G8B8A8_UNORM_SRGB: return "RGBA8_UNORM_SRGB";
+ case BRW_SURFACEFORMAT_R8G8B8A8_SNORM: return "RGBA8_SNORM";
+ case BRW_SURFACEFORMAT_R8G8B8A8_SINT: return "RGBA8_SINT";
+ case BRW_SURFACEFORMAT_R8G8B8A8_UINT: return "RGBA8_UINT";
+ case BRW_SURFACEFORMAT_R16G16_UNORM: return "R16G16_UNORM";
+ case BRW_SURFACEFORMAT_R16G16_SNORM: return "R16G16_SNORM";
+ case BRW_SURFACEFORMAT_R16G16_SINT: return "R16G16_SINT";
+ case BRW_SURFACEFORMAT_R16G16_UINT: return "R16G16_UINT";
+ case BRW_SURFACEFORMAT_R16G16_FLOAT: return "R16G16_FLOAT";
+ case BRW_SURFACEFORMAT_B10G10R10A2_UNORM: return "B10G10R10A2_UNORM";
+ case BRW_SURFACEFORMAT_B10G10R10A2_UNORM_SRGB: return "B10G10R10A2_UNORM_SRGB";
+ case BRW_SURFACEFORMAT_R11G11B10_FLOAT: return "R11G11B10_FLOAT";
+ case BRW_SURFACEFORMAT_R32_SINT: return "R32_SINT";
+ case BRW_SURFACEFORMAT_R32_UINT: return "R32_UINT";
+ case BRW_SURFACEFORMAT_R32_FLOAT: return "R32_FLOAT";
+ case BRW_SURFACEFORMAT_R24_UNORM_X8_TYPELESS: return "R24_UNORM_X8_TYPELESS";
+ case BRW_SURFACEFORMAT_X24_TYPELESS_G8_UINT: return "X24_TYPELESS_G8_UINT";
+ case BRW_SURFACEFORMAT_L16A16_UNORM: return "L16A16_UNORM";
+ case BRW_SURFACEFORMAT_I24X8_UNORM: return "I24X8_UNORM";
+ case BRW_SURFACEFORMAT_L24X8_UNORM: return "L24X8_UNORM";
+ case BRW_SURFACEFORMAT_A24X8_UNORM: return "A24X8_UNORM";
+ case BRW_SURFACEFORMAT_I32_FLOAT: return "I32_FLOAT";
+ case BRW_SURFACEFORMAT_L32_FLOAT: return "L32_FLOAT";
+ case BRW_SURFACEFORMAT_A32_FLOAT: return "A32_FLOAT";
+ case BRW_SURFACEFORMAT_B8G8R8X8_UNORM: return "B8G8R8X8_UNORM";
+ case BRW_SURFACEFORMAT_B8G8R8X8_UNORM_SRGB: return "B8G8R8X8_UNORM_SRGB";
+ case BRW_SURFACEFORMAT_R8G8B8X8_UNORM: return "RGB8X8_UNORM";
+ case BRW_SURFACEFORMAT_R8G8B8X8_UNORM_SRGB: return "RGB8X8_UNORM_SRGB";
+ case BRW_SURFACEFORMAT_R9G9B9E5_SHAREDEXP: return "R9G9B9E5_SHAREDEXP";
+ case BRW_SURFACEFORMAT_B10G10R10X2_UNORM: return "B10G10R10X2_UNORM";
+ case BRW_SURFACEFORMAT_L16A16_FLOAT: return "L16A16_FLOAT";
+ case BRW_SURFACEFORMAT_R32_UNORM: return "R32_UNORM";
+ case BRW_SURFACEFORMAT_R32_SNORM: return "R32_SNORM";
+ case BRW_SURFACEFORMAT_R10G10B10X2_USCALED: return "R10G10B10X2_USCALED";
+ case BRW_SURFACEFORMAT_R8G8B8A8_SSCALED: return "RGBA8_SSCALED";
+ case BRW_SURFACEFORMAT_R8G8B8A8_USCALED: return "RGBA8_USCALED";
+ case BRW_SURFACEFORMAT_R16G16_SSCALED: return "R16G16_SSCALED";
+ case BRW_SURFACEFORMAT_R16G16_USCALED: return "R16G16_USCALED";
+ case BRW_SURFACEFORMAT_R32_SSCALED: return "R32_SSCALED";
+ case BRW_SURFACEFORMAT_R32_USCALED: return "R32_USCALED";
+ case BRW_SURFACEFORMAT_B5G6R5_UNORM: return "B5G6R5_UNORM";
+ case BRW_SURFACEFORMAT_B5G6R5_UNORM_SRGB: return "B5G6R5_UNORM_SRGB";
+ case BRW_SURFACEFORMAT_B5G5R5A1_UNORM: return "B5G5R5A1_UNORM";
+ case BRW_SURFACEFORMAT_B5G5R5A1_UNORM_SRGB: return "B5G5R5A1_UNORM_SRGB";
+ case BRW_SURFACEFORMAT_B4G4R4A4_UNORM: return "B4G4R4A4_UNORM";
+ case BRW_SURFACEFORMAT_B4G4R4A4_UNORM_SRGB: return "B4G4R4A4_UNORM_SRGB";
+ case BRW_SURFACEFORMAT_R8G8_UNORM: return "R8G8_UNORM";
+ case BRW_SURFACEFORMAT_R8G8_SNORM: return "R8G8_SNORM";
+ case BRW_SURFACEFORMAT_R8G8_SINT: return "R8G8_SINT";
+ case BRW_SURFACEFORMAT_R8G8_UINT: return "R8G8_UINT";
+ case BRW_SURFACEFORMAT_R16_UNORM: return "R16_UNORM";
+ case BRW_SURFACEFORMAT_R16_SNORM: return "R16_SNORM";
+ case BRW_SURFACEFORMAT_R16_SINT: return "R16_SINT";
+ case BRW_SURFACEFORMAT_R16_UINT: return "R16_UINT";
+ case BRW_SURFACEFORMAT_R16_FLOAT: return "R16_FLOAT";
+ case BRW_SURFACEFORMAT_A8P8_UNORM_PALETTE0: return "A8P8_UNORM_PALETTE0";
+ case BRW_SURFACEFORMAT_A8P8_UNORM_PALETTE1: return "A8P8_UNORM_PALETTE1";
+ case BRW_SURFACEFORMAT_I16_UNORM: return "I16_UNORM";
+ case BRW_SURFACEFORMAT_L16_UNORM: return "L16_UNORM";
+ case BRW_SURFACEFORMAT_A16_UNORM: return "A16_UNORM";
+ case BRW_SURFACEFORMAT_L8A8_UNORM: return "L8A8_UNORM";
+ case BRW_SURFACEFORMAT_I16_FLOAT: return "I16_FLOAT";
+ case BRW_SURFACEFORMAT_L16_FLOAT: return "L16_FLOAT";
+ case BRW_SURFACEFORMAT_A16_FLOAT: return "A16_FLOAT";
+ case BRW_SURFACEFORMAT_L8A8_UNORM_SRGB: return "L8A8_UNORM_SRGB";
+ case BRW_SURFACEFORMAT_R5G5_SNORM_B6_UNORM: return "R5G5_SNORM_B6_UNORM";
+ case BRW_SURFACEFORMAT_B5G5R5X1_UNORM: return "B5G5R5X1_UNORM";
+ case BRW_SURFACEFORMAT_B5G5R5X1_UNORM_SRGB: return "B5G5R5X1_UNORM_SRGB";
+ case BRW_SURFACEFORMAT_R8G8_SSCALED: return "R8G8_SSCALED";
+ case BRW_SURFACEFORMAT_R8G8_USCALED: return "R8G8_USCALED";
+ case BRW_SURFACEFORMAT_R16_SSCALED: return "R16_SSCALED";
+ case BRW_SURFACEFORMAT_R16_USCALED: return "R16_USCALED";
+ case BRW_SURFACEFORMAT_P8A8_UNORM_PALETTE0: return "P8A8_UNORM_PALETTE0";
+ case BRW_SURFACEFORMAT_P8A8_UNORM_PALETTE1: return "P8A8_UNORM_PALETTE1";
+ case BRW_SURFACEFORMAT_A1B5G5R5_UNORM: return "A1B5G5R5_UNORM";
+ case BRW_SURFACEFORMAT_A4B4G4R4_UNORM: return "A4B4G4R4_UNORM";
+ case BRW_SURFACEFORMAT_L8A8_UINT: return "L8A8_UINT";
+ case BRW_SURFACEFORMAT_L8A8_SINT: return "L8A8_SINT";
+ case BRW_SURFACEFORMAT_R8_UNORM: return "R8_UNORM";
+ case BRW_SURFACEFORMAT_R8_SNORM: return "R8_SNORM";
+ case BRW_SURFACEFORMAT_R8_SINT: return "R8_SINT";
+ case BRW_SURFACEFORMAT_R8_UINT: return "R8_UINT";
+ case BRW_SURFACEFORMAT_A8_UNORM: return "A8_UNORM";
+ case BRW_SURFACEFORMAT_I8_UNORM: return "I8_UNORM";
+ case BRW_SURFACEFORMAT_L8_UNORM: return "L8_UNORM";
+ case BRW_SURFACEFORMAT_P4A4_UNORM: return "P4A4_UNORM";
+ case BRW_SURFACEFORMAT_A4P4_UNORM: return "A4P4_UNORM";
+ case BRW_SURFACEFORMAT_R8_SSCALED: return "R8_SSCALED";
+ case BRW_SURFACEFORMAT_R8_USCALED: return "R8_USCALED";
+ case BRW_SURFACEFORMAT_P8_UNORM_PALETTE0: return "P8_UNORM_PALETTE0";
+ case BRW_SURFACEFORMAT_L8_UNORM_SRGB: return "L8_UNORM_SRGB";
+ case BRW_SURFACEFORMAT_P8_UNORM_PALETTE1: return "P8_UNORM_PALETTE1";
+ case BRW_SURFACEFORMAT_P4A4_UNORM_PALETTE1: return "P4A4_UNORM_PALETTE1";
+ case BRW_SURFACEFORMAT_A4P4_UNORM_PALETTE1: return "A4P4_UNORM_PALETTE1";
+ case BRW_SURFACEFORMAT_Y8_SNORM: return "Y8_SNORM";
+ case BRW_SURFACEFORMAT_L8_UINT: return "L8_UINT";
+ case BRW_SURFACEFORMAT_L8_SINT: return "L8_SINT";
+ case BRW_SURFACEFORMAT_I8_UINT: return "I8_UINT";
+ case BRW_SURFACEFORMAT_I8_SINT: return "I8_SINT";
+ case BRW_SURFACEFORMAT_DXT1_RGB_SRGB: return "DXT1_RGB_SRGB";
+ case BRW_SURFACEFORMAT_R1_UINT: return "R1_UINT";
+ case BRW_SURFACEFORMAT_YCRCB_NORMAL: return "YCRCB_NORMAL";
+ case BRW_SURFACEFORMAT_YCRCB_SWAPUVY: return "YCRCB_SWAPUVY";
+ case BRW_SURFACEFORMAT_P2_UNORM_PALETTE0: return "P2_UNORM_PALETTE0";
+ case BRW_SURFACEFORMAT_P2_UNORM_PALETTE1: return "P2_UNORM_PALETTE1";
+ case BRW_SURFACEFORMAT_BC1_UNORM: return "BC1_UNORM";
+ case BRW_SURFACEFORMAT_BC2_UNORM: return "BC2_UNORM";
+ case BRW_SURFACEFORMAT_BC3_UNORM: return "BC3_UNORM";
+ case BRW_SURFACEFORMAT_BC4_UNORM: return "BC4_UNORM";
+ case BRW_SURFACEFORMAT_BC5_UNORM: return "BC5_UNORM";
+ case BRW_SURFACEFORMAT_BC1_UNORM_SRGB: return "BC1_UNORM_SRGB";
+ case BRW_SURFACEFORMAT_BC2_UNORM_SRGB: return "BC2_UNORM_SRGB";
+ case BRW_SURFACEFORMAT_BC3_UNORM_SRGB: return "BC3_UNORM_SRGB";
+ case BRW_SURFACEFORMAT_MONO8: return "MONO8";
+ case BRW_SURFACEFORMAT_YCRCB_SWAPUV: return "YCRCB_SWAPUV";
+ case BRW_SURFACEFORMAT_YCRCB_SWAPY: return "YCRCB_SWAPY";
+ case BRW_SURFACEFORMAT_DXT1_RGB: return "DXT1_RGB";
+ case BRW_SURFACEFORMAT_FXT1: return "FXT1";
+ case BRW_SURFACEFORMAT_R8G8B8_UNORM: return "RGB8_UNORM";
+ case BRW_SURFACEFORMAT_R8G8B8_SNORM: return "RGB8_SNORM";
+ case BRW_SURFACEFORMAT_R8G8B8_SSCALED: return "RGB8_SSCALED";
+ case BRW_SURFACEFORMAT_R8G8B8_USCALED: return "RGB8_USCALED";
+ case BRW_SURFACEFORMAT_R64G64B64A64_FLOAT: return "R64G64B64A64_FLOAT";
+ case BRW_SURFACEFORMAT_R64G64B64_FLOAT: return "R64G64B64_FLOAT";
+ case BRW_SURFACEFORMAT_BC4_SNORM: return "BC4_SNORM";
+ case BRW_SURFACEFORMAT_BC5_SNORM: return "BC5_SNORM";
+ case BRW_SURFACEFORMAT_R16G16B16_FLOAT: return "RGB_FLOAT";
+ case BRW_SURFACEFORMAT_R16G16B16_UNORM: return "RGB_UNORM";
+ case BRW_SURFACEFORMAT_R16G16B16_SNORM: return "RGB_SNORM";
+ case BRW_SURFACEFORMAT_R16G16B16_SSCALED: return "RGB_SSCALED";
+ case BRW_SURFACEFORMAT_R16G16B16_USCALED: return "RGB_USCALED";
+ case BRW_SURFACEFORMAT_BC6H_SF16: return "BC6H_SF16";
+ case BRW_SURFACEFORMAT_BC7_UNORM: return "BC7_UNORM";
+ case BRW_SURFACEFORMAT_BC7_UNORM_SRGB: return "BC7_UNORM_SRGB";
+ case BRW_SURFACEFORMAT_BC6H_UF16: return "BC6H_UF16";
+ case BRW_SURFACEFORMAT_PLANAR_420_8: return "PLANAR_420_8";
+ case BRW_SURFACEFORMAT_R8G8B8_UNORM_SRGB: return "RGB8_UNORM_SRGB";
+ case BRW_SURFACEFORMAT_ETC1_RGB8: return "ETC1_RGB8";
+ case BRW_SURFACEFORMAT_ETC2_RGB8: return "ETC2_RGB8";
+ case BRW_SURFACEFORMAT_EAC_R11: return "EAC_R11";
+ case BRW_SURFACEFORMAT_EAC_RG11: return "EAC_RG11";
+ case BRW_SURFACEFORMAT_EAC_SIGNED_R11: return "EAC_SIGNED_R11";
+ case BRW_SURFACEFORMAT_EAC_SIGNED_RG11: return "EAC_SIGNED_RG11";
+ case BRW_SURFACEFORMAT_ETC2_SRGB8: return "ETC2_SRGB8";
+ case BRW_SURFACEFORMAT_R16G16B16_UINT: return "RGB_UINT";
+ case BRW_SURFACEFORMAT_R16G16B16_SINT: return "RGB_SINT";
+ case BRW_SURFACEFORMAT_R32_SFIXED: return "R32_SFIXED";
+ case BRW_SURFACEFORMAT_R10G10B10A2_SNORM: return "R10G10B10A2_SNORM";
+ case BRW_SURFACEFORMAT_R10G10B10A2_USCALED: return "R10G10B10A2_USCALED";
+ case BRW_SURFACEFORMAT_R10G10B10A2_SSCALED: return "R10G10B10A2_SSCALED";
+ case BRW_SURFACEFORMAT_R10G10B10A2_SINT: return "R10G10B10A2_SINT";
+ case BRW_SURFACEFORMAT_B10G10R10A2_SNORM: return "B10G10R10A2_SNORM";
+ case BRW_SURFACEFORMAT_B10G10R10A2_USCALED: return "B10G10R10A2_USCALED";
+ case BRW_SURFACEFORMAT_B10G10R10A2_SSCALED: return "B10G10R10A2_SSCALED";
+ case BRW_SURFACEFORMAT_B10G10R10A2_UINT: return "B10G10R10A2_UINT";
+ case BRW_SURFACEFORMAT_B10G10R10A2_SINT: return "B10G10R10A2_SINT";
+ case BRW_SURFACEFORMAT_R64G64B64A64_PASSTHRU: return "R64G64B64A64_PASSTHRU";
+ case BRW_SURFACEFORMAT_R64G64B64_PASSTHRU: return "R64G64B64_PASSTHRU";
+ case BRW_SURFACEFORMAT_ETC2_RGB8_PTA: return "ETC2_RGB8_PTA";
+ case BRW_SURFACEFORMAT_ETC2_SRGB8_PTA: return "ETC2_SRGB8_PTA";
+ case BRW_SURFACEFORMAT_ETC2_EAC_RGBA8: return "ETC2_EAC_RGBA8";
+ case BRW_SURFACEFORMAT_ETC2_EAC_SRGB8_A8: return "ETC2_EAC_SRGB8_A8";
+ case BRW_SURFACEFORMAT_R8G8B8_UINT: return "RGB8_UINT";
+ case BRW_SURFACEFORMAT_R8G8B8_SINT: return "RGB8_SINT";
+ case BRW_SURFACEFORMAT_RAW: return "RAW";
+ default: return "unknown";
}
}
--
2.3.6
More information about the mesa-dev
mailing list