Twitter | Pretraživanje | |
Patrick Walton 25. sij
Interesting thought experiment: Replace the GPU triangle rasterization hardware with an axis aligned rectangle rasterizer. No triangles allowed unless you implement them yourself in the fragment shader. Would WebRender still work? (I think the answer is yes?)
Reply Retweet Označi sa "sviđa mi se"
Patrick Walton 25. sij
Odgovor korisniku/ci @pcwalton
I think Pathfinder 3 still works fine in this world too, which is interesting. (Pathfinder 2 doesn’t, though.)
Reply Retweet Označi sa "sviđa mi se"
Patrick Walton 25. sij
Odgovor korisniku/ci @pcwalton
Shoutout to the gloriously hacky GL_NV_fill_rectangle extension which is literally “call this function to make glDrawArrays(GL_TRIANGLES, …) draw axis aligned rectangles instead of triangles”
Reply Retweet Označi sa "sviđa mi se"
Patrick Walton
For those who aren’t graphics programmers, this is like if instead of creating two functions mkdir() and rmdir(), Unix decided to just have mkdir(), but to have a function you could call beforehand to make mkdir() actually delete directories instead
Reply Retweet Označi sa "sviđa mi se" More
Tony “Abolish ICE” Arcieri 🦀 25. sij
Odgovor korisniku/ci @pcwalton
Sounds like git and how you can push branches to create them and push the null branch to delete them
Reply Retweet Označi sa "sviđa mi se"
Arseny Kapoulkine 25. sij
Odgovor korisniku/ci @pcwalton
Nah it's more like instead of creating two functions for reading data from files and reading list of files from directories Unix decoded to just have read(), but to have the behavior depend on the type of thing you opened... wait... (NV rasterizer actually sorta works like that)
Reply Retweet Označi sa "sviđa mi se"
Bill Dortch 25. sij
Odgovor korisniku/ci @pcwalton @BrendanEich
Hmm, reminiscent of the INTERCAL “COMEFROM” statement.
Reply Retweet Označi sa "sviđa mi se"