blob: 06841193cafd5f0ff8e2b1f72b975b99ef03852a [file] [log] [blame]
dan sinclair8f1d2762024-07-31 02:35:40 +00001struct VertexOutput {
2 float4 pos;
3 int prevent_dce;
4};
dan sinclair69313792024-06-13 20:35:21 +00005
dan sinclair8f1d2762024-07-31 02:35:40 +00006struct vertex_main_outputs {
7 nointerpolation int VertexOutput_prevent_dce : TEXCOORD0;
8 float4 VertexOutput_pos : SV_Position;
9};
10
11
12RWByteAddressBuffer prevent_dce : register(u0);
13int transpose_854336() {
14 float3x3 res = float3x3((1.0f).xxx, (1.0f).xxx, (1.0f).xxx);
Antonio Maioranod032c622024-09-19 18:20:54 +000015 return (((res[int(0)].x == 0.0f)) ? (int(1)) : (int(0)));
dan sinclair8f1d2762024-07-31 02:35:40 +000016}
17
18void fragment_main() {
19 prevent_dce.Store(0u, asuint(transpose_854336()));
20}
21
22[numthreads(1, 1, 1)]
23void compute_main() {
24 prevent_dce.Store(0u, asuint(transpose_854336()));
25}
26
27VertexOutput vertex_main_inner() {
28 VertexOutput tint_symbol = (VertexOutput)0;
29 tint_symbol.pos = (0.0f).xxxx;
30 tint_symbol.prevent_dce = transpose_854336();
31 VertexOutput v = tint_symbol;
32 return v;
33}
34
35vertex_main_outputs vertex_main() {
36 VertexOutput v_1 = vertex_main_inner();
37 VertexOutput v_2 = v_1;
38 VertexOutput v_3 = v_1;
39 vertex_main_outputs v_4 = {v_3.prevent_dce, v_2.pos};
40 return v_4;
41}
42