XShaderCompiler icon indicating copy to clipboard operation
XShaderCompiler copied to clipboard

Shader cross compiler to translate HLSL (Shader Model 4 and 5) to GLSL

Results 7 XShaderCompiler issues
Sort by recently updated
recently updated
newest added

Cannot use certain words when naming a function or variable. XSC fails, allowed in FXC. Example shader: ```hlsl ////////////////////////////////////////////////////////////////////////////////////////// // Pixel float sample(float2 tc) { return 0.f; } float4 main()...

bug

Any plans for Metal output target? Apple devices are stuck on OpenGL 4.1, which is fairly ancient at this point. They also seem to have zero interest in supporting Vulkan....

help wanted
question

Before, `half4x3 name = {name2[0*2 + 1], name2[1*2 + 1], name2[2*2 + 1], name2[3*2 + 1]};` was translated to `mat4x3 name = mat4x3(name2[0 * 2 + 1], name2[1 * 2...

bug

Here is a brief overview of some known bugs: - [ ] **Intrinsic argument type matching**: Type matching is incomplete for intrinsic function calls. - [ ] **Struct used as...

bug
help wanted

Looks like this is trying to substitute the function directly. HLSL input: `MainTexture.GetDimensions(0, size.x, size.y);` GLSL output: `textureSize(MainTexture, 0, size.x, size.y);` Had some difficulty tracking down where the actual transform...

bug

@BearishSun Glslang seems to translate the `GroupMemoryBarrierWithGroupSync` intrinsic into this: ```glsl memoryBarrierShared(); barrier(); ``` But your [proposal](https://github.com/LukasBanana/XShaderCompiler/commit/00445f903317c1e5d10b8c8d65607062cf081d55#diff-0efb54962cda6db89a78622065722a27R2745) for the wrapper function translate it into this: ```glsl groupMemoryBarrier(); barrier(); ``` Do...

help wanted

Hey, love this project! Was looking for a shader cross compiler to integrate into my engine (https://github.com/bearishsun/bansheeengine) and this seems like exactly what I need. I'm wondering do you have...

question