]> git.cworth.org Git - apitrace-tests/blobdiff - apps/d3dcommon/tri_ps_4_0_level_9_1.h
Add a d3d10 level 9 test case.
[apitrace-tests] / apps / d3dcommon / tri_ps_4_0_level_9_1.h
diff --git a/apps/d3dcommon/tri_ps_4_0_level_9_1.h b/apps/d3dcommon/tri_ps_4_0_level_9_1.h
new file mode 100755 (executable)
index 0000000..4f71090
--- /dev/null
@@ -0,0 +1,97 @@
+#if 0
+//
+// Generated by Microsoft (R) D3D Shader Disassembler
+//
+//
+//   fxc /nologo /Qstrip_reflect /T ps_4_0_level_9_1 /E PS /Fh
+//    Z:/projects/apitrace/tests/apps/d3dcommon/tri_ps_4_0_level_9_1.h
+//    Z:/projects/apitrace/tests/apps/d3dcommon/tri.fx
+//
+//
+// Input signature:
+//
+// Name                 Index   Mask Register SysValue  Format   Used
+// -------------------- ----- ------ -------- -------- ------- ------
+// SV_POSITION              0   xyzw        0      POS   float       
+// COLOR                    0   xyzw        1     NONE   float   xyzw
+//
+//
+// Output signature:
+//
+// Name                 Index   Mask Register SysValue  Format   Used
+// -------------------- ----- ------ -------- -------- ------- ------
+// SV_Target                0   xyzw        0   TARGET   float   xyzw
+//
+//
+// Level9 shader bytecode:
+//
+    ps_2_0
+    dcl t0
+    mov oC0, t0
+
+// approximately 1 instruction slot used
+ps_4_0
+dcl_input_ps linear v1.xyzw
+dcl_output o0.xyzw
+mov o0.xyzw, v1.xyzw
+ret 
+// Approximately 0 instruction slots used
+#endif
+
+const BYTE g_PS[] =
+{
+     68,  88,  66,  67,   8,  63, 
+     40,  44,  59, 203, 211, 142, 
+    142, 105, 222, 159, 151, 231, 
+    222,  81,   1,   0,   0,   0, 
+     68,   1,   0,   0,   4,   0, 
+      0,   0,  48,   0,   0,   0, 
+    124,   0,   0,   0, 188,   0, 
+      0,   0,  16,   1,   0,   0, 
+     65, 111, 110,  57,  68,   0, 
+      0,   0,  68,   0,   0,   0, 
+      0,   2, 255, 255,  32,   0, 
+      0,   0,  36,   0,   0,   0, 
+      0,   0,  36,   0,   0,   0, 
+     36,   0,   0,   0,  36,   0, 
+      0,   0,  36,   0,   0,   0, 
+     36,   0,   0,   2, 255, 255, 
+     31,   0,   0,   2,   0,   0, 
+      0, 128,   0,   0,  15, 176, 
+      1,   0,   0,   2,   0,   8, 
+     15, 128,   0,   0, 228, 176, 
+    255, 255,   0,   0,  83,  72, 
+     68,  82,  56,   0,   0,   0, 
+     64,   0,   0,   0,  14,   0, 
+      0,   0,  98,  16,   0,   3, 
+    242,  16,  16,   0,   1,   0, 
+      0,   0, 101,   0,   0,   3, 
+    242,  32,  16,   0,   0,   0, 
+      0,   0,  54,   0,   0,   5, 
+    242,  32,  16,   0,   0,   0, 
+      0,   0,  70,  30,  16,   0, 
+      1,   0,   0,   0,  62,   0, 
+      0,   1,  73,  83,  71,  78, 
+     76,   0,   0,   0,   2,   0, 
+      0,   0,   8,   0,   0,   0, 
+     56,   0,   0,   0,   0,   0, 
+      0,   0,   1,   0,   0,   0, 
+      3,   0,   0,   0,   0,   0, 
+      0,   0,  15,   0,   0,   0, 
+     68,   0,   0,   0,   0,   0, 
+      0,   0,   0,   0,   0,   0, 
+      3,   0,   0,   0,   1,   0, 
+      0,   0,  15,  15,   0,   0, 
+     83,  86,  95,  80,  79,  83, 
+     73,  84,  73,  79,  78,   0, 
+     67,  79,  76,  79,  82,   0, 
+    171, 171,  79,  83,  71,  78, 
+     44,   0,   0,   0,   1,   0, 
+      0,   0,   8,   0,   0,   0, 
+     32,   0,   0,   0,   0,   0, 
+      0,   0,   0,   0,   0,   0, 
+      3,   0,   0,   0,   0,   0, 
+      0,   0,  15,   0,   0,   0, 
+     83,  86,  95,  84,  97, 114, 
+    103, 101, 116,   0, 171, 171
+};