Ben Clayton | b07a7ce | 2021-06-03 11:26:17 +0000 | [diff] [blame] | 1 | #include <metal_stdlib> |
| 2 | |
| 3 | using namespace metal; |
Natalie Chouinard | 58fc3f1 | 2024-06-13 18:39:15 +0000 | [diff] [blame] | 4 | void textureStore_dd7d81(texture3d<float, access::write> tint_symbol) { |
| 5 | tint_symbol.write(float4(1.0f), uint3(int3(1))); |
James Price | a5d73ce | 2021-08-04 22:15:28 +0000 | [diff] [blame] | 6 | } |
| 7 | |
Natalie Chouinard | 58fc3f1 | 2024-06-13 18:39:15 +0000 | [diff] [blame] | 8 | fragment void fragment_main(texture3d<float, access::write> tint_symbol_1 [[texture(0)]]) { |
| 9 | textureStore_dd7d81(tint_symbol_1); |
Ben Clayton | b07a7ce | 2021-06-03 11:26:17 +0000 | [diff] [blame] | 10 | return; |
| 11 | } |
| 12 | |
Natalie Chouinard | 58fc3f1 | 2024-06-13 18:39:15 +0000 | [diff] [blame] | 13 | kernel void compute_main(texture3d<float, access::write> tint_symbol_2 [[texture(0)]]) { |
| 14 | textureStore_dd7d81(tint_symbol_2); |
Ben Clayton | b07a7ce | 2021-06-03 11:26:17 +0000 | [diff] [blame] | 15 | return; |
| 16 | } |
| 17 | |