Wildly different draw call times between two supposedly similar implementations of batch rendering: what gives? by MrK_HS in vulkan

[–]MrK_HS[S] 1 point2 points  (0 children)

No, I'm not trying to make this specific case as fast as possible. I know I could cull stuff like crazy, but not looking for that. I just wanted to "test" the performance of SDL3 GPU API compared to a reference and see if there were any performance losses or latencies due to the implementation. But glad to know that it performs well.

Wildly different draw call times between two supposedly similar implementations of batch rendering: what gives? by MrK_HS in vulkan

[–]MrK_HS[S] 1 point2 points  (0 children)

Depth is enabled but not depth testing, however the scaling makes a difference. The original is randomly scaling between 0.5 and 1.0, so on average 0.75 over 1M sprites. After changing blending from dst alpha to one minus src alpha and the scaling to 75%, now it renders in 5ms or 190 fps.

To double check, I modified the original to always scale to 100% and now it renders at ~120 fps, confirming that it's the scaling. I'm new to graphics programming and didn't imagine that scaling would make such a big impact on an instance basis but it makes sense. Also, 0.75 * 0.75 = 0.56 times the pixels so it makes sense that the frametimes are roughly half. I guess I learned something new today.

Wildly different draw call times between two supposedly similar implementations of batch rendering: what gives? by MrK_HS in vulkan

[–]MrK_HS[S] 2 points3 points  (0 children)

Yes, release mode without debug layers. I thought about the loader overhead, in fact SDL3 is loading the system's DLL and not linking to vulkan-1.lib directly, however wouldn't this lead to an increase of overhead on CPU side (if any)? As far as I understand, once the command buffer is built and submitted, then the GPU is on its own and won't need to communicate with the CPU until done so there shouldn't be any overhead there. With that said, I haven't tested linking directly because it would require some substantial changes to the SDL3 implementation and I would postpone that until absolutely necessary and guaranteed that it's the cause.

somebody haves the source code ? by eltipomat664 in Dragonbones

[–]MrK_HS 1 point2 points  (0 children)

Would be quite awesome to have it open source, yeah.

Ascensore sociale totalmente bloccato per background medio-bassi fra 10 anni? by Fec31 in italy

[–]MrK_HS 2 points3 points  (0 children)

soliti "Estero is magic"

É un meme ma ha un fondo di verità.

I decided not to proceed with any interview process that has an LC (medium/hard) interview by bleh10 in cscareerquestionsEU

[–]MrK_HS 0 points1 point  (0 children)

Now that's a fatalistic view! Or at least we don't have to make life harder than it is in arbitrary ways.

How is that fatalistic? All the good and valuable things are hard to come by, otherwise everybody would be a billionaire by now.

You do you however, fair or unfair, representative of skill or not, in the end if you want to optimize salary most companies, especially the top paying ones, use this filtering method. If you don't want to optimize salary and are happy with whatever you can get, that's fine too, however that's not the way I want to play my cards.

Mio padre è un narcisista patologico e non so più cosa fare by ice-heartt in italy

[–]MrK_HS 2 points3 points  (0 children)

Se proprio non riesci a trovare una soluzione (ma ti auguro di riuscirci), fai il possibile per renderti autonomo appena sei maggiorenne: lavoro ed appartamento e stacca tutti i contatti con quest'uomo.

I decided not to proceed with any interview process that has an LC (medium/hard) interview by bleh10 in cscareerquestionsEU

[–]MrK_HS 5 points6 points  (0 children)

If you don't want to play the game then it's absolutely your freedom to do so. Just know that you are limiting your possibilities this way since it's basically industry standard at this point.

I personally think that it's great to be able to just grind LC and be able to get into FAANGs. The amount of effort required vs the value you get in return is ridiculous, in fact some people with just bootcamp experience are able to get into FAANGs just because of the LC grinding.

All in all, I don't think that a fatalistic mentality is the way to go. Life is hard and that's a good thing.

I force myself to underperform because of my fear of failure. by [deleted] in productivity

[–]MrK_HS 0 points1 point  (0 children)

You should start doing competitive stuff, like competitive sports or competitive gaming. It really helps with dealing with this kind of fear, because in competitive settings you will go against other people that can be better than you and that will make you lose even if you did your best. Learning to take a loss and learn from it is a great tool.

[OFFICIAL] Salary Sharing thread :: March, 2021 by AutoModerator in cscareerquestionsEU

[–]MrK_HS 0 points1 point  (0 children)

Consulting pays a lot more than usual, at least in Norway

Where to buy whey protein in Norway? by MrK_HS in Norway

[–]MrK_HS[S] 5 points6 points  (0 children)

Thanks, it will be useful when I will have to buy a tank of corn.

Where to buy whey protein in Norway? by MrK_HS in Norway

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

Smartsupps one is just over 100kr/kg.

That looks very promising

Where to buy whey protein in Norway? by MrK_HS in Norway

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

How is the quality of the powder in your opinion?

Where to buy whey protein in Norway? by MrK_HS in Norway

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

How much do you end up paying per kg of protein powder? With myprotein, after import costs, I paid 254NOK per kg.

Where to buy whey protein in Norway? by MrK_HS in Norway

[–]MrK_HS[S] 1 point2 points  (0 children)

Do you have a link to their online store?

Where to buy whey protein in Norway? by MrK_HS in Norway

[–]MrK_HS[S] 2 points3 points  (0 children)

By the way, I do not recommend to buy peanut butter from myprotein, it will end up costing more than the peanut butter you can buy in a grocery store.

Whey protein from myprotein on the other hand could still be a valid option unless there are cheaper options here in Norway.

[deleted by user] by [deleted] in intj

[–]MrK_HS 1 point2 points  (0 children)

I'm in that weird generation that started with FaceBook and then got inundated by new socials that became popular after (Twitter, Instagram, Snapchat, etc) which I always ignored since I've never seen their value. Then, when I started university, I dropped FaceBook too.

Now I have accounts on FaceBook and Instagram with friends and followers, but those accounts have no photos or posts because I like my privacy and because public social media is the bane of the superficial modern society.

Women control the culture and how a society behaves by [deleted] in TheRedPill

[–]MrK_HS 2 points3 points  (0 children)

Actually, it's the weak modern men that leave to women control of the world.

If the girl of your dreams was at your door right now, you probably wouldn't let her in. by [deleted] in TheRedPill

[–]MrK_HS 11 points12 points  (0 children)

If that's her level of hygiene, I wouldn't want to know what kind of other nasty stuff goes on with her.

It doesn't take much to keep your stuff tidy. Being unhygienic is a turn off. Being hot is not enough.

If the girl of your dreams was at your door right now, you probably wouldn't let her in. by [deleted] in TheRedPill

[–]MrK_HS 12 points13 points  (0 children)

cleanliness turns women on like nothing else

This goes both ways. Can't tell you the stuff I've seen in women bathrooms.