tests: Strip reflection data from dxbc-tpf-hex shaders.

This commit is contained in:
Henri Verbeet
2025-07-31 18:40:15 +02:00
parent 243207701b
commit 721859005f
Notes: Henri Verbeet 2025-08-04 15:08:50 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1667
4 changed files with 117 additions and 153 deletions

View File

@@ -164,30 +164,21 @@ shader model < 4.1
[pixel shader dxbc-tpf-hex]
% The same as above, but in bytecode format.
% ps_4_0
% dcl_input_ps linear v1.xw
% dcl_output o0.xyzw
% mov o0.xw, v1.xxxw
% mov o0.yz, l(0,10.000000,11.000000,0)
% ret
43425844 6d22be01 b0d27896 c533f8d0 6c7ce163 00000001 000001f0 00000005
00000034 0000008c 000000e0 00000114 00000174 46454452 00000050 00000000
00000000 00000000 0000001c ffff0400 00000100 0000001c 7263694d 666f736f
52282074 4c482029 53204c53 65646168 6f432072 6c69706d 31207265 2e302e30
31303031 36312e31 00343833 4e475349 0000004c 00000002 00000008 00000038
00000000 00000001 00000003 00000000 0000000f 00000044 00000000 00000000
00000003 00000001 0000090f 505f5653 7469736f 006e6f69 4f4c4f43 abab0052
4e47534f 0000002c 00000001 00000008 00000020 00000000 00000000 00000003
00000000 0000000f 545f5653 65677261 abab0074 52444853 00000058 00000040
00000016 03001062 00101092 00000001 03000065 001020f2 00000000 05000036
00102092 00000000 00101c06 00000001 08000036 00102062 00000000 00004002
00000000 41200000 41300000 00000000 0100003e 54415453 00000074 00000003
00000000 00000000 00000002 00000000 00000000 00000000 00000001 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000002 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
43425844 f1557687 26b262bd 9eb2bc5d 66f940c8 00000001 00000114 % DXBC header
00000003 0000002c 00000080 000000b4 %
4e475349 0000004c 00000002 00000008 % .input
00000038 00000000 00000001 00000003 00000000 0000000f % .param SV_Position.xyzw, v0, float, POS
00000044 00000000 00000000 00000003 00000001 0000090f % .param COLOR.xyzw, v1.xw, float
505f5653 7469736f 006e6f69 4f4c4f43 abab0052 %
4e47534f 0000002c 00000001 00000008 % .output
00000020 00000000 00000000 00000003 00000000 0000000f % .param SV_Target.xyzw, o0.xyzw, float, TARGET
545f5653 65677261 abab0074 %
52444853 00000058 00000040 00000016 % .text ps_4_0
03001062 00101092 00000001 % dcl_input_ps linear v1.xw
03000065 001020f2 00000000 % dcl_output o0.xyzw
05000036 00102092 00000000 00101c06 00000001 % mov o0.xw, v1.xxxw
08000036 00102062 00000000 00004002 00000000 41200000 41300000 00000000 % mov o0.yz, l(0, 10.0, 11.0, 0)
0100003e % ret
[test]
draw triangle list 3