dawn-cmake/test/vk-gl-cts/graphicsfuzz/cov-step-sinh/0-opt.spvasm.expected.hlsl

35 lines
821 B
HLSL
Raw Normal View History

2021-07-23 13:10:12 +00:00
static float4 x_GLF_color = float4(0.0f, 0.0f, 0.0f, 0.0f);
void main_1() {
float2 v1 = float2(0.0f, 0.0f);
float2 v2 = float2(0.0f, 0.0f);
v1 = float2(1.0f, -1.0f);
v2 = step(float2(0.400000006f, 0.400000006f), sinh(v1));
const float x_27 = v2.x;
const float x_29 = v2.y;
const float x_31 = v2.y;
const float x_33 = v2.x;
x_GLF_color = float4(x_27, x_29, x_31, x_33);
return;
}
struct main_out {
float4 x_GLF_color_1;
};
struct tint_symbol {
float4 x_GLF_color_1 : SV_Target0;
};
main_out main_inner() {
2021-07-23 13:10:12 +00:00
main_1();
const main_out tint_symbol_1 = {x_GLF_color};
return tint_symbol_1;
}
tint_symbol main() {
const main_out inner_result = main_inner();
tint_symbol wrapper_result = (tint_symbol)0;
wrapper_result.x_GLF_color_1 = inner_result.x_GLF_color_1;
return wrapper_result;
2021-07-23 13:10:12 +00:00
}