dawn-cmake/test/vk-gl-cts/texture/subgroup_lod/texel_fetch/1.wgsl.expected.hlsl

27 lines
625 B
HLSL
Raw Normal View History

2021-07-23 13:10:12 +00:00
static float4 color_out = float4(0.0f, 0.0f, 0.0f, 0.0f);
static float4 color_in = float4(0.0f, 0.0f, 0.0f, 0.0f);
void main_1() {
color_out = color_in;
return;
}
struct main_out {
float4 color_out_1;
};
struct tint_symbol_1 {
float4 color_in_param : TEXCOORD0;
};
struct tint_symbol_2 {
float4 color_out_1 : SV_Target0;
};
tint_symbol_2 main(tint_symbol_1 tint_symbol) {
const float4 color_in_param = tint_symbol.color_in_param;
color_in = color_in_param;
main_1();
const main_out tint_symbol_3 = {color_out};
const tint_symbol_2 tint_symbol_4 = {tint_symbol_3.color_out_1};
return tint_symbol_4;
}