dnovillo wrote:

> I’m not sure this is as simple as is defined in this ticket. We will need a 
> way to enable extension in a similar way to how we enable features via shader 
> model. Should something like spirv version be considered?

Agreed.

We discussed this at today's HLSL working group meeting 
([minutes](https://github.com/llvm/wg-hlsl/pull/521)). The consensus was that 
defaulting to the DXC extension set makes sense as an interim solution. I filed 
#242027 to explore ideas for a longer-term plan for how and which extensions to 
enable.

I could fix `SPV_EXT_long_vector` to be enabled only for shaders that use long 
vectors. Then it can be added to the default. Would that work for you?

https://github.com/llvm/llvm-project/pull/239374
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to