blob: 8f724f02ceb9cb7e2b1f39b5b35ca6fd77f4e0ab [file] [log] [blame]
Natalie Chouinarde9027182024-06-13 18:50:19 +00001float3 ceil_34064b() {
dan sinclairabd6a7d2022-11-03 15:59:23 +00002 float3 arg_0 = (1.5f).xxx;
Ben Claytonc0af5c52022-06-02 14:36:10 +00003 float3 res = ceil(arg_0);
Natalie Chouinarde9027182024-06-13 18:50:19 +00004 return res;
Ben Clayton37035222021-12-08 19:54:08 +00005}
6
Natalie Chouinarde9027182024-06-13 18:50:19 +00007RWByteAddressBuffer prevent_dce : register(u0);
Ben Clayton37035222021-12-08 19:54:08 +00008
9void fragment_main() {
Natalie Chouinarde9027182024-06-13 18:50:19 +000010 prevent_dce.Store3(0u, asuint(ceil_34064b()));
Ben Clayton37035222021-12-08 19:54:08 +000011 return;
12}
13
14[numthreads(1, 1, 1)]
15void compute_main() {
Natalie Chouinarde9027182024-06-13 18:50:19 +000016 prevent_dce.Store3(0u, asuint(ceil_34064b()));
Ben Clayton37035222021-12-08 19:54:08 +000017 return;
18}
Natalie Chouinarde9027182024-06-13 18:50:19 +000019
20struct VertexOutput {
21 float4 pos;
22 float3 prevent_dce;
23};
24struct tint_symbol_1 {
25 nointerpolation float3 prevent_dce : TEXCOORD0;
26 float4 pos : SV_Position;
27};
28
29VertexOutput vertex_main_inner() {
30 VertexOutput tint_symbol = (VertexOutput)0;
31 tint_symbol.pos = (0.0f).xxxx;
32 tint_symbol.prevent_dce = ceil_34064b();
33 return tint_symbol;
34}
35
36tint_symbol_1 vertex_main() {
37 VertexOutput inner_result = vertex_main_inner();
38 tint_symbol_1 wrapper_result = (tint_symbol_1)0;
39 wrapper_result.pos = inner_result.pos;
40 wrapper_result.prevent_dce = inner_result.prevent_dce;
41 return wrapper_result;
42}