projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
321555f
)
i965: Lower the 4x8 pack/unpack operations
author
Matt Turner
<mattst88@gmail.com>
Tue, 22 Jan 2013 01:46:01 +0000
(17:46 -0800)
committer
Matt Turner
<mattst88@gmail.com>
Fri, 25 Jan 2013 22:10:23 +0000
(14:10 -0800)
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_shader.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_shader.cpp
b/src/mesa/drivers/dri/i965/brw_shader.cpp
index ff028c7f4d5b99995c640eb9cf1a33cc868f9b8f..c71715ee51299a4265731c554b4d6c8ba515a6c5 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_shader.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_shader.cpp
@@
-83,7
+83,11
@@
brw_lower_packing_builtins(struct brw_context *brw,
int ops = LOWER_PACK_SNORM_2x16
| LOWER_UNPACK_SNORM_2x16
| LOWER_PACK_UNORM_2x16
- | LOWER_UNPACK_UNORM_2x16;
+ | LOWER_UNPACK_UNORM_2x16
+ | LOWER_PACK_SNORM_4x8
+ | LOWER_UNPACK_SNORM_4x8
+ | LOWER_PACK_UNORM_4x8
+ | LOWER_UNPACK_UNORM_4x8;
if (brw->intel.gen >= 7) {
/* Gen7 introduced the f32to16 and f16to32 instructions, which can be