Converting HLSL shaders to GLSL shaders is quite straightforward.
Here are some of the syntax that needs to be changed for them to work as GLSL shaders.
Texture2D with sampler2Dvoid main() {float3x3 with mat3float4x4 with mat4float2x2 with mat2float2 with vec2float3 with vec3float4 with vec4Load with texelFetchint3 loc = int3(i.pos.xy with ivec2 loc = ivec2(gl_FragCoord.xySample with texturei.uv with f_texcoordreturn with Output =