vkd3d/tests/hlsl
Petrichor Park 976fd67f51 vkd3d-shader/hlsl: Implement intrinsic tan.
This commit also extends the trigonometry tests a little bit to make
sure that tan works right.
2023-09-25 22:07:13 +02:00
..
abs.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
all.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
any.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
arithmetic-float-uniform.shader_test vkd3d-shader/hlsl: Use conditional moves for arithmetic operators instead of branching. 2023-09-22 11:06:22 +02:00
arithmetic-float.shader_test vkd3d-shader/hlsl: Use conditional moves for arithmetic operators instead of branching. 2023-09-22 11:06:22 +02:00
arithmetic-int-uniform.shader_test vkd3d-shader/hlsl: Use conditional moves for arithmetic operators instead of branching. 2023-09-22 11:06:22 +02:00
arithmetic-int.shader_test vkd3d-shader/hlsl: Use conditional moves for arithmetic operators instead of branching. 2023-09-22 11:06:22 +02:00
arithmetic-uint.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
array-dimension.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
array-index-expr.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
array-parameters.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
array-size-expr.shader_test vkd3d-shader/hlsl: Disallow certain instruction types from constant expressions. 2023-07-04 22:39:57 +02:00
asfloat.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
asuint.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
attributes.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
bitwise.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
bool-cast.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
bool-semantics.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
cast-broadcast.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
cast-componentwise-compatible.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
cast-componentwise-equal.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
cast-to-float.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
cast-to-half.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
cast-to-int.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
cast-to-uint.shader_test vkd3d-shader/hlsl: Correctly fold casts from float. 2023-09-22 11:06:28 +02:00
cbuffer.shader_test vkd3d-shader/hlsl: Handle resource components individually for SM 5.0. 2023-07-17 22:55:40 +02:00
clamp.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
clip.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
combined-samplers.shader_test vkd3d-shader/hlsl: Produce 2D resource declarations and loads for tex1D(). 2023-09-13 23:11:11 +02:00
comma.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
compute.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
conditional.shader_test vkd3d-shader/hlsl: Parse "if" statement attributes. 2023-08-24 21:43:49 +02:00
const.shader_test vkd3d-shader/hlsl: Allow 'const' modifier without initializer in the global scope. 2023-08-15 21:51:50 +02:00
cross.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
d3dcolor-to-ubyte4.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
ddxddy.shader_test vkd3d-shader/hlsl: Support fine derivates. 2023-07-04 22:39:12 +02:00
discard.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
distance.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
dot.shader_test vkd3d-shader: Add constant folding for the 'dot' operation. 2023-08-14 18:38:15 +02:00
duplicate-modifiers.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
entry-point-semantics.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
exp.shader_test tests: Relax the precision of some tests so that they pass on MoltenVK. 2023-09-18 21:04:06 +02:00
expr-indexing.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
floor.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
fmod.shader_test tests: Add a test for fmod() with vector arguments. 2023-09-07 19:15:26 +02:00
for.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
frac.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
function-cast.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
function-overload.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
function-return.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
function.shader_test vkd3d-shader/hlsl: Ignore 'inline' modifier for functions. 2023-08-28 20:39:53 +02:00
gather-offset.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
gather.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
getdimensions.shader_test vkd3d-shader/tpf: Add support for writing 'resinfo' instruction. 2023-07-31 21:07:50 +09:00
initializer-flatten.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
initializer-implicit-array.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
initializer-invalid-arg-count.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
initializer-local-array.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
initializer-matrix.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
initializer-multi.shader_test vkd3d-shader/hlsl: Declare vars individually when parsing struct declarations. 2023-07-04 22:39:24 +02:00
initializer-nested.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
initializer-numeric.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
initializer-objects.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
initializer-static-array.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
initializer-struct.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
intrinsic-override.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
invalid.shader_test vkd3d-shader/hlsl: Disallow certain instruction types from constant expressions. 2023-07-04 22:39:57 +02:00
is-front-face.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
ldexp.shader_test tests: Relax the precision of some tests so that they pass on MoltenVK. 2023-09-18 21:04:06 +02:00
length.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
lerp.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
lit.shader_test vkd3d-shader/hlsl: Define lit() in HLSL. 2023-08-30 22:49:03 +02:00
load-level.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
log.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
logic-operations.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
loop.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
majority-pragma.shader_test tests: Add some tests for matrix packing compiler options. 2023-07-24 22:41:10 +02:00
majority-syntax.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
majority-typedef.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
math.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
matrix-indexing.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
matrix-semantics.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
max.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
minimum-precision.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
mul.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
multiple-rt.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
nested-arrays.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
nointerpolation.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
normalize.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
numeric-constructor-truncation.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
numeric-types.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
numthreads.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
object-field-offsets.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
object-parameters.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
object-references.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
pow.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
reflect.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
register-reservations.shader_test vkd3d-shader/hlsl: Skip unallocated variables when looking for reservation conflicts. 2023-07-13 23:00:03 +02:00
return-implicit-conversion.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
return.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
round.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
sample-bias.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
sample-grad.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
sample-level.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
sampler-offset.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
sampler.shader_test vkd3d-shader/hlsl: Add tex1D() function. 2023-09-07 19:15:06 +02:00
saturate.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
shader-interstage-interface.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
shape.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
side-effects.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
sign.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
single-numeric-initializer.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
smoothstep.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
sqrt.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
state-block-syntax.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
static-initializer.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
step.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
storage-qualifiers.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
struct-array.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
struct-assignment.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
struct-semantics.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
swizzle-constant-prop.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
swizzle-matrix.shader_test vkd3d-shader/hlsl: Lower matrix swizzles. 2023-09-13 23:10:38 +02:00
swizzles.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
ternary.shader_test vkd3d-shader/tpf: Use 'movc' to implement ternary operator. 2023-09-07 19:15:25 +02:00
texture-load-offset.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
texture-load-typed.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
texture-load.shader_test vkd3d-shader/hlsl: Support evaluated expressions for sample count in multisampled textures declarations. 2023-07-04 22:39:55 +02:00
texture-ordering.shader_test tests: Enable compiler backwards compatibility mode only for shaders that require it. 2023-08-28 20:40:06 +02:00
transpose.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
trigonometry.shader_test vkd3d-shader/hlsl: Implement intrinsic tan. 2023-09-25 22:07:13 +02:00
trunc.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
type-names.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
uav-load.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
uav-out-param.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
uav-rwbuffer.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
uav-rwstructuredbuffer.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
uav-rwtexture.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
uniform-semantics.shader_test tests: Test semantics in uniform variables. 2023-07-04 22:39:18 +02:00
vector-indexing-uniform.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
vector-indexing.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
writemask-assignop-0.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
writemask-assignop-1.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
writemask-assignop-2.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00
writemask-assignop-3.shader_test tests: Move HLSL tests to a subdirectory. 2023-06-28 21:40:32 +02:00