mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-13 00:26:00 +00:00
Bug: tint:1581 Change-Id: Id89530eb90d3c75bd1f99dd67a78cad1c923c6f0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/107924 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
34 lines
553 B
Plaintext
34 lines
553 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
void insertBits_fe6ba6() {
|
|
int2 res = int2(3);
|
|
}
|
|
|
|
struct tint_symbol {
|
|
float4 value [[position]];
|
|
};
|
|
|
|
float4 vertex_main_inner() {
|
|
insertBits_fe6ba6();
|
|
return float4(0.0f);
|
|
}
|
|
|
|
vertex tint_symbol vertex_main() {
|
|
float4 const inner_result = vertex_main_inner();
|
|
tint_symbol wrapper_result = {};
|
|
wrapper_result.value = inner_result;
|
|
return wrapper_result;
|
|
}
|
|
|
|
fragment void fragment_main() {
|
|
insertBits_fe6ba6();
|
|
return;
|
|
}
|
|
|
|
kernel void compute_main() {
|
|
insertBits_fe6ba6();
|
|
return;
|
|
}
|
|
|