Hi,
I'm having a very strange issue and I was wondering if anyone else already has experienced the same problem.
I'm using DrawIndexedInstanced to render multiples instances of a mesh. The code is running fine under DX11 32 bits but when running under 64 bits (on the same computer, just different exe) then instancing is not working : all instances use the values of the 1st instance, as if the instanceDataStepRate (=1) was simply ignored.
I checked what's happening using PIX and GPA and what makes me mad is that the API calls and buffer contents are EXACTLY the same.
- If I check the stream declaration, it is ok in both cases (32 and 64 bits exe)
- If I check the instance buffer content, the content is exactly the same (with different per-instance data)
- But when I check the "Post-VS" values, then it looks like all the instances have been using the instance data of the first instance!!!
I need to test it on other computers to check if it is a driver problem but anyone has already experienced such a problem???
I'm having a very strange issue and I was wondering if anyone else already has experienced the same problem.
I'm using DrawIndexedInstanced to render multiples instances of a mesh. The code is running fine under DX11 32 bits but when running under 64 bits (on the same computer, just different exe) then instancing is not working : all instances use the values of the 1st instance, as if the instanceDataStepRate (=1) was simply ignored.
I checked what's happening using PIX and GPA and what makes me mad is that the API calls and buffer contents are EXACTLY the same.
- If I check the stream declaration, it is ok in both cases (32 and 64 bits exe)
- If I check the instance buffer content, the content is exactly the same (with different per-instance data)
- But when I check the "Post-VS" values, then it looks like all the instances have been using the instance data of the first instance!!!
I need to test it on other computers to check if it is a driver problem but anyone has already experienced such a problem???