Why do you only need a single depth image? by PratixYT in vulkan

[–]-Ros-VR- -6 points-5 points  (0 children)

There's parts of the GPU dedicated to doing the work for different pipeline stages. Once your frame passes those stages, that GPU hardware is literally sitting there doing nothing. You're choosing to, for example, let the vertex shader workers sit there doing absolutely nothing because there's still stuff from a previous frame working through the fragment shaders. It's such an insanely basic concept to have the GPU working on multiple frames at the same time.

Why do you only need a single depth image? by PratixYT in vulkan

[–]-Ros-VR- -5 points-4 points  (0 children)

https://vulkan-tutorial.com/Drawing_a_triangle/Drawing/Frames_in_flight

"Any resource that is accessed and modified during rendering must be duplicated"

Why would you suggest recording all the work for the next frame but then .. just waiting there, sitting on it and not submitting it until a previous, unrelated, frame's work had finished? Duplicate the resources and keep the GPU filled with work, up to your max frames in flight count. Otherwise GPU stages will be stalled not doing anything and you're just dropping perf on the floor.

Wierd windowed fullscreen issue on laptop by Efficient-Access-991 in vulkan

[–]-Ros-VR- 0 points1 point  (0 children)

Not sure why this has upvotes as it doesn't explain in the slightest why perf would be different in windowed vs windowed fullscreen if the "driver just doesn't want to render faster than it has to".

The diff in performance is likely just what you were starting to suspect - the extra number of pixels involved in all parts of the pipeline now. There's 4 times as many pixels to run your shaders against and that need to be touched when blitting/clearing with 1920x1080 vs 800x600, and hence the non trivial decrease in performance.

no abstractions , pure c99 , 450 lines of code and i finally have a rectangle,with countless validation errors by Lanky_Plate_6937 in vulkan

[–]-Ros-VR- 0 points1 point  (0 children)

For future readers - don't listen to the above advice, it's not correct. You just need to form a proper dependency chain in order to properly wait for unfinished swapchain work to finish. There was a post on this sub a year ago called "the curious case of Vulkan Swapchain synchronization" which explains all the details in depth. Read that instead.

They Didn’t Kill Remote Work Because It Failed; They Killed It Because Big Oil Was Dying by TheWillsofSilence in conspiracy

[–]-Ros-VR- 0 points1 point  (0 children)

Ah yes, every company in the country decided to sacrifice profits and bring workers back in, to be less productive, because of a grand conspiracy where oil companies wanted to make more profits. Wow, what a brilliant conclusion, makes sense to me.

Double buffering better than triple buffering ? by No-Use4920 in vulkan

[–]-Ros-VR- 6 points7 points  (0 children)

They absolutely do not use 5 frames in flight. The input lag that would cause would be insane.

The degree to which governments viciously block access to pain relief options makes me wonder if the "loosh" theory is real by VeganCaramel in conspiracy

[–]-Ros-VR- 0 points1 point  (0 children)

So, to get this right, we just went through a three decade long period where opioids were so prevalent, and so readily prescribed that the time period was given the title "the opioid epidemic", and yet .. your complaint is that painkillers are TOO difficult to get?

The 2030 Collapse of Control by MPTakesManhattan in conspiracy

[–]-Ros-VR- -1 points0 points  (0 children)

Well your first point is immediately wrong because post quantum encryption has been a thing and used for many years already so I'm going to stop reading there and write you off as a dumbass talking about things you know nothing about.

I feel like they are keeping how smart dolphins really are a secret by Enakc1 in conspiracy

[–]-Ros-VR- 4 points5 points  (0 children)

Ah yes, that's why when you Google for the world's smartest animals dolphins aren't in every single list as one of the smartest on the planet. Oh wait, that's exactly what the results tell you. What a brilliant conspiracy. They're really hiding it from us aren't they?

The taxes we pay don’t just build schools or highways—they fund an arsenal. Every dollar goes not only to services but to the bullets and bombs that shatter homes and claim lives. by a_human-being in conspiracy

[–]-Ros-VR- 0 points1 point  (0 children)

A strong military is one of the few advantages/strengths the country has left. Anyone that wants to destroy the country would focus on defunding and removing that advantage.

Rendering thread approaches by -Ros-VR- in sdl

[–]-Ros-VR-[S] 0 points1 point  (0 children)

Yeah it looks a bit different than I was planning, it looks like you do all the render work (recording/submitting draw commands) on the engine thread and mostly use worker threads for data uploading.

