test: Add expected files for HLSL tests that pass
Change-Id: Ieb1999c0a73eb346bbf38df1b5081398bddba40b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51920 Auto-Submit: Ben Clayton <bclayton@google.com> Commit-Queue: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com>
This commit is contained in:
parent
ada560b289
commit
ee0b69ce53
|
@ -1 +1,28 @@
|
|||
SKIP: Failed to generate: error: pointers not supported in HLSL
|
||||
struct S {
|
||||
};
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
bool bool_var = false;
|
||||
const bool bool_let = false;
|
||||
int i32_var = 0;
|
||||
const int i32_let = 0;
|
||||
uint u32_var = 0u;
|
||||
const uint u32_let = 0u;
|
||||
float f32_var = 0.0f;
|
||||
const float f32_let = 0.0f;
|
||||
int2 v2i32_var = int2(0, 0);
|
||||
const int2 v2i32_let = int2(0, 0);
|
||||
uint3 v3u32_var = uint3(0u, 0u, 0u);
|
||||
const uint3 v3u32_let = uint3(0u, 0u, 0u);
|
||||
float4 v4f32_var = float4(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
const float4 v4f32_let = float4(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
float2x3 m2x3_var = float2x3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
|
||||
const float3x4 m3x4_let = float3x4(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
|
||||
float arr_var[4] = {0.0f, 0.0f, 0.0f, 0.0f};
|
||||
const float arr_let[4] = {0.0f, 0.0f, 0.0f, 0.0f};
|
||||
S struct_var = {};
|
||||
const S struct_let = {};
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -1 +1,11 @@
|
|||
SKIP: Failed to generate: error: pointers not supported in HLSL
|
||||
struct S {
|
||||
};
|
||||
|
||||
void foo(bool param_bool, int param_i32, uint param_u32, float param_f32, int2 param_v2i32, uint3 param_v3u32, float4 param_v4f32, float2x3 param_m2x3, float param_arr[4], S param_struct, inout float param_ptr_f32, inout float4 param_ptr_vec, inout float param_ptr_arr[4]) {
|
||||
}
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue