summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/runtime/shaders/metal/fs_oit.bin
blob: 59843e09a91d604291ef4cd9ed5411d0c7b4c9bf (plain)
ofshex dumpascii
0000 46 53 48 05 bd 54 7f 3b 01 00 07 75 5f 63 6f 6c 6f 72 02 01 00 00 01 00 83 01 00 00 75 73 69 6e FSH..T.;...u_color..........usin
0020 67 20 6e 61 6d 65 73 70 61 63 65 20 6d 65 74 61 6c 3b 0a 73 74 72 75 63 74 20 78 6c 61 74 4d 74 g.namespace.metal;.struct.xlatMt
0040 6c 53 68 61 64 65 72 49 6e 70 75 74 20 7b 0a 7d 3b 0a 73 74 72 75 63 74 20 78 6c 61 74 4d 74 6c lShaderInput.{.};.struct.xlatMtl
0060 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 43 ShaderOutput.{...float4.gl_FragC
0080 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 69 olor;.};.struct.xlatMtlShaderUni
00a0 66 6f 72 6d 20 7b 0a 20 20 66 6c 6f 61 74 34 20 75 5f 63 6f 6c 6f 72 3b 0a 7d 3b 0a 66 72 61 67 form.{...float4.u_color;.};.frag
00c0 6d 65 6e 74 20 78 6c 61 74 4d 74 6c 53 68 61 64 65 72 4f 75 74 70 75 74 20 78 6c 61 74 4d 74 6c ment.xlatMtlShaderOutput.xlatMtl
00e0 4d 61 69 6e 20 28 78 6c 61 74 4d 74 6c 53 68 61 64 65 72 49 6e 70 75 74 20 5f 6d 74 6c 5f 69 20 Main.(xlatMtlShaderInput._mtl_i.
0100 5b 5b 73 74 61 67 65 5f 69 6e 5d 5d 2c 20 63 6f 6e 73 74 61 6e 74 20 78 6c 61 74 4d 74 6c 53 68 [[stage_in]],.constant.xlatMtlSh
0120 61 64 65 72 55 6e 69 66 6f 72 6d 26 20 5f 6d 74 6c 5f 75 20 5b 5b 62 75 66 66 65 72 28 30 29 5d aderUniform&._mtl_u.[[buffer(0)]
0140 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 5f ]).{...xlatMtlShaderOutput._mtl_
0160 6f 3b 0a 20 20 5f 6d 74 6c 5f 6f 2e 67 6c 5f 46 72 61 67 43 6f 6c 6f 72 20 3d 20 5f 6d 74 6c 5f o;..._mtl_o.gl_FragColor.=._mtl_
0180 75 2e 75 5f 63 6f 6c 6f 72 3b 0a 20 20 72 65 74 75 72 6e 20 5f 6d 74 6c 5f 6f 3b 0a 7d 0a 0a 00 u.u_color;...return._mtl_o;.}...