Advertisement · 728 × 90

Posts by mjp

You should also not expect to get exactly the same results from all vendors, for “reasons” 🙃

3 days ago 3 0 0 0

Indeed you can, but it will filter over depth/velocity/etc. discontinuities

3 days ago 2 0 1 0
Preview
Compiler Explorer - HLSL (RGA 2.6.2 (DXC trunk)) Buffer<float> someData; RWBuffer<float> output; //random function that does some work float ProcessData(uint2 coords) { float result = someData[coords.x] + someData[coords.y]; result = pow(re...

Sure, but for the specific case of DXC/HLSL 2021 you can rely on it to branch because that's the spec'd behavior. Someone else pointed out to me that your example doesn't branch simply because it's going through a rather old version of DXC that doesn't default to HLSL 2021.
godbolt.org/z/qnEYYKqfK

4 weeks ago 6 0 0 0
Preview
RGA output for ternary operator with buffer loads RGA output for ternary operator with buffer loads. GitHub Gist: instantly share code, notes, and snippets.

Here's my RGA output in case you're curious: gist.github.com/TheRealMJP/0...

4 weeks ago 3 1 1 0

I think this is just something going weird/wrong in either RGA or in godbolt's RGA path. HLSL 2021+ has short circuiting behavior for the ternary operator. If I run your shader through RGA locally on my PC I see branches like you would expect, and I also see branches in the DXIL output on godbolt.

4 weeks ago 7 1 1 0

Why did you remind me of that, it was so painful 😭😭😭

1 month ago 2 0 1 0

This was Will Smith’s MO, all of his hit songs were built around samples/remixes like this.

1 month ago 1 0 1 0
Advertisement
Preview
Meta won’t let morality get in the way of a product launch What a great time to add facial recognition to everything!

www.theverge.com/policy/88634...

1 month ago 8 0 0 0

“You should try making the game run well and look good instead”

2 months ago 4 0 0 0
Preview
An AI Agent Published a Hit Piece on Me Summary: An AI agent of unknown ownership autonomously wrote and published a personalized hit piece about me after I rejected its code, attempting to damage my reputation and shame me into acceptin…

Every part of this makes me just hold my head in my hands

theshamblog.com/an-ai-agent-...

2 months ago 20 5 0 0

You have my blessing

2 months ago 1 0 0 0

May your D3D devices remain not removed 🙏

2 months ago 32 0 1 0

C++ has exceptions?!? 😅

2 months ago 5 0 0 0

Unshelving on another stream definitely works, so I’m not sure what’s up there. 🙂

2 months ago 0 0 0 0
A gold bag on a glossy surface

A gold bag on a glossy surface

Path tracer test scene, or real life? 🤔

2 months ago 21 0 3 0
Advertisement
Preview
Why won’t anyone stop ICE from masking? Americans do not like masked secret police.

Sarah Jeong is on a tear lately
www.theverge.com/policy/86720...

2 months ago 5 0 0 0

Indeed it was SIGGRAPH 1997: cgl.ethz.ch/teaching/for...

2 months ago 3 0 1 0

After finishing Dark Souls 3, here is my updated official FromSoft rankings:
1. Sekiro 🥷
2. Bloodborne
3. Elden Ring
4. Demon’s Souls
5. Armored Core 6
6. Dark Souls 3
7. Dark Souls 1

3 months ago 8 0 1 0
Preview
AI companies will fail. We can salvage something from the wreckage | Cory Doctorow AI is asbestos in the walls of our tech society, stuffed there by monopolists run amok. A serious fight against it must strike at its roots

Interesting framing of “centaurs” vs. “reverse centaurs” in this essay about AI

www.theguardian.com/us-news/ng-i...

3 months ago 9 2 1 1

Very cool, thanks for sharing!

3 months ago 3 0 0 0
Preview
Add missing IID checks for creating ID3D12CommandQueue1 by TheRealMJP · Pull Request #3759 · baldurk/renderdoc Description Calls to ID3D12Device::CreateCommandQueue and ID3D12Device9::CreateCommandQueue1 were failing with E_NOINTERFACE when passing the IID of ID3D12CommandQueue1. The 1 version of the interf...

I made my first contribution to RenderDoc! It's tiny, but it's something. :)

github.com/baldurk/rend...

3 months ago 32 1 0 0

I saw one the other day which generated a notification, but then it immediately disappeared. I’m not sure if something automated kicked in, or the bot just un-liked it really quickly.

3 months ago 1 0 1 0

The largest differences IME between games and “normie” programming stuff is the crazy amount of art content being thrown around. I’ve seen many gaming outsiders completely underestimate the scale of that side of things.

3 months ago 4 0 1 0

lol yes we push new builds all day long, you just submit to a certain stream and off it goes. Once a week we do a much heavier release of everything accumulated in the programmer stream, which is mainly bottlenecked by human testing.

3 months ago 3 0 1 0
Preview
Support Homepage The Trevor Project is a non-profit suicide prevention organization that provides 24/7 crisis support services, research, and advocacy for LGBTQ+ young people.

2025 has been a real shit year for LGBTQ+ people in the US, especially our trans friends. Please consider donating to The Trevor Project (or wherever you'd like) to show some support, I just did so myself.

www.thetrevorproject.org

3 months ago 20 0 0 0
Advertisement

Yeah I was fooled for a bit at first by the cool visualizations, but after reading it some more I would actively tell people to avoid this article because of the misinformation.

3 months ago 17 1 0 0

Legacy barriers are the original resource barriers that shipped with D3D12, where everything is modeled as resource states and there’s confusing promotion/decay rules. Enhanced barriers are supported on pretty much all GPUs that still receive driver updates.

3 months ago 1 0 0 0

I just order a switch tester and played with all of them until I found one I liked 😆

3 months ago 1 0 0 0

If it helps I really like my Keychron Q6 Max with Gateron Blue switches, but I would never bring that into an office because my cubical neighbors would *hate* me.

3 months ago 2 0 1 0

lol yeah that’s some creative keeb speak right there. Some of those folks are deeply invested in their choice of switches. 😆

3 months ago 1 0 1 0