dawn-cmake/test/intrinsics/gen/textureSampleLevel/ae5e39.wgsl.expected.hlsl

53 lines
1.5 KiB
HLSL

SKIP: FAILED
Validation Failure:
TextureCubeArray arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
void textureSampleLevel_ae5e39() {
float res = arg_0.SampleLevel(arg_1, float4(float(1)), 1);
}
void vertex_main() {
textureSampleLevel_ae5e39();
return;
}
void fragment_main() {
textureSampleLevel_ae5e39();
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
textureSampleLevel_ae5e39();
return;
}
tint_4Cjjss:5:47: error: too few elements in vector initialization (expected 4 elements, have 1)
float res = arg_0.SampleLevel(arg_1, float4(float(1)), 1);
^
tint_4Cjjss:5:9: warning: implicit truncation of vector type [-Wconversion]
float res = arg_0.SampleLevel(arg_1, float4(float(1)), 1);
^
tint_4Cjjss:5:47: error: too few elements in vector initialization (expected 4 elements, have 1)
float res = arg_0.SampleLevel(arg_1, float4(float(1)), 1);
^
tint_4Cjjss:5:9: warning: implicit truncation of vector type [-Wconversion]
float res = arg_0.SampleLevel(arg_1, float4(float(1)), 1);
^
tint_4Cjjss:5:47: error: too few elements in vector initialization (expected 4 elements, have 1)
float res = arg_0.SampleLevel(arg_1, float4(float(1)), 1);
^
tint_4Cjjss:5:9: warning: implicit truncation of vector type [-Wconversion]
float res = arg_0.SampleLevel(arg_1, float4(float(1)), 1);
^