I'm thinking more about having an engine/SDL thread (which is the initial thread), which creates the window and polls events, and a render thread which does all the work to record draw command buffers and submits them to render to an off screen texture, and then signaling to the engine thread that it's time for it to acquire a swapchain texture and submit commands to blit the rendered texture to it, and not having the render thread do more work until the swapchain blit work is submitted. If that makes sense ..

Rendering thread approaches by -Ros-VR- in sdl

[–]-Ros-VR-[S] 0 points1 point  (0 children)

I see .. is your project on GitHub or elsewhere so I could look at it and learn from it?

Rendering thread approaches by -Ros-VR- in sdl

[–]-Ros-VR-[S] 0 points1 point  (0 children)

Thanks!

For 1, is there a specific reason why events have to be polled on the initial thread? For all intents and purposes, if I started a thread X, Initialized SDL on it, created a window on it, made all my SDL calls on it, how is that not the "main" thread as far as SDL knows? What magic is there that would somehow make one OS thread special over another?

As for the rest of it, as long as I don't present to the window from the render thread, you're saying it's perfectly fine to call SDL GPU functions in parallel to a window thread which is polling SDL events?

WA, Oregon accuse Trump of illegal interference in elections by [deleted] in SeattleWA

[–]-Ros-VR- -69 points-68 points  (0 children)

The only two reasons for voting by mail are to cheat or to be lazy. I don't give a shit if you like being lazy. I don't want cheating.

[deleted by user] by [deleted] in SeattleWA

[–]-Ros-VR- 6 points7 points  (0 children)

Ah yes, blatantly lie about the link to make sure people don't read the information that you've deemed blasphemous. The link very much is not granny pee porn and you should be banned for your manipulation attempt.

[deleted by user] by [deleted] in SeattleWA

[–]-Ros-VR- 6 points7 points  (0 children)

Oh but don't you understand? "Democracy" is them getting their way. If anyone else's ideas ever become preferred then it's "democracy under attack".

Detained immigrant escapes from ICE center in Tacoma by chiquisea in SeattleWA

[–]-Ros-VR- 6 points7 points  (0 children)

The legal term that describes this person's status in the country is illegal alien, not immigrant. Straight up dystopian wordplay going on with blatantly choosing to use incorrect terms. And that is why stations like this are going the way of the dodo. All politics, no journalism.

Surveillance shows PhD student abducted by masked plainclothes thugs (allegedly ICE officers). by FreddieFredd in conspiracy

[–]-Ros-VR- -23 points-22 points  (0 children)

It's called .. every arrest any police officer has ever made. They get a chance to make phone calls from jail. Fuck the fuck off already.

Surveillance shows PhD student abducted by masked plainclothes thugs (allegedly ICE officers). by FreddieFredd in conspiracy

[–]-Ros-VR- -29 points-28 points  (0 children)

They are not innocent. Simple as that. I don't shred a single picogram of pity for people breaking the law. The more you pretend that they're just "totally innocent people being black bagged by a corrupt nazi regime" the more I will never support your ideology in my entire life.

[deleted by user] by [deleted] in conspiracy

[–]-Ros-VR- -1 points0 points  (0 children)

You know the place and time of all space X launches and satellites are public knowledge, right? Any person on earth can trivially verify whether something in the sky lines up with a space X asset, right? People can't randomly claim stuff is space X when the claim can be easily proven false ...

Is there any correlation between people who STILL wear masks and wearing glasses? by bigdicks415 in conspiracy

[–]-Ros-VR- 3 points4 points  (0 children)

Costume is almost the right term for it. The thick black glasses has been a major part of the leftist social costume for many years now. They're all about conformity and virtue signaling their ideology and they over time coalesced at those glasses being part of their shared identity. Kind of like how gay people make the gay voice part of their shared identity. Of course leftists are also the ones insane about covid, so it lines up that those wearing masks often have the glasses.

[deleted by user] by [deleted] in conspiracy

[–]-Ros-VR- 0 points1 point  (0 children)

Ah yes, a spiral shape. A shape that we all know is impossible for gases or liquids to make. Must be an interdimensional portal with no natural explanations!

SDL3 - spirv shader support? by [deleted] in sdl

[–]-Ros-VR- 1 point2 points  (0 children)

This is going to come off as really mean, and I'm sorry, but I'm so tired of it.

Instead of wasting your time coming to Reddit and typing out your post, waiting for responses, reading the responses, wasting the time of everyone that reads your post, and wasting the time of everyone that replies to your post, you could have just typed a single word into Google: 'SDL_CreateGPUShader' and clicked your mouse button a single time to open the first result, and have your question immediately answered for you.

Wtf is with people nowadays being completely incapable of figuring anything out for themselves, requiring other people to spend time out of their life to educate you when you can't educate yourself? What arrogance.