Live data from Hacker News

Viewing profile — hrydgard

hrydgard

HN member
Joined
Tue, Jan 24, 2012, 1:13 PM UTC
HN karma
446
Public activity
134 items

About hrydgard

No profile information was provided.

Recent public activity

  1. comment
    Comment #48890052

    This is just AI slop explaining the very basics of what a pixel/fragment shader is. The usecase is not particularly useful. Doesn't belong on HN.

  2. comment
    Comment #48889808

    Got taught this one in Sweden in the early 90s. Not too surprising though, as much of the Swedish school system used to be modeled on DDR...

  3. comment
    Comment #48882780

    Maybe a cache coherency issue, where data written by the CPU is not visible to the GPU, without some kind of explicit cache line invalidation, maybe on both sides? Caveat, I don't …

  4. comment
    Comment #48687517

    Or you just go ahead and forget that big endian ever existed. It's not coming back.

  5. comment
    Comment #46300830

    Well, it is what is done on several tiler architectures, and it generally works just fine. Normally your computations of the position aren't really intertwined with the computation…

  6. comment
    Comment #45157983

    BC1-3 are like that, but BC7 is far, far more complex. The search space is huge.

  7. comment
    Comment #44888478

    It works just fine and is natively ARM, since a year or so.

  8. comment
    Comment #44374397

    What about implementations? libpng seems pretty dead, 1.7 has been in development forever but 1.6 is still considered the stable version. Is there a current "canonical" png C/C++ l…

  9. comment
    Comment #44256367

    Parody account

  10. comment
    Comment #43544597

    Great stuff! Small UX thing: Make it so you can just click a word to fill in the next empty spot, instead of having to drag, similar to when building sentences in Duolingo. Especia…

  11. comment
    Comment #43150247

    Function calls are very fast (unless there's really a lot of parameter copying/saving-to-stack) and if you can re-use a chunk of code from multiple places, you'll reduce pressure o…

  12. story
  13. comment
    Comment #41873794

    Not sure if you care at this point, given that you stopped working on project, but there's a better way to find the ray direction for each column than using sin/cos for every one, …

  14. comment
    Comment #41459228

    Pack Z and 32-bit color together into a 64-bit integer, then do an atomic min (or max with reversed Z) to effectively do a Z-query and a write really, really fast.

  15. comment
    Comment #41416509

    What else would it possibly mean? k is very common shorthand for kB, at least historically.

  16. comment
    Comment #40273238

    Nice! Could save a couple of cycles per iteration by preloading the shift amounts into several GPRs before entering the loop, instead of initializing them just before use.

  17. comment
    Comment #38529817

    I think "cover shooter mechanic" refers to ducking behind cover and a system for smoothly shooting from behind it like in Gears of War - or in Winback. This mechanic was not there …

  18. comment
    Comment #38029929

    It's probably just a very good guess, since that's how it always goes.

  19. comment
    Comment #37307658

    oklab might be an even better alternative to LCh: https://bottosson.github.io/posts/oklab/

  20. comment
    Comment #37113871

    Only the user mode part of the driver is replaced, the kernel interface is actually shared between the closed source and the open source driver. So it's just loaded like a DLL/.so …

  21. comment
    Comment #35859349

    You can have a Vulkan driver that only exposes a video decoder queue and no raster/compute/copy queues, not a problem.

  22. comment
    Comment #35764190

    valgrind runs on your unmodified binary, it's asan that needs a separate build.

  23. comment
    Comment #34624918

    What dropoff? The newest number is on top. (Though yeah, there will be a dropoff for sure, it's just not visible here).

  24. comment
    Comment #32553767

    There is no good reason to flip the flag dynamically at runtime and apps just don't do that, so flushing the pipeline should be perfectly fine, even in an implementation of the cli…

  25. comment
    Comment #31496613

    The Witcher 3 scratches that itch fairly well to tide you over, if you haven't played it, although it is a bit different.