Fix mojoshader hlsl not emitting POSITION inputs with an index other than 0
Add an assert for the case where a buggy VS is missing outputs its PS needs (the shader will fail to compile anyway and produce a mystery crash later, so this is an improvement)
Fix mojoshader hlsl not emitting POSITION inputs with an index other than 0 Add an assert for the case where a buggy VS is missing outputs its PS needs (the shader will fail to compile anyway and produce a mystery crash later, so this is an improvement)
See https://gist.github.com/kg/33f3b1b3e51bc49ff4ae30ad05903f15 and https://gist.github.com/kg/ccd3a8b676a26346867735b61b83c7c6