Twitter updates
- @repi Sounds great, I guess that should also help to make the games more stable on PC. Wonder what perf difference you see, if any? 1 day ago
- @aras_p Happy birthday! The link you attached seems to be broken though. 2 days ago
Development
Graphics
Calendar
May 2012 M T W T F S S « Mar 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Tag Archives: debugging
Reporting compiler bugs
Once in a life-time, you run into a compiler bug … well, that used to be the case, before HLSL/GLSL/OpenCL/CUDA/C++0x whatever started to crop up and require new front and especially code generation back-ends. More often than not, people just … Continue reading
Debug war story
Time for a war story: I’ve been just debugging a rather interesting bug. The application is written in C++. Symptoms: Starting the release build by double clicking fails Starting the release build from the command line works Appending a debugger … Continue reading
Debugging shaders: Artifacts grouped into quads
If you’re debugging a shader, and the wrong pixels come grouped into (screen-aligned) 2×2 blocks, don’t look too long at the code at hand — it might be that your gradients are wrong. Recently, I had a shader aliasing problem, … Continue reading
C++ tricks, #5: Breaking on memory allocations with VC
A little known feature is breaking on a specific memory allocation without recompiling your app. Let’s assume you’ve run your code with _CrtDumpMemoryLeaks (); and you got something like Detected memory leaks! Dumping objects -> {12213} normal block at 0x004DA780, … Continue reading