summaryrefslogtreecommitdiff
path: root/src/render_program/exa_sf.g5b
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-11-24 11:34:51 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-11-24 18:24:37 +0000
commit7e4a1b7ed25a881113e197acde62b07f26f2d6ef (patch)
tree1f45240920a2b54d9f51f2cc1a7aa14a1e8e0ccb /src/render_program/exa_sf.g5b
parent67ea8808d7f0ce47733a66d8708dcfa0dbec14c1 (diff)
src/sna/gen5: Replace the precompiled shaders
Take advantage of a couple of new instructions introduced with Cantiga to reduce the instruction count inside the shaders and improve performance by around 10% in the fish-demo. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/render_program/exa_sf.g5b')
-rw-r--r--src/render_program/exa_sf.g5b7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/render_program/exa_sf.g5b b/src/render_program/exa_sf.g5b
new file mode 100644
index 00000000..d1035aed
--- /dev/null
+++ b/src/render_program/exa_sf.g5b
@@ -0,0 +1,7 @@
+ { 0x00400031, 0x20c01fbd, 0x1069002c, 0x02100001 },
+ { 0x00400001, 0x206003be, 0x00690060, 0x00000000 },
+ { 0x00400040, 0x20e077bd, 0x00690080, 0x006940a0 },
+ { 0x00400041, 0x202077be, 0x006900e0, 0x000000c0 },
+ { 0x00400040, 0x20e077bd, 0x006900a0, 0x00694060 },
+ { 0x00400041, 0x204077be, 0x006900e0, 0x000000c8 },
+ { 0x00600031, 0x20001fbc, 0x648d0000, 0x8808c800 },