There is a builtin __spirv_SpecConstant that the SPIR-V backend expands into a specialization constant. However, it is currently only enable for OpenCL shaders, and not the graphic shaders. We want to use it for specialization constants coming from HLSL, so we are enabling it for graphic shaders as well. Implements https://github.com/llvm/wg-hlsl/pull/287 Fixes https://github.com/llvm/llvm-project/issues/142991