I used to work in a department full of developers going around bugs in OpenGL drivers for our 5000…
Global side-effects cannot be used for constant evaluation during compile time because they do not…
Miles —
SSE and AVX also have unaligned loads, with once again little to no performance penalty. I agree…
Incorrectly aligned memory is not just a major performance factor. It's bad practice and can lead …
Upgraded my gpu drivers (GTX 1080ti) rebooted and it's still the same. Debugged the program again …
Yeah will do. I am going to upgrade my gpu drivers and check again.
This looks like an issue with the nvidia OpenGL driver (or how 4coder uses it). You should comment…
Miles —
You're overstating your case by a lot with regard to unaligned accesses. Unaligned memory access h…
I have also noticed that the name of the exception is somewhat similar to what this community memb…
I added the breakpoint, saved the file and debugged the executable with Visual Studio and here is …
Sorry, I should have been more clear. This was an existing proposal that someone else made as a …
When your language has enums but no OOP, adding table-driven features would allow:Removing repeate…
Hi. I have not modified anything regarding the custom layer. Extracting it from the zip and runnin…
@Dawoodoz I'm not exactly sure I'm getting what are you trying to say so please let me know if I a…
Hi, new release 0.9.0 is out! Release notes:Use LLD as default linker on Windows and Linux (exper…
I haven't looked at Zig (at all) but your proposal for the loop seems weird to me. If you want a r…
Did you modify any file from the custom layer ? Did you try starting up from scratch (extracting t…
Hi ! I am pretty much new to this community so sorry if this post has been made before. I purchase…
Ryan —
Yes, it all seems fine. I think I have ruled out being an issue:
Have you tried putting breakpoint on "syscall" instruction and verifying input register values if …
Ryan —
I compile with Running on host it works fine. Memory is valid and zeroed. I based my syscalls on …
How exactly are you compiling that code? Because that inline assembly seems to use intel syntax? B…
Ryan —
I changed result to but I still get the same invalid memory.
Your variable is 32-bit int. Syscall returns result in rax register which is 64-bit. It probably …
Ryan —
I seem to have encountered an issue with qemu memory allocation. void *sys_result = (void *)((u64…
I really wanted to like Zig, mainly because it seemed simpler than all the fad C-killer languages …
If you define a subset of functions that can only have fully defined operations without global var…
C_Worm —
Allright big thanks! I also found a small bug in the naming of variables in the shader, but now it…
I'm rusty about all the OpenGL setup, but here are some things you may want to check:The values fo…
C_Worm —
Hi! Im trying to use two VBO's, one for sprites and one for font/text rendering. However the glDra…