Jasper St. Pierre
Jasper St. Pierre
Adding scoping in this manner will have knock-on effects. Let's consider all the ramifications before adding something like this. I have my doubts about this compilation model being that helpful...
Namespaces seem like a weird feature to check for. What's the recommended strategy? If a user tests for namespaces, and they're not supported, their options are: 1. rewrite their shaders...
I also agree this should not be a V1 issue. I believe we should postpone this (and, IMO, revert order-independent module declarations for V1, since I believe that order-independent module...
For reference, I would really like to see this. It's a very common thing to have in a lot of shaders. It's also feedback I hear a lot from users...
UTF-8? The web is specified in some arbitrary Unicode encoding, as determined by the Content-Encoding header (or meta charset equivalent). If the strings come from JavaScript, they will be with...
I don't see any evidence we're really wanting to define a MIME type, either? If we are, then we need to pick an encoding, since MIME types cover binary data,...
It would be nice if there was a standard decision / snippet we could just include here -- we're basically in the same boat as JavaScript/WebVTT. Some text we can...
Just to be clear, `while (true) { discard; }` in HLSL is an infinite loop, because HLSL's discard is not a "super-return".
> Sure, that looks like it doesn't matter for WGSL because of our plan for an extra statically-checked uniformity rule. So what you're saying is that code like this is...
> Except that some implementations will terminate. That's surprising to me. It will eventually terminate in a TDR, but I expect this to be something MS tests for compatibility. I...