projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8154ee
)
tgsi/ppc: add case for system values and assert
author
Brian Paul
<brianp@vmware.com>
Thu, 9 Dec 2010 01:20:44 +0000
(18:20 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 9 Dec 2010 01:20:44 +0000
(18:20 -0700)
src/gallium/auxiliary/tgsi/tgsi_ppc.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_ppc.c
b/src/gallium/auxiliary/tgsi/tgsi_ppc.c
index
3521847
..
537a0f6
100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_ppc.c
+++ b/
src/gallium/auxiliary/tgsi/tgsi_ppc.c
@@
-294,7
+294,6
@@
emit_fetch(struct gen_context *gen,
case TGSI_SWIZZLE_W:
switch (reg->Register.File) {
case TGSI_FILE_INPUT:
- case TGSI_FILE_SYSTEM_VALUE:
{
int offset = (reg->Register.Index * 4 + swizzle) * 16;
int offset_reg = emit_li_offset(gen, offset);
@@
-302,6
+301,9
@@
emit_fetch(struct gen_context *gen,
ppc_lvx(gen->f, dst_vec, gen->inputs_reg, offset_reg);
}
break;
+ case TGSI_FILE_SYSTEM_VALUE:
+ assert(!"unhandled system value in tgsi_ppc.c");
+ break;
case TGSI_FILE_TEMPORARY:
if (is_ppc_vec_temporary(reg)) {
/* use PPC vec register */