The HLSL compiler may not support outputting shader model 1 bytecode, but we certainly want to support it as input for e.g. d3dbc->spirv compilation.
Okay, I changed it so that it only reads the first 3 components in SM1.
What allows us to make those assertions?
We always initialize texkill with src_count = 0 and dst_count = 1, when parsing d3dbc and a VKD3DSIH_TEXKILL cannot come from anywhere else (unless I am missing something). But you mentioned that this check is more appropriate for the validation layer, so I removed them.
That's better, but note that the comment still references "src[0]".
oops, I changed it.