summaryrefslogtreecommitdiffstatshomepage
path: root/bgfx/shaders/metal/chains/hlsl/fs_deconverge.bin
blob: 3a7522f410c7c3f315ccb9947798c827f3fb166b (plain)
ofshex dumpascii
0000 46 53 48 06 c7 2c 9b 99 00 00 00 00 00 00 83 03 00 00 75 73 69 6e 67 20 6e 61 6d 65 73 70 61 63 FSH..,............using.namespac
0020 65 20 6d 65 74 61 6c 3b 0a 73 74 72 75 63 74 20 78 6c 61 74 4d 74 6c 53 68 61 64 65 72 49 6e 70 e.metal;.struct.xlatMtlShaderInp
0040 75 74 20 7b 0a 20 20 66 6c 6f 61 74 34 20 76 5f 63 6f 6c 6f 72 30 3b 0a 20 20 66 6c 6f 61 74 32 ut.{...float4.v_color0;...float2
0060 20 76 5f 74 65 78 63 6f 6f 72 64 30 3b 0a 20 20 66 6c 6f 61 74 32 20 76 5f 74 65 78 63 6f 6f 72 .v_texcoord0;...float2.v_texcoor
0080 64 31 3b 0a 20 20 66 6c 6f 61 74 32 20 76 5f 74 65 78 63 6f 6f 72 64 32 3b 0a 20 20 66 6c 6f 61 d1;...float2.v_texcoord2;...floa
00a0 74 32 20 76 5f 74 65 78 63 6f 6f 72 64 33 3b 0a 7d 3b 0a 73 74 72 75 63 74 20 78 6c 61 74 4d 74 t2.v_texcoord3;.};.struct.xlatMt
00c0 6c 53 68 61 64 65 72 4f 75 74 70 75 74 20 7b 0a 20 20 66 6c 6f 61 74 34 20 67 6c 5f 46 72 61 67 lShaderOutput.{...float4.gl_Frag
00e0 43 6f 6c 6f 72 3b 0a 7d 3b 0a 73 74 72 75 63 74 20 78 6c 61 74 4d 74 6c 53 68 61 64 65 72 55 6e Color;.};.struct.xlatMtlShaderUn
0100 69 66 6f 72 6d 20 7b 0a 7d 3b 0a 66 72 61 67 6d 65 6e 74 20 78 6c 61 74 4d 74 6c 53 68 61 64 65 iform.{.};.fragment.xlatMtlShade
0120 72 4f 75 74 70 75 74 20 78 6c 61 74 4d 74 6c 4d 61 69 6e 20 28 78 6c 61 74 4d 74 6c 53 68 61 64 rOutput.xlatMtlMain.(xlatMtlShad
0140 65 72 49 6e 70 75 74 20 5f 6d 74 6c 5f 69 20 5b 5b 73 74 61 67 65 5f 69 6e 5d 5d 2c 20 63 6f 6e erInput._mtl_i.[[stage_in]],.con
0160 73 74 61 6e 74 20 78 6c 61 74 4d 74 6c 53 68 61 64 65 72 55 6e 69 66 6f 72 6d 26 20 5f 6d 74 6c stant.xlatMtlShaderUniform&._mtl
0180 5f 75 20 5b 5b 62 75 66 66 65 72 28 30 29 5d 5d 0a 20 20 2c 20 20 20 74 65 78 74 75 72 65 32 64 _u.[[buffer(0)]]...,...texture2d
01a0 3c 66 6c 6f 61 74 3e 20 73 5f 74 65 78 20 5b 5b 74 65 78 74 75 72 65 28 30 29 5d 5d 2c 20 73 61 <float>.s_tex.[[texture(0)]],.sa
01c0 6d 70 6c 65 72 20 5f 6d 74 6c 73 6d 70 5f 73 5f 74 65 78 20 5b 5b 73 61 6d 70 6c 65 72 28 30 29 mpler._mtlsmp_s_tex.[[sampler(0)
01e0 5d 5d 29 0a 7b 0a 20 20 78 6c 61 74 4d 74 6c 53 68 61 64 65 72 4f 75 74 70 75 74 20 5f 6d 74 6c ]]).{...xlatMtlShaderOutput._mtl
0200 5f 6f 3b 0a 20 20 66 6c 6f 61 74 34 20 74 6d 70 76 61 72 5f 31 20 3d 20 30 3b 0a 20 20 74 6d 70 _o;...float4.tmpvar_1.=.0;...tmp
0220 76 61 72 5f 31 2e 78 20 3d 20 73 5f 74 65 78 2e 73 61 6d 70 6c 65 28 5f 6d 74 6c 73 6d 70 5f 73 var_1.x.=.s_tex.sample(_mtlsmp_s
0240 5f 74 65 78 2c 20 28 66 6c 6f 61 74 32 29 28 5f 6d 74 6c 5f 69 2e 76 5f 74 65 78 63 6f 6f 72 64 _tex,.(float2)(_mtl_i.v_texcoord
0260 31 29 29 2e 78 3b 0a 20 20 74 6d 70 76 61 72 5f 31 2e 79 20 3d 20 73 5f 74 65 78 2e 73 61 6d 70 1)).x;...tmpvar_1.y.=.s_tex.samp
0280 6c 65 28 5f 6d 74 6c 73 6d 70 5f 73 5f 74 65 78 2c 20 28 66 6c 6f 61 74 32 29 28 5f 6d 74 6c 5f le(_mtlsmp_s_tex,.(float2)(_mtl_
02a0 69 2e 76 5f 74 65 78 63 6f 6f 72 64 32 29 29 2e 79 3b 0a 20 20 74 6d 70 76 61 72 5f 31 2e 7a 20 i.v_texcoord2)).y;...tmpvar_1.z.
02c0 3d 20 73 5f 74 65 78 2e 73 61 6d 70 6c 65 28 5f 6d 74 6c 73 6d 70 5f 73 5f 74 65 78 2c 20 28 66 =.s_tex.sample(_mtlsmp_s_tex,.(f
02e0 6c 6f 61 74 32 29 28 5f 6d 74 6c 5f 69 2e 76 5f 74 65 78 63 6f 6f 72 64 33 29 29 2e 7a 3b 0a 20 loat2)(_mtl_i.v_texcoord3)).z;..
0300 20 74 6d 70 76 61 72 5f 31 2e 77 20 3d 20 73 5f 74 65 78 2e 73 61 6d 70 6c 65 28 5f 6d 74 6c 73 .tmpvar_1.w.=.s_tex.sample(_mtls
0320 6d 70 5f 73 5f 74 65 78 2c 20 28 66 6c 6f 61 74 32 29 28 5f 6d 74 6c 5f 69 2e 76 5f 74 65 78 63 mp_s_tex,.(float2)(_mtl_i.v_texc
0340 6f 6f 72 64 30 29 29 2e 77 3b 0a 20 20 5f 6d 74 6c 5f 6f 2e 67 6c 5f 46 72 61 67 43 6f 6c 6f 72 oord0)).w;..._mtl_o.gl_FragColor
0360 20 3d 20 28 74 6d 70 76 61 72 5f 31 20 2a 20 5f 6d 74 6c 5f 69 2e 76 5f 63 6f 6c 6f 72 30 29 3b .=.(tmpvar_1.*._mtl_i.v_color0);
0380 0a 20 20 72 65 74 75 72 6e 20 5f 6d 74 6c 5f 6f 3b 0a 7d 0a 0a 00 ...return._mtl_o;.}...