summaryrefslogtreecommitdiff
path: root/src/nve0_shader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nve0_shader.h')
-rw-r--r--src/nve0_shader.h80
1 files changed, 68 insertions, 12 deletions
diff --git a/src/nve0_shader.h b/src/nve0_shader.h
index 8f36279..b727d68 100644
--- a/src/nve0_shader.h
+++ b/src/nve0_shader.h
@@ -2,7 +2,7 @@
#define __NVE0_SHADER_H__
static uint32_t
-NVE0VP_Passthrough[] = {
+NVE0VP_Transform2[] = {
0x00020461,
0x00000000,
0x00000000,
@@ -24,19 +24,75 @@ NVE0VP_Passthrough[] = {
0x00000000, /* VP_EXPORT_EN[0x2c0] */
0x00000000,
0xfff01c66,
- 0x06000080, /* vfetch { $r0,1,2,3 } b128 a[0x80] */
- 0xfff11c26,
- 0x06000090, /* vfetch { $r4,5 } b64 a[0x90] */
- 0xfff19c26,
- 0x060000a0, /* vfetch { $r6,7 } b64 a[0xa0] */
+ 0x06000080,
0x03f01c66,
- 0x0a7e0070, /* export v[0x70] { $r0 $r1 $r2 $r3 } */
- 0x13f01c26,
- 0x0a7e0080, /* export v[0x80] { $r4 $r5 } */
- 0x1bf01c26,
- 0x0a7e0090, /* export v[0x90] { $r6 $r7 } */
+ 0x0a7e0070,
+ 0xfff01c26,
+ 0x06000090,
+ 0x00009c40,
+ 0x58004000,
+ 0x3000dc40,
+ 0x58004000,
+ 0x60011c40,
+ 0x58004000,
+ 0x10109c40,
+ 0x30044000,
+ 0x4010dc40,
+ 0x30064000,
+ 0x70111c40,
+ 0x30084000,
+ 0x20209c20,
+ 0x50004000,
+ 0x5030dc20,
+ 0x50004000,
+ 0x80411c20,
+ 0x50004000,
+ 0x10411c00,
+ 0xc8000000,
+ 0x10209c40,
+ 0x58000000,
+ 0x1030dc40,
+ 0x58000000,
+ 0x90201c40,
+ 0x58004000,
+ 0xa0305c40,
+ 0x58004000,
+ 0x03f01c26,
+ 0x0a7e0080,
+ 0xfff01c26,
+ 0x060000a0,
+ 0xb0009c40,
+ 0x58004000,
+ 0xe000dc40,
+ 0x58004000,
+ 0x10011c40,
+ 0x58004001,
+ 0x00109c40,
+ 0x30044001,
+ 0xf010dc40,
+ 0x30064000,
+ 0x20111c40,
+ 0x30084001,
+ 0xd0209c20,
+ 0x50004000,
+ 0x0030dc20,
+ 0x50004001,
+ 0x30411c20,
+ 0x50004001,
+ 0x10411c00,
+ 0xc8000000,
+ 0x10209c40,
+ 0x58000000,
+ 0x1030dc40,
+ 0x58000000,
+ 0x40201c40,
+ 0x58004001,
+ 0x50305c40,
+ 0x58004001,
+ 0x03f01c26,
+ 0x0a7e0090,
0x00001de7,
- 0x80000000, /* exit */
+ 0x80000000,
};
static uint32_t