summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_ppc.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-10-22 17:19:12 -0600
committerBrian Paul <[email protected]>2008-10-22 17:19:12 -0600
commitabbbe876ac98596b143da295abf6887e0a4e50d2 (patch)
tree918f0582e9ba576b84d75aa2d0bf055409ec29e2 /src/gallium/auxiliary/tgsi/tgsi_ppc.h
parent3026616c48487a7561d8545c08950539f0ad51d1 (diff)
gallium: new PPC built-in constants array
It's hard to form PPC vector immediates so load them from an array.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_ppc.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_ppc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ppc.h b/src/gallium/auxiliary/tgsi/tgsi_ppc.h
index 7cd2bf9aff2..829ec075e7f 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_ppc.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_ppc.h
@@ -35,6 +35,9 @@ extern "C" {
struct tgsi_token;
struct ppc_function;
+extern const float ppc_builtin_constants[];
+
+
boolean
tgsi_emit_ppc(const struct tgsi_token *tokens,
struct ppc_function *function,