   Debug - display driver crash
  I made some changes to my code and got the worst bug ever. It crashes my display driver. Up to that point the only DirectX log output are infos about my not binding a shader resource view to slot 0, 1, and 3. That is should be OK, because I am not using 0, 1, or 3 as far as I know. I set "texture is mapped" bools in the shader to tell it whether a texture was loaded to that slot or to use a default color.How do you go about debugging when this happens?   
  Anything crashing your display driver is a driver bug. Do you have the most up to date drivers? And what D3D version are you using?   ;  DX10 November 2008 SDKGforce 8800 UltraNvidia Driver 7.15.0011.8250I've tracked the cause down, but I'd really rather it never crashed the display driver.It was a problem with setting effect variales.When I had two objects using the same effect, one object would set only the effect variables it was using. The other came along and did the same. The results is a mix between the two, which as expected causes chaos.