2021-07-18 15:41:25 +00:00
|
|
|
struct tint_symbol {
|
|
|
|
float4 value : SV_Target0;
|
|
|
|
};
|
|
|
|
|
2021-08-04 22:15:28 +00:00
|
|
|
float4 frag_main_inner() {
|
2021-07-18 15:41:25 +00:00
|
|
|
float b = 0.0f;
|
|
|
|
float3 v = float3((b).xxx);
|
2021-08-04 22:15:28 +00:00
|
|
|
return float4(v, 1.0f);
|
|
|
|
}
|
|
|
|
|
|
|
|
tint_symbol frag_main() {
|
|
|
|
const float4 inner_result = frag_main_inner();
|
|
|
|
tint_symbol wrapper_result = (tint_symbol)0;
|
|
|
|
wrapper_result.value = inner_result;
|
|
|
|
return wrapper_result;
|
2021-07-18 15:41:25 +00:00
|
|
|
}
|