projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34c58ac
)
svga: Add support for 16-bit per channel RGBA
author
John Kåre Alsaker
<john.kare.alsaker@gmail.com>
Mon, 8 Oct 2012 22:50:53 +0000
(
00:50
+0200)
committer
Brian Paul
<brianp@vmware.com>
Thu, 11 Oct 2012 00:19:44 +0000
(18:19 -0600)
Signed-off-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svga_format.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_format.c
b/src/gallium/drivers/svga/svga_format.c
index 51761069788e3e3650adf0b3c7a84836b87da20f..5a153a8383dca7007cae6f33a07cd438cf8482e6 100644
(file)
--- a/
src/gallium/drivers/svga/svga_format.c
+++ b/
src/gallium/drivers/svga/svga_format.c
@@
-66,6
+66,9
@@
svga_translate_format(struct svga_screen *ss,
case PIPE_FORMAT_B4G4R4A4_UNORM:
return SVGA3D_A4R4G4B4;
+ case PIPE_FORMAT_R16G16B16A16_UNORM:
+ return SVGA3D_A16B16G16R16;
+
case PIPE_FORMAT_Z16_UNORM:
return bind & PIPE_BIND_SAMPLER_VIEW ? ss->depth.z16 : SVGA3D_Z_D16;
case PIPE_FORMAT_S8_UINT_Z24_UNORM: