blob: 9d45b2b7ee05a51a469b324a9e72d055994e5efa [file] [log] [blame]
dan sinclair808942c2024-08-06 20:11:45 +00001struct VertexOutput {
2 float4 pos;
3 float4 prevent_dce;
4};
dan sinclair69313792024-06-13 20:35:21 +00005
dan sinclair808942c2024-08-06 20:11:45 +00006struct vertex_main_outputs {
7 nointerpolation float4 VertexOutput_prevent_dce : TEXCOORD0;
8 float4 VertexOutput_pos : SV_Position;
9};
10
11
12RWByteAddressBuffer prevent_dce : register(u0);
13Texture3D<float4> arg_0 : register(t0, space1);
14SamplerState arg_1 : register(s1, space1);
15float4 textureSampleGrad_21402b() {
16 float4 res = arg_0.SampleGrad(arg_1, (1.0f).xxx, (1.0f).xxx, (1.0f).xxx);
17 return res;
18}
19
20void fragment_main() {
21 prevent_dce.Store4(0u, asuint(textureSampleGrad_21402b()));
22}
23
24[numthreads(1, 1, 1)]
25void compute_main() {
26 prevent_dce.Store4(0u, asuint(textureSampleGrad_21402b()));
27}
28
29VertexOutput vertex_main_inner() {
30 VertexOutput tint_symbol = (VertexOutput)0;
31 tint_symbol.pos = (0.0f).xxxx;
32 tint_symbol.prevent_dce = textureSampleGrad_21402b();
33 VertexOutput v = tint_symbol;
34 return v;
35}
36
37vertex_main_outputs vertex_main() {
38 VertexOutput v_1 = vertex_main_inner();
39 VertexOutput v_2 = v_1;
40 VertexOutput v_3 = v_1;
41 vertex_main_outputs v_4 = {v_3.prevent_dce, v_2.pos};
42 return v_4;
43}
44