2021-06-04 15:28:47 +00:00
|
|
|
struct MyStruct {
|
|
|
|
float f1;
|
|
|
|
};
|
|
|
|
|
|
|
|
static const int v1 = 1;
|
|
|
|
static const uint v2 = 1u;
|
|
|
|
static const float v3 = 1.0f;
|
2022-06-01 13:14:39 +00:00
|
|
|
static const int3 v4 = (1).xxx;
|
|
|
|
static const uint3 v5 = (1u).xxx;
|
|
|
|
static const float3 v6 = (1.0f).xxx;
|
|
|
|
static const float3x3 v7 = float3x3((1.0f).xxx, (1.0f).xxx, (1.0f).xxx);
|
2021-07-02 19:27:42 +00:00
|
|
|
static const MyStruct v8 = (MyStruct)0;
|
2021-07-05 15:20:57 +00:00
|
|
|
static const float v9[10] = (float[10])0;
|
2021-06-16 09:19:36 +00:00
|
|
|
|
|
|
|
struct tint_symbol {
|
|
|
|
float4 value : SV_Target0;
|
|
|
|
};
|
|
|
|
|
2021-08-04 22:15:28 +00:00
|
|
|
float4 main_inner() {
|
2022-06-01 13:14:39 +00:00
|
|
|
return (0.0f).xxxx;
|
2021-08-04 22:15:28 +00:00
|
|
|
}
|
|
|
|
|
2021-06-04 15:28:47 +00:00
|
|
|
tint_symbol main() {
|
2021-08-04 22:15:28 +00:00
|
|
|
const float4 inner_result = main_inner();
|
|
|
|
tint_symbol wrapper_result = (tint_symbol)0;
|
|
|
|
wrapper_result.value = inner_result;
|
|
|
|
return wrapper_result;
|
2021-06-04 15:28:47 +00:00
|
|
|
}
|