26 lines
643 B
HLSL
26 lines
643 B
HLSL
|
SKIP: FAILED
|
||
|
|
||
|
|
||
|
|
||
|
Validation Failure:
|
||
|
Texture2DArray arg_0 : register(t0, space1);
|
||
|
SamplerState arg_1 : register(s1, space1);
|
||
|
|
||
|
void textureSample_8522e7() {
|
||
|
float res = arg_0.Sample(arg_1, float3(float(1)), int2(0, 0));
|
||
|
}
|
||
|
|
||
|
void fragment_main() {
|
||
|
textureSample_8522e7();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
|
||
|
tint_jIHeES:5:42: error: too few elements in vector initialization (expected 3 elements, have 1)
|
||
|
float res = arg_0.Sample(arg_1, float3(float(1)), int2(0, 0));
|
||
|
^
|
||
|
tint_jIHeES:5:9: warning: implicit truncation of vector type [-Wconversion]
|
||
|
float res = arg_0.Sample(arg_1, float3(float(1)), int2(0, 0));
|
||
|
^
|
||
|
|