ProgrammerHumor

nothingHumblesYouFasterThanGPUProgrming

nothingHumblesYouFasterThanGPUProgrming
https://i.redd.it/dugfyip9i2cf1.jpeg
Reddit

Discussion

Antlool
:cp::c::rust::asm:

Can confirm, >200 lines of code in and still no triangle.

1 day ago
Ao_Kiseki

Vulkan requires about 1000 lines of code to generate a triangle lol, but luckily most of it is just filling out extremely verbose structs to set everything up.

1 day ago
ih-shah-may-ehl

I've never looked into GPU programming so I'm curious: I know OpenGL was the standard for a long time and it seems to do the job, so if Vulkan is indeed that tedious to use, what does it add?

1 day ago
TorbenKoehn

It's a "pay-once/no-hidden-costs" methodology:

You have it all completely under control and have to do a lot of things by yourself. In OpenGL much of it is "done for you", but often in a way that leaves a desire for flexibility and accessing deeper parts. OpenGL also has a global state which is a bottleneck in many kinds of GPU applications, while Vulcan has concurrent command recording and submission. Vulkan also gives access to modern GPU features like ray tracing.

So you have more work, but in the end get a better product. That's the whole thing.

1 day ago
you-should-learn-c

What No Triangle does to a mf

1 day ago
JosebaZilarte

Oh, you wanted to draw a line? With rounded endpoints, like the old times?! Prepare yourself to get  VK_EXT_line_rasterization-ed!

1 day ago
Deep-Fuel4386
:rust::rust::rust::rust::rust::rust:

I think I’ve started the Vulkan tutorial twice, fucked up both times and threw it all away

1 day ago
ILikeLiftingMachines
:cs: :j:

I miss povray :(

10 hours ago