d3d9-reader 0.10.0

Direct3D 9 shader bytecode parser: reads vs/ps 1.x, 2.x and 3.0 token streams into typed declarations, definitions and instructions, with the CTAB constant table
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
; ps_3_0 loop with an input indexed by aL: v[aL] read each iteration
; run: TEXCOORD0=1,2,3,4 TEXCOORD1=10,20,30,40 -> SV_Target0=11,22,33,44
ps_3_0
defi i0, 2, 0, 1, 0
def c0, 0, 0, 0, 0
dcl_texcoord0 v0
dcl_texcoord1 v1
mov r0, c0
loop aL, i0
add r0, r0, v[aL]
endloop
mov oC0, r0