But to generate SPIR-V you still need a high level language. So is this useful for it?
If the motivation is to replace SPIR-V itself, then it's not valid.
I'd say everyone else should take a hard stance on this and show Apple to the door, instead of dancing under their tune.
Releasing a standard that a major member opposes and won't implement is a pointless exercise.
They might use the same medicine.
At the same time, SPIR-V semantics is fairly well specified, so we as a group figured that the familiar syntax of HLSL is not as important as the proper GPU behavior and our time specifying it. We've yet to see if it was the right decision - we might as well get stuck with discussing the syntax :)
I surely hope not the later, let Apple pay performance price for being the root of the problem.
It's not even clear if Chrome or Firefox will accept SPIR-V binary as an extension at this point.
Anyway, conversion to and from SPIR-V is supposed to be straightforward and light. Our (speaking for gfx-rs community) Rust-based shader infrastructure will handle that , and the converter should be easily compilable to wasm (when it's ready).
Anyway x2, most of the time in the whole picture of creating pipelines will be spent in the driver, so whatever parsing performance difference WGSL brings to the table, be it 5% or 10%, doesn't matter, you aren't going to see that in benchmarks because of that other stuff that's going on when you are creating a pipeline.
I hope Mozilla and Google won't cave that way to this Apple's idiotic behavior.
It's apple that didn't want SPIRV and insisted on something else, preferably text based. Doesn't matter who is doing that something else now, it's done because of Apple... Which I'm not entirely a fan of because I don't think apple's history in WebGL, OpenGL and graphics makes them deserve the leverage they're getting.
Interesting, that's the first time I hear about it. Do you have some links on the topic? What is the essence of the dispute?
MS: Apple is not comfortable working under Khronos IP framework, because of dispute between Apple Legal & Khronos which is private. Can’t talk about the substance of this dispute. Can’t make any statement for Apple to agree to Khronos IP framework. So
1. https://docs.google.com/document/d/1F6ns6I3zs-2JL_dT9hOkX_25...