dawn-cmake/test/tint/extensions/parsing/duplicated_extensions.wgsl....

15 lines
374 B
HLSL
Raw Permalink Normal View History

struct tint_symbol {
float4 value : SV_Target0;
};
float4 main_inner() {
return float4(0.10000000149011611938f, 0.20000000298023223877f, 0.30000001192092895508f, 0.40000000596046447754f);
}
tint_symbol main() {
const float4 inner_result = main_inner();
tint_symbol wrapper_result = (tint_symbol)0;
wrapper_result.value = inner_result;
return wrapper_result;
}