summaryrefslogtreecommitdiff
path: root/src/render_program/exa_sf_mask.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_mask.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_mask.g5b')
-rw-r--r--src/render_program/exa_sf_mask.g5b7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/render_program/exa_sf_mask.g5b b/src/render_program/exa_sf_mask.g5b
new file mode 100644
index 00000000..76a03f87
--- /dev/null
+++ b/src/render_program/exa_sf_mask.g5b
@@ -0,0 +1,7 @@
+ { 0x00400031, 0x20c01fbd, 0x1069002c, 0x02100001 },
+ { 0x00600001, 0x206003be, 0x008d0060, 0x00000000 },
+ { 0x00600040, 0x20e077bd, 0x008d0080, 0x008d40a0 },
+ { 0x00600041, 0x202077be, 0x008d00e0, 0x000000c0 },
+ { 0x00600040, 0x20e077bd, 0x008d00a0, 0x008d4060 },
+ { 0x00600041, 0x204077be, 0x008d00e0, 0x000000c8 },
+ { 0x00600031, 0x20001fbc, 0x648d0000, 0x8808c800 },