Original Post
Hi, I'm using DX SDK sample framework for my demo. Everything works more or less ok, but I get these 2 errors: 1. It's a warning, not an error, but if I understand it correctly it can be quite dangerous: "Direct3D9: (WARN) :No SW device has been registered. GetAdapterCaps fails." Does it mean that DX doesn't check caps at all? What is this "SW" device? 2. Another thing is that I can't start my app using reference rasterizer. When I try to do it (for pixel shader debugging), my app breaks on "device = new Device(...)" in dxmut.cs file and I get this error: "Direct3D9: (ERROR) :Pure device cannot perform software processing. ValidateCreateDevice failed." However when I try to toggle reference rasterizer from within my app, it works correctly. The main problem is that I tried to make my code (responsible for device creation and the main loop) similar to all SDK samples. It's in fact (if I didn't overlook something) exact copy of it. But it still doesn't work. I have no idea what may be causing these errors, as they occur at the very beginning of the execution (device creation), where the code is similar (exact) to other SDK samples. Thanks in advance