@dneto@mastodon.gamedev.place avatar

dneto

@dneto@mastodon.gamedev.place

Vulkan, WebGPU shader stuff at Google.
WGSL editor.
Former SPIR WG chair @ Khronos; still doing SPIR-V.
GitHub @dneto0 Twitter @dneto1969

Searchable

This profile is from a federated server and may be incomplete. Browse more on the original instance.

dneto, to random
@dneto@mastodon.gamedev.place avatar

Huh. TIL.

https://history.princeton.edu/about/publications/one-nation-under-god-how-corporate-america-invented-christian-america

" As Kruse argues, the belief that America is fundamentally and formally a Christian nation originated in the 1930s when businessmen enlisted religious activists in their fight against FDR’s New Deal."

dneto, to random
@dneto@mastodon.gamedev.place avatar

It is forbidden knowledge: when is Hit Man going to be streaming on Netflix in Canada?

It's been streaming in the US and about 10 other countries since Friday. So all the search results point to the Netflix US announcement or content mill articles saying it's out now now now.

But no.

I saw it at TIFF last year. It's fun and I want to share it with my family.

But impossible to know when.
Does Netflix have a phone number?

dneto, to random
@dneto@mastodon.gamedev.place avatar

Yes, today I wrote algorithms to compute dominator trees and to detect natural loops. In Perl. As one does.

dneto, to random
@dneto@mastodon.gamedev.place avatar

Love to see it. Testify!

"Implicit Warp-Synchronous Programming is Unsafe"

Well, i'd personally say "ill-defined", but you be you.

https://developer.nvidia.com/blog/using-cuda-warp-level-primitives/#implicit_warp-synchronous_programming_is_unsafe

dneto,
@dneto@mastodon.gamedev.place avatar

@nh

Yes, and yes!

It's all very nuanced for a Mastodon post.
I mainly wanted to amplify the headline because many programmers mistakenly believe the intuitive things happens naturally. I wasn't necessarily endorsing their solution as the only one.

dneto, to random
@dneto@mastodon.gamedev.place avatar

I went to the Banksy exhibit yesterday. It was pretty good.

https://globalnews.ca/video/10530418/worlds-largest-banksy-exhibit-on-display-in-toronto

dneto, to random
@dneto@mastodon.gamedev.place avatar

Two really good TV shows, IMHO:

Giri / Haji (Netflix)
The Bear. (My god it is sooo good)

dneto, to random
@dneto@mastodon.gamedev.place avatar

NEWS FROM CANADA

Canada does not classify crimes as "misdemeanors" and "felonies".
We have "summary conviction offences" and "indictable offences".

https://www.justice.gc.ca/eng/cj-jp/victims-victimes/court-tribunaux/offences-infractions.html

(If you search, many Canadian law firms have web pages explaining the difference with the U.S. May as well go to the authority.)

dneto,
@dneto@mastodon.gamedev.place avatar

@litherum

News to some people...?
Topical news peg?

Don't think I have the umph to start a FACTS ABOUT CANADA series?

arstechnica, to random
@arstechnica@mastodon.social avatar

OpenAI board only learned about ChatGPT from Twitter, according to former member

Helen Toner, center of struggle with Altman, suggests CEO fostered "toxic atmosphere" at company.

https://arstechnica.com/information-technology/2024/05/openai-board-only-learned-about-chatgpt-from-twitter-according-to-former-member/?utm_brand=arstechnica&utm_social-type=owned&utm_source=mastodon&utm_medium=social

dneto,
@dneto@mastodon.gamedev.place avatar

@arstechnica
Bonkers

litherum, to random
@litherum@masto.ai avatar

I remember it took me literal days to figure out the “umount” command doesn’t have the letter “n” in it

I kept reading online about people saying “use umount” and every time I tried, it said “unmount: command not found”

I felt so stupid when I figured it out

And then I thought, no, it is not me who is stupid, it is whoever named that fucking command and deleted a random letter from the middle of it

dneto,
@dneto@mastodon.gamedev.place avatar

@litherum

You know about 'creat' right?

dneto, to random
@dneto@mastodon.gamedev.place avatar

Inclusive language tips:
Instead of "Hey guys", say "Hey folks" or "Folks".
Instead of "manpower" say "staff".

Concision, precision, and inclusion.

#dei

dneto,
@dneto@mastodon.gamedev.place avatar

@tojiro
Growing up in Canada, nobody said Y'all. For me it was culturally coded as uneducated redneck, so to speak.
Then I took a grad course in formal languages and mathematical logic. The TA was from Texas and said Y'all and "alls ya gotta do" a lot. It was jarring and reset my biases.

(Also, "red neck" comes from working outside, which is often grueling and skilled work!)

dneto, to llvm
@dneto@mastodon.gamedev.place avatar

So the thing about LLVM IR is, in reality it's a family of accidental and informally defined dialects. Every LLVM-based compiler for a particular machine target refines the input module down to its own idiosyncratic dialect.

Consequently there's way more latitude for confusion and bugs than you'd initially guess.

Try using an i65 type in an x86 backend. When I did that years ago it sailed right through and generated nonsense code.

litherum, to random
@litherum@masto.ai avatar

You know what GLSL needs?

Inline assembly. So you can write snippets of SPIR-V in your GLSL shader.

(I'm only mostly joking)

dneto,
@dneto@mastodon.gamedev.place avatar
dneto,
@dneto@mastodon.gamedev.place avatar

@litherum

My team added the Vulkan SPIR-V backend to DXC starting in 2017. Vulkan benefitted by getting the latest greatest HLSL compiler. I don't speak for Microsoft but I can guess they benefitted by expanding the audience for and usage of HLSL.

(As I like to say, a programming language is a cultural artifact. Network effects matter a lot.)

dneto,
@dneto@mastodon.gamedev.place avatar

@litherum
Also the SPIR-V feature was clearly only for Vulkan, AFAIK

nh, to random
@nh@mastodon.gamedev.place avatar

Atomic loads and stores are sufficient for multi-threaded programming without tears, but they can't guarantee multi-threaded programming without tears.

dneto,
@dneto@mastodon.gamedev.place avatar

@nh
Well you might also want a progress guarantee...

dneto, to random
@dneto@mastodon.gamedev.place avatar

University of Toronto students are protesting the situation in Gaza and demanding financial divestment in Israel and cutting ties with universities in Israel.
The University is willing to give in on the first, not the second, and has given 24hrs to accept the terms and vacate the premises.

This reminds me of the fight against South African apartheid. Students led a 6 year campaign ending in full divestment, including a 3hr occupation of the president's office
https://nvdatabase.swarthmore.edu/content/university-toronto-students-win-divestment-apartheid-south-africa-1984-1990

litherum, to random
@litherum@masto.ai avatar

only in C++ could there simultaneously be:

  • rule of 3
  • rule of 5
  • rule of 0
dneto,
@dneto@mastodon.gamedev.place avatar

@litherum

Without looking I don't know any of them.
Then there's ODR which would be a rule of 1.

dneto,
@dneto@mastodon.gamedev.place avatar

@litherum figured it was that.

thephd, to random
@thephd@pony.social avatar

It's time.

RAII in C, and why nobody's getting it right with the increasingly "simple" juggling that keeps getting tossed to me like table scraps for a dog.

The Pasture | Why Not Just Do Simple C++ RAII in C? | https://thephd.dev/just-put-raii-in-c-bro-please-bro-just-one-more-destructor-bro-cmon-im-good-for-it

dneto,
@dneto@mastodon.gamedev.place avatar

@gob @gfxstrand @thephd

Yep. This is the dumbest part of Clspv. By dumb I mean the highest difficulty-to-intrinsic-value ratio, and often error prone.
The folks pushing this change have waved away the concerns expressed by the GPU community. Right there in the RFC discussion.

dneto,
@dneto@mastodon.gamedev.place avatar

@gob @gfxstrand @thephd

I know this isn't your main point but
"10 hours" is far too low.

If you're not writing thousands of tests you're not building a production compiler.
And the C++ spec is over 1000 pages.

If you didn't test it it doesn't work.

gfxstrand, to random
@gfxstrand@mastodon.gamedev.place avatar

This week's project: Reworking NVK cbuf support. We've had a lot of issues with too much internal stalling and I think a lot of them come down to the fact that we're re-binding cbufs every draw call.

My plan for root constants, is to do inline updates with the LOAD_CONSTANT_BUFFER command. I don't know how much of a difference there is but I strongly suspect this pipelines much better.

For bound cbufs, I'm planning to just make our dirty tracking way more competent.

We'll see how it goes!

dneto,
@dneto@mastodon.gamedev.place avatar

@gfxstrand

Do you have a benchmark suite that you trust and curate? It would take the guesswork out of these tradeoffs. (Of course, mainly pushing it to the curation process.)

collabora, to Nvidia
@collabora@floss.social avatar

New blog post! While @gfxstrand managed to land support for two extensions, implementing control flow re-convergence in did not go as planned. This is the story of what went wrong and how it was fixed. http://col.la/nvkccf @vulkan

dneto,
@dneto@mastodon.gamedev.place avatar

@collabora @gfxstrand @vulkan

Great read! Nice work. Congratulations

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • DreamBathrooms
  • tester
  • InstantRegret
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • megavids
  • provamag3
  • lostlight
  • All magazines