dawn-cmake/test/tint/const/inferred/function.wgsl.expected.fxc....

18 lines
303 B
HLSL
Raw Normal View History

void const_decls() {
}
struct tint_symbol {
float4 value : SV_Target0;
};
float4 main_inner() {
return (0.0f).xxxx;
}
tint_symbol main() {
const float4 inner_result = main_inner();
tint_symbol wrapper_result = (tint_symbol)0;
wrapper_result.value = inner_result;
return wrapper_result;
}