@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

Me: shivering and complaining all winter about cold and snow.
Me, the minute it's sunny and freakin' 14C, sitting in the sun: O my god that's hot. My skin is burning 🥵

Emmadrime, to random
@Emmadrime@mastodon.social avatar

"I return to differentiators.

"There are things that we can do that fascists simply can't.

"We should do those things."

The Thing That's Coming
by A.R. Moxon in The Reframe

(It's a long one. Worth.)

https://www.the-reframe.com/blame-management/?

dneto,
@dneto@mastodon.gamedev.place avatar

@Emmadrime

This was good and thoughtful. Thanks for the forward

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

Iowa vs. UConn was a great game.
Tense, full of heart, and in the end really close.

litherum, to random
@litherum@masto.ai avatar

Is there an equivalent to Swift's fatalError(), but built-in to C++? static_assert(false) doesn't fit the bill because it's not marked as noreturn, which means that putting it in a function still requires the function to have a return statement of the correct type.

Something like:
Foo myFunction() {
if (bar) {
fatalError();
// Don't fall-through to below, and don't force me to write a return statement here
}
return Foo();
}

dneto,
@dneto@mastodon.gamedev.place avatar

@litherum
longjmp, a comma operator, and printf will do the trick.
But I'm just trolling again.

dneto,
@dneto@mastodon.gamedev.place avatar

@litherum

LOL
I've been in a mood lately. ;-)

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

Thankfully HLSL defined readlane to work with non-compile-time constants. So even though Vulkan says {'compile time constant' for lane index} it isn't actually required (see associated AMD disassembly, reading a lane index based on a scalar load). For the sake of shader compatibility with HLSL no PC driver could get away with anything other than HLSL compatibility.

image/png
image/png

dneto,
@dneto@mastodon.gamedev.place avatar

@NOTimothyLottes

Sure, but about 2/3 of Vulkan devices run Android.

(I feel troll-y lately)

dneto, to random
@dneto@mastodon.gamedev.place avatar
ephemeromorph, to random
@ephemeromorph@topspicy.social avatar

A valid English sentence with the word 'and' five times in a row:

Said the fish and chip shop owner to the sign maker: "The spaces between Fish and And and And and Chips aren't equal; please fix it."

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

man cmake really is a box of surprises

dneto,
@dneto@mastodon.gamedev.place avatar

@aras @barrelshifter
Option cache bool force no

litherum, to random
@litherum@masto.ai avatar

The only successful closed-source compiler I can think of, for any language, is MSVC

dneto,
@dneto@mastodon.gamedev.place avatar

@litherum @abarker

Mesa, and AMD's Linux Vulkan are counterexamples, I think.

But these may be exceptions that highlight the underlying trend: the compiler for customized and fast changing HW is tightly coupled and there's huge perceived benefit to keeping it closed.
Fabulous examples are the FPGA CAD stacks where the effect is 10x stronger.

Refinery29, to random
@Refinery29@flipboard.com avatar

Venus Is In Aries & It’s Going To Be Really Intense For A Bit
https://www.refinery29.com/en-us/venus-in-aries-april-2024-meaning-effects?utm_source=flipboard&utm_medium=activitypub

Posted into Horoscopes @horoscopes

dneto,
@dneto@mastodon.gamedev.place avatar

@Refinery29 @horoscopes

Post hoc ergo propter hoc fallacy.
I mean have you looked around lately?

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

Yesterday I wrote a "hello world" in Go, mostly from scratch.
No foolin'

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

I watched Dune part 1 last night.
I kept thinking: this is just Star Wars, right?

dneto,
@dneto@mastodon.gamedev.place avatar

@aras
Yeah. I was trolling.

I have a complicated relationship to Dune. When I was 12 my teacher lent me her personal copy of Dune....which I then lost and was too embarrassed to confess.

litherum, to random
@litherum@masto.ai avatar

I, like, don’t understand the discourse about how we should make bridges stronger. If a fully loaded container ship hits a bridge, it seems, like, totally understandable that the bridge would fall down. I can’t even contemplate how strong we’d have to build a bridge to have it withstand a fully loaded container ship. Seems completely impractical.

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

@tojiro @litherum

Seems pretty nuanced. The article compares the force to that of a Saturn V rocket. A lot depends on how quickly it decelerated.
And an expert said modern standards (post 1980) accommodate today's larger ships by requiring stronger piers. And other design elements deflect ships before they hit the pier.

Altogether a lot of people talk off the cuff, with more confidence than is justified...

litherum, to random
@litherum@masto.ai avatar

I’m actually kind of surprised Khronos hasn’t tried to cash in on the AI hype by standardizing an API that runs on AI accelerators

(AFAIK, OpenCL doesn’t run on AI accelerators…)

dneto,
@dneto@mastodon.gamedev.place avatar

@litherum @abarker Another example is the Edge TPU which has several development boards and also a convenient USB stick (for prototyping). https://coral.ai/products/

mekkaokereke, to random
@mekkaokereke@hachyderm.io avatar

The highest paid WNBA player makes under $1M a year. WNBA and NBA teams play 5 players to a side.

Ice Cube has a 3 on 3 basketball league called "The Big 3" that is made up mostly of retired NBA players. Ice Cube just offered Caitlin Clark a $5M contract to play in the Big 3. 🤯

Many WNBA players play in other leagues during their off-season, in places like Russia and Greece. The Big 3 plays during a time of the year when there is no WNBA season, so she can play in both leagues.

dneto,
@dneto@mastodon.gamedev.place avatar

@mekkaokereke

Incidentally she plays for Iowa.
Iowa has a particularly strong history of women's basketball, including a variant know as 6 on 6

99 Percent Invisible has a great story on it.
https://99percentinvisible.org/episode/six-on-six-basketball/

blinry, to random
@blinry@chaos.social avatar

I'd like to collect "hyper-interesting pages"! 🤯📄

Self-contained, single-page artifacts that can nerd-snipe you; that you could hand out at an event, and it'd keep people interested/busy for a while, or teach them something!

Examples:

Do you know more documents like this?

What do you wish existed?

A Toki Pona cheat sheet, that explains the full grammar of the constructed language.
A message in an alien font.

dneto,
@dneto@mastodon.gamedev.place avatar

@blinry

Oh for me it's the xkcd on radiation.

https://xkcd.com/radiation/

Miriamm, to random
@Miriamm@mastodon.social avatar

The revolution is starting

dneto,
@dneto@mastodon.gamedev.place avatar

@Miriamm
Orange juice is yellow

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

I'm disappointed in you NYT

litherum, to random
@litherum@masto.ai avatar

WebGPU mesh shading when

dneto,
@dneto@mastodon.gamedev.place avatar

@litherum

Hehe.
No joke we are still filling out the conformance test suite. And still finding bugs with it.

litherum, to random
@litherum@masto.ai avatar

I wonder why so many production compilers are written in C++, a language particularly ill-suited to writing compilers in

dneto,
@dneto@mastodon.gamedev.place avatar

@litherum @dj2

Yes, generally it's in C++ for the reasons given.
+1 to what Dan said, even the "Rust if we started today" part.

We have a bit of a momentum issue in favour of C++; switching to Rust we'd need to accomodate rampup time for folks to gain proficiency.

Also: Tint doesn't directly use the WGSL grammar or the SPIR-V JSON grammar (!).
It does have its own DSL for the builtins table, that drives a lot of validation and diagnostics logic.

dneto,
@dneto@mastodon.gamedev.place avatar

Also, Tint being in C++ makes it easier for other C++ projects to embed Tint. That's worth consideration too. The graphics industry still has a lot of C++ users.

dneto,
@dneto@mastodon.gamedev.place avatar

It's network effects all the way down, basically.

(Tapping the sign: computing is a social enterprise!)

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