On Thu Sep 28 18:48:28 2023 +0000, Henri Verbeet wrote:
This is correct for pixel shaders, vertex shaders do not have 'cmp'.
I don't immediately see anything preventing this from being applied to vertex shaders. Does that mean we're emitting invalid bytecode in that case?
I think it depends if it does not work in practice. According to current docs 'cmp' does not exist for vertex shaders, and vs_3_0 with currently compiler does not use it, on Windows. If it makes our output invalid, I think we should error out for vertex profiles.