-
I'm getting a crash trying to dump a vulkan spirv compute shader compiled with glslang.
> glangValidator -V shader.comp -o shader.comp.spv
> llvm-spirv shader.comp.spv -r -o shader.comp.bc
> Re…
-
Is there a way to Compile for Mac?
-
We are converting HLSL to SPIR-V using DXC and then SPIR-V to MSL with SPIRV-Cross. We are getting an error msg `Unsized array of images is not supported in MSL.` Though it should be supported if SPIR…
-
Meta-issue for CivBE.
- [ ] Working?
- [ ] ???
libcg updated
2 years ago
-
**System information:**
* Steam client version: 1535014307
* Distribution: SteamOS 2.0 update 1:2.154
* Opted into Steam client beta?: Yes
* Have you checked for system updates?: Yes
* CPU: AMD A…
-
Glslang only sets the readonly flags on members of the struct type. While it seems legal to do so, this is really awkward for reflection (i.e. spirv_cross) A workaround (like https://github.com/Khrono…
-
### Description
Included are 2 shaders. A GLSL ES shader, and a direct HLSL11 port of the shader (yeah, the shaders aren't super tidy or fully optimised yet, but that's not the point)
The GLSL ES sh…
-
## Summary
I added a `mat2` uniform to my vertex shader. I assigned it an identity matrix so I was surprised when my mesh stopped displaying. I replaced the uniform by the literal identity `mat2(vec2…
-
We need to plan how we want to approach supporting the new graphics APIs: Vulkan, DirectX 12, and Metal.
These new APIs are more verbose and require more setup code to do similar things as previous …
-
This is an issue similar to #2816
When we compile the following HLSL code using `dxc -Tps_6_0 -Emain -spirv`:
```
cbuffer cbuf
{
float VtxHeightmap;
};
Texture2D Img;
sampler SamplerDe…