diff options
author | Ben Skeggs <darktama@beleth.(none)> | 2008-02-25 12:26:48 +1100 |
---|---|---|
committer | Ben Skeggs <darktama@beleth.(none)> | 2008-02-25 12:26:48 +1100 |
commit | 14de997d5df48512c751c627ab19d486691f591d (patch) | |
tree | 67fd6e26bc362714c1fef371db63a1ead533b771 /src/gallium/drivers/nv40/nv40_vbo.c | |
parent | 7b938431d0ab5ccce1e7e2b1c38e1dcbdc6001e8 (diff) |
nv40: dump meaningful names for surface formats
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_vbo.c')
-rw-r--r-- | src/gallium/drivers/nv40/nv40_vbo.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv40/nv40_vbo.c b/src/gallium/drivers/nv40/nv40_vbo.c index 5abe4c9af10..753c2fe64b9 100644 --- a/src/gallium/drivers/nv40/nv40_vbo.c +++ b/src/gallium/drivers/nv40/nv40_vbo.c @@ -30,9 +30,13 @@ nv40_vbo_type(uint format) case PIPE_FORMAT_TYPE_UNORM: return NV40TCL_VTXFMT_TYPE_UBYTE; default: - NOUVEAU_ERR("Unknown format 0x%08x\n", format); + { + char fs[128]; + pf_sprint_name(fs, format); + NOUVEAU_ERR("Unknown format %s\n", fs); return NV40TCL_VTXFMT_TYPE_FLOAT; } + } } static boolean |