On 10/07/06, Ivan Gyurdiev ivg231@gmail.com wrote:
Also note that there's diffrent lifetime rules for immediate constants in d3d8 and d3d9, and as far as I know we implement one of them wrong. Here I stick with the current behavior, which I think is d3d9-compliant.
Yes. In d3d8 constants set with the def instructions persist between shaders.