As I understand it is a CPU instruction that you can run instead of several other (more simple) o…
Yeah Photoshop is not the best program for this. I followed this video and it worked for me: http…
elle —
You need to search for the "vcvarsall.bat" file and run that in the command prompt to setup the "…
Andy —
Ignore this, Casey addresses it a few minutes later lol.
Andy —
Hi all,
So I had a quick question as I'm getting some strange behaviour. Ever since the PatBlt …
David —
I'm into video 11, and have been both coding and building the program with Visual Studios which i…
Thanks again guys, totally worked and great tips.
insanoflex512 I think its because its expecting the class name to be in ANSI, but when you have t…
Justin —
I think the reason is that, since its the Unicode that messed it up, remember the function you ar…
Oh, that's interesting, I quickly created an x64 config and that seems to have worked. Except no…
It triggers right after stepping out of RegisterClassA(&WindowClass).
This is the callstack:…
This code does not trigger breakpoint for me. Not in 32-bit, not in 64-bit mode.
What place does …
Sorry, it wouldn't let me attach apparently.
Here it is:
1
2
3
4
5
6
7
8
9
10…
You have not added cpp file.
Hey gang,
I'm loving this series, I'm a game designer who has decided to get his hands dirty (soo…
elle —
Thank you. I managed to get it working, it was due to an issue with the bridging header between o…
clang also has __rdtsc() available from x86intrin.h header.
Actual clang intrinsic is __builtin_…
elle —
Where does llvm or clang define __rdtsc()? I've been searching for hours and still have no clue h…
GCC comes with a __rdtsc() intrinsic defined in x86intrin.h, it would be nice if there was suppor…
There is free CodeXL from AMD. It has some advanced profiling stuff for AMD same as VTune has for…
Visual Studio 2013 has an integrated profiler under the Analyze->Profile menu. It's nowhere ne…
Timo —
Very Sleepy is good. I also use gprof on GNU/Linux and Xcode Instruments on OS X.
mmozeiko, the article you pointed actually talks about direct9 rasterisation and a "problem" with…
I came across Very Sleepy in a blog post by Fabian Giesen on Fixing Cache Issues. It is not near…
Yeah, there is still something we have to address, which is how we want to treat pixel centers, a…
Here's a useful reference on the latency of various operations in a modern computer. Note especia…
You should imagine pixels being shifted by (0.5,0.5) offset. Then bilinear sampling formulas Case…
elle —
No, I don't think so. The difference between the real pixel coordinates and integer pixel coordin…
Steve —
Thanks a lot for the detailed explanations. I will keep an eye out for those things you mentioned…
As COD3 said, handmade hero is mostly C (ANSI C if I'm correct not C99 or later).
You can find di…