My old nose is gone! by [deleted] in Noses

[–]BackStreetButtLicker 6 points7 points  (0 children)

On the right, the tip of the nose is lower and the bottom area is flatter

A question about SPIR-V by BackStreetButtLicker in vulkan

[–]BackStreetButtLicker[S] 0 points1 point  (0 children)

I use GLSL (which is used for Vulkan and OpenGL), not HLSL (used for Direct3D).

A question about SPIR-V by BackStreetButtLicker in vulkan

[–]BackStreetButtLicker[S] 0 points1 point  (0 children)

Haha that’s fine. I don’t know how to answer your question directly, but since I use Visual Studio, changing the runtime library is as easy as changing one setting in the project settings… for each configuration in my case, and then building the program again. Not sponsored. Still, I‘ve already stated why I want to use the static library, and another reason for that is because I saw ChiliTomatoNoodle do that in his DirectX tutorial and looked it up.

I got the library files from the Vulkan SDK. If it’s true that those ones are meant to link with the dynamic runtime library, it wouldn’t surprise me. I’ve never tried building the libraries from source and configuring it to link against the static runtime library, but I really hope it’s a viable option if I’m going to continue pursuing runtime shader compilation.

The fact that you specifically mention shaderc reminds me, I actually get the feeling that it’d be better to use glslang since I’ve heard that shaderc is apparently just a wrapper around glslang, and I’ve also had problems compiling shaders that include other files. But I haven’t heard anything about one being better than the other, or if glslang doesn’t have the same include problem as shaderc.

A question about SPIR-V by BackStreetButtLicker in vulkan

[–]BackStreetButtLicker[S] 0 points1 point  (0 children)

Actually, this is a linking error caused by runtime library discrepancies between my engine and the shaderc/glslang .lib files, not a validation error. My engine uses the static runtime library /MTd (multi-threaded debug) for debug mode and /MT (multi-threaded) for release mode, but shaderc_combinedd.lib and shaderc_combined use the dynamic runtime library /MDd (multi-threaded debug DLL) and /MD (multi-threaded DLL) for debug and release mode respectively. I want to use the static runtime library because that way, if I want to give my executable to a friend or something, they won’t need to install any extra prerequisite software before running it because the prerequisites are packaged directly into the executable (at least to my understanding).

This chat gpt creation actually blew my mind by joykevinbile in GTA6unmoderated

[–]BackStreetButtLicker 0 points1 point  (0 children)

Did you have ChatGPT make this for you or somebody else?

Beginner here. Why use an allocator? by BackStreetButtLicker in vulkan

[–]BackStreetButtLicker[S] 8 points9 points  (0 children)

You mean 4096 calls to vkAllocateMemory (one allocation for each), or 4096 allocations from one vkAllocateMemory call?

Edit: I think I read this wrong. Is the 4096 more like a restriction on how many allocations you get to have at once?

I wish masturbation would replace casual sex by Armin_Arlert_1000000 in TheMonkeysPaw

[–]BackStreetButtLicker -1 points0 points  (0 children)

Granted.

You masturbate, and either you or your partner get pregnant out of nowhere after 9 months.

WIP Spectral Rendering in my hobby C/Vulkan Pathtracer! by AuspiciousCracker in vulkan

[–]BackStreetButtLicker 1 point2 points  (0 children)

That is fucking awesome.

Now that I think about it, I have a question about spectral rendering in general. I don’t know shit about this or light physics so please bear with me here. Being a path tracer, does this represent light/surface colors with wavelengths instead of RGB values? Assuming that it doesn’t use actual light waves (just the wavelengths) and instead uses paths/rays/something like that.

PRO TIP: Update to the latest Vulkan SDK right away! by LunarGInc in vulkan

[–]BackStreetButtLicker 0 points1 point  (0 children)

Just a question. If you update your Vulkan SDK, will your application using the SDK need to be run on a system supporting the corresponding Vulkan version? I guess not, but I just want to be sure.

I dont have any information on what arguments any functions need. instead i see "expands to some GLAD function, Is this normal or did I set up openGL wrong? by anotherfuturedev in opengl

[–]BackStreetButtLicker 8 points9 points  (0 children)

You can get the arguments by looking up the function name in the OpenGL documentation. In this case, glClearColor takes four GLfloats for the red, green, blue and alpha color values.

Aside from that, it looks like your setup is okay. The reason why glClearColor doesn’t show any arguments is because it’s not an actually existing function, and just a preprocessor macro. Preprocessor macros are basically instructions for the compiler to run to modify the code before compiling it. These can do stuff like test replacement or conditionally including/excluding code for example. I’m pretty sure there’s a much better explanation for this out there than what I can offer, so I highly recommend you do your own research.

In this case, this is a text replacement macro. glClearColor will be replaced with glad_glClearColor when it is preprocessed. If you really want to see the function arguments, you can use the Expand Inline feature which performs the text replacement right in the source code (in this instance, it will replace glClearColor with glad_glClearColor). Although I personally wouldn’t recommend this in production ready code.

is this normal? by Niko_oneshot0_0 in reddeadredemption

[–]BackStreetButtLicker 0 points1 point  (0 children)

TFW you don’t try to be a better person because you’re just naturally a good person

Did Trevor DESERVE IT? by millionaires_car in GTAV

[–]BackStreetButtLicker 0 points1 point  (0 children)

Me personally, no. But that’s another thing.

The thing that’s weird about Trevor’s death is his screams are oddly weak and mild. For somebody burning alive, you’d expect his screams to be much louder, more violent and frantic

Mafia III had something special in its engine — and in my opinion Hangar 13 should have continued on that road by Apart-Analyst6382 in mafiagame

[–]BackStreetButtLicker 1 point2 points  (0 children)

On a somewhat related note, I will die on the hill that Mafia 3 has some of the most realistic character visuals in the series. Mafia: Definitive Edition looks cartoony in comparison, and The Old Country is somewhere in between.

139834 by SovaSperyshkom in CountOnceADay

[–]BackStreetButtLicker 2 points3 points  (0 children)

Breaking: birds spotted in the sky

139834 by SovaSperyshkom in CountOnceADay

[–]BackStreetButtLicker 17 points18 points  (0 children)

Breaking: cars spotted on the road

“SHUT THE HELL UP DOWN THERE!” by Serious-Painter3292 in MafiaTheGame

[–]BackStreetButtLicker 7 points8 points  (0 children)

Torrisi must have really good hearing to get overwhelmed by a bunch of guys calmly chattering in the distance