We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Mārtiņš Možeiko
These defines are not runtime arguments for debugger. They are compile time options. You need to p…
»
Dana Fortier
Hey, I have tried 2 dozen different ways but I simply cannot get VS to obey the Assert macro creat…
»
popcorn
I tried doing this on my own but I'm just stumped. This reason why I'm trying to do is because I'm…
»
Roderic Bos
Fabian Giesen posten this twitter thread which could also be helpfull
»
Mārtiņš Možeiko
How about replacing expensive _mm_sqrt_ps with approximation of inverse square root? Basically rep…
»
Mārtiņš Možeiko
Similar thing happened on Day 2 when Casey wanted to use PatBlt function. See ~51:00. He got linke…
»
David
This might be more in the wheelhouse of build problems, but I've gotten some big problems as of vi…
»
Mārtiņš Možeiko
I don't see how AVX-512 will help here. Sure it provides _mm512_i32gather_epi32 intrinsic that pre…
»
Casey Muratori
It is AVX512 that has the stuff you actually want, I believe. But don't quote me on that :) AVX2…
»
Kim Jørgensen
I have modified the SDL port to be able to run the latest version of Handmade Hero on Linux, and a…
»
Nuno
+1 for these changes. I've been using the command line version of Jeff's OSX Port and that's all I…
»
Mārtiņš Možeiko
What do you mean by "don't scale smoothly" ? DrawRectangle function never scales anything - it jus…
»
elle
I changed the drawRectangle function to use the Intel intrinsics, but when rectangles scale by a s…
»
Mārtiņš Možeiko
As Casey mentioned on stream for newer instruction set AVX2 which is available starting with Intel…
»
Nick Forrer
Thanks for the replies. I'll take a look at the XCB code. If I find any issues, I'll let you kno…
»
Neil Blakey-Milner
With the move to 5pm livestreams, I've fallen quite a bit behind on the stream (part of the fun/im…
»
Neo Ar
I'm pretty sure this port was abandoned, but nxsy has an excellent XCB port that you could follow …
»
Nick Forrer
I've been following along with this port as I am trying to catch up with Handmade Hero. I'm curre…
»
Dana Fortier
Haha yeah that's an excellent point.
»
Mārtiņš Možeiko
I would be afraid to use such build system which tries to guess how to compile my sources and deci…
»
Dana Fortier
I'm totally laughing because there was a very strong urge when I did that saying "Welll he is doin…
»
Mārtiņš Možeiko
I'm guessing you simply added all *.cpp files to Visual Studio project? That's now how you should …
»
Dana Fortier
As Casey started moving from the single win32_handmadehero.cpp into handmade.cpp, handmade.h and w…
»
Dana Fortier
Not surprising since when that comes up they are both 0x000000000000
»
Mārtiņš Možeiko
I checked, and I was wrong. Clang accepts ext_vector attribute also in C/C++ mode. So that is pret…
»
elle
Thank you. Yes, it was working already, I was just wondering what its purpose was after reading ab…
»
Mārtiņš Možeiko
Invalid args error in this case would 100% mean that ByteToLock and BytesToWrite values are wrong.
»
Mārtiņš Možeiko
Afaik Extended Vectors are used only by OpenCL frontend in clang. Regular CPU code for SSE/AVX ins…
»
milo
Its work :) ola
»
elle
What are these "Extended Vectors" in LLVM used for? Are they the equivalent of the union syntax in…
»