On 15 June 2015 at 18:11, Matteo Bruni matteo.mystral@gmail.com wrote:
FWIW, https://msdn.microsoft.com/en-us/library/windows/desktop/hh446968%28v=vs.85%... mentions two variants of the discard instruction. Any clue how is that _z vs _nz part encoded?
Yeah, there are a couple of other instructions that work like that as well, e.g. if and break. I'd expect the comparison type to be in the same place as e.g. WINED3D_SM4_RESOURCE_TYPE_MASK and WINED3D_SM4_PRIMITIVE_TYPE_MASK, but I haven't specifically searched for it.