mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
90a07ada8e
While we currently output instructions like this: sampleinfo_uint r0.x, rasterizer.xxxx > SAMPLE_INFO (111) 0 0000100[len:4] 0000000000001[1] 00001101111[opcode:111] └─ 0 000[d3i:0] 000[d2i:0] 000[d1i:0] 01[idxs:1] 00000000[type:0] 0000[0] 0001[wmask:1] 00[swtype:0] 10[dim:2] └─ 00000000000000000000000000000000[0|0.0] └─ 0 000[d3i:0] 000[d2i:0] 000[d1i:0] 00[idxs:0] 00001110[type:14] 00000000[sw:0] 01[swtype:1] 10[dim:2] FXC/d3dcompiler outputs instructions like this: sampleinfo o0.x, rasterizer.x > SAMPLE_INFO (111) 0 0000100[len:4] 0000000000000[0] 00001101111[opcode:111] └─ 0 000[d3i:0] 000[d2i:0] 000[d1i:0] 01[idxs:1] 00000010[type:2] 0000[0] 0001[wmask:1] 00[swtype:0] 10[dim:2] └─ 00000000000000000000000000000000[0|0.0] └─ 0 000[d3i:0] 000[d2i:0] 000[d1i:0] 00[idxs:0] 00001110[type:14] 000000[0] 00[swcomp:0] 10[swtype:2] 10[dim:2] Note the difference in swtype of the rasterizer src register. |
||
---|---|---|
.. | ||
checksum.c | ||
d3d_asm.c | ||
d3dbc.c | ||
dxbc.c | ||
dxil.c | ||
fx.c | ||
glsl.c | ||
hlsl_codegen.c | ||
hlsl_constant_ops.c | ||
hlsl.c | ||
hlsl.h | ||
hlsl.l | ||
hlsl.y | ||
ir.c | ||
libvkd3d-shader.pc.in | ||
msl.c | ||
preproc.h | ||
preproc.l | ||
preproc.y | ||
spirv.c | ||
tpf.c | ||
vkd3d_shader_main.c | ||
vkd3d_shader_private.h | ||
vkd3d_shader.map |