Module: vkd3d Branch: master Commit: d3ba810c98b4d2df260a527f74586a0b31408510 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/d3ba810c98b4d2df260a527f74586a...
Author: Elizabeth Figura zfigura@codeweavers.com Date: Sat Feb 10 13:16:22 2024 -0600
tests: Stop probing all pixels when drawing a uniform colour.
This is simply unnecessary and wastes time.
As part of this, simply remove the "all" directive. Only for a couple of tests is it even potentially interesting to validate all pixels (e.g. nointerpolation.shader_test), and for those "all" is replaced with an explicit (0, 0, 640, 480) rect.
In all other cases we just probe (0, 0).
---
tests/hlsl/abs.shader_test | 4 +- tests/hlsl/all.shader_test | 14 ++--- tests/hlsl/angle-unit.shader_test | 4 +- tests/hlsl/any.shader_test | 36 ++++++------ tests/hlsl/arithmetic-float-uniform.shader_test | 26 ++++----- tests/hlsl/arithmetic-float.shader_test | 12 ++-- tests/hlsl/arithmetic-int-uniform.shader_test | 26 ++++----- tests/hlsl/arithmetic-int.shader_test | 22 ++++---- tests/hlsl/arithmetic-uint.shader_test | 8 +-- tests/hlsl/array-dimension.shader_test | 2 +- tests/hlsl/array-parameters.shader_test | 8 +-- tests/hlsl/array-size-expr.shader_test | 10 ++-- tests/hlsl/bitwise.shader_test | 48 ++++++++-------- tests/hlsl/bool-cast.shader_test | 6 +- tests/hlsl/bool-semantics.shader_test | 2 +- tests/hlsl/calculate-lod.shader_test | 8 +-- tests/hlsl/cast-64-bit.shader_test | 12 ++-- tests/hlsl/cast-broadcast.shader_test | 4 +- .../hlsl/cast-componentwise-compatible.shader_test | 46 +++++++-------- tests/hlsl/cast-componentwise-equal.shader_test | 10 ++-- tests/hlsl/cast-to-float.shader_test | 4 +- tests/hlsl/cast-to-half.shader_test | 4 +- tests/hlsl/cast-to-int.shader_test | 8 +-- tests/hlsl/cast-to-uint.shader_test | 4 +- tests/hlsl/cbuffer.shader_test | 38 ++++++------- tests/hlsl/ceil.shader_test | 8 +-- tests/hlsl/cf-cond-types.shader_test | 4 +- tests/hlsl/clamp.shader_test | 4 +- tests/hlsl/clip-distance.shader_test | 6 +- tests/hlsl/clip.shader_test | 12 ++-- tests/hlsl/combined-samplers.shader_test | 14 ++--- tests/hlsl/comma.shader_test | 2 +- tests/hlsl/conditional.shader_test | 40 ++++++------- tests/hlsl/const.shader_test | 2 +- tests/hlsl/coverage.shader_test | 24 ++++---- tests/hlsl/cross.shader_test | 4 +- tests/hlsl/d3dcolor-to-ubyte4.shader_test | 4 +- tests/hlsl/ddxddy.shader_test | 2 +- tests/hlsl/default-values.shader_test | 18 +++--- tests/hlsl/depth-out.shader_test | 28 ++++----- tests/hlsl/determinant.shader_test | 14 ++--- tests/hlsl/discard.shader_test | 8 +-- tests/hlsl/distance.shader_test | 2 +- tests/hlsl/dot.shader_test | 12 ++-- tests/hlsl/duplicate-modifiers.shader_test | 4 +- tests/hlsl/exp.shader_test | 4 +- tests/hlsl/expr-indexing.shader_test | 14 ++--- tests/hlsl/float-comparison.shader_test | 16 +++--- tests/hlsl/floor.shader_test | 8 +-- tests/hlsl/fmod.shader_test | 8 +-- tests/hlsl/for.shader_test | 2 +- tests/hlsl/frac.shader_test | 2 +- tests/hlsl/function-cast.shader_test | 8 +-- tests/hlsl/function-overload.shader_test | 4 +- tests/hlsl/function-return.shader_test | 38 ++++++------- tests/hlsl/function.shader_test | 16 +++--- tests/hlsl/gather-offset.shader_test | 14 ++--- tests/hlsl/gather.shader_test | 14 ++--- tests/hlsl/get-sample-pos.shader_test | 2 +- tests/hlsl/getdimensions.shader_test | 4 +- tests/hlsl/half.shader_test | 2 +- tests/hlsl/hard-copy-prop.shader_test | 12 ++-- tests/hlsl/initializer-flatten.shader_test | 10 ++-- tests/hlsl/initializer-implicit-array.shader_test | 8 +-- .../hlsl/initializer-invalid-arg-count.shader_test | 4 +- tests/hlsl/initializer-local-array.shader_test | 4 +- tests/hlsl/initializer-matrix.shader_test | 12 ++-- tests/hlsl/initializer-multi.shader_test | 6 +- tests/hlsl/initializer-nested.shader_test | 6 +- tests/hlsl/initializer-numeric.shader_test | 14 ++--- tests/hlsl/initializer-objects.shader_test | 4 +- tests/hlsl/initializer-static-array.shader_test | 4 +- tests/hlsl/initializer-struct.shader_test | 6 +- tests/hlsl/intrinsic-override.shader_test | 6 +- tests/hlsl/inverse-trig.shader_test | 66 +++++++++++----------- tests/hlsl/is-front-face.shader_test | 4 +- tests/hlsl/ldexp.shader_test | 6 +- tests/hlsl/length.shader_test | 10 ++-- tests/hlsl/lerp.shader_test | 6 +- tests/hlsl/lit.shader_test | 8 +-- tests/hlsl/load-level.shader_test | 6 +- tests/hlsl/log.shader_test | 6 +- tests/hlsl/logic-operations.shader_test | 28 ++++----- tests/hlsl/loop.shader_test | 14 ++--- tests/hlsl/majority-pragma.shader_test | 32 +++++------ tests/hlsl/majority-syntax.shader_test | 2 +- tests/hlsl/majority-typedef.shader_test | 2 +- tests/hlsl/math.shader_test | 2 +- tests/hlsl/matrix-indexing.shader_test | 18 +++--- tests/hlsl/matrix-semantics.shader_test | 34 +++++------ tests/hlsl/max-min.shader_test | 14 ++--- tests/hlsl/minimum-precision.shader_test | 10 ++-- tests/hlsl/mul.shader_test | 40 ++++++------- tests/hlsl/multiple-rt.shader_test | 4 +- tests/hlsl/nested-arrays.shader_test | 2 +- tests/hlsl/nointerpolation.shader_test | 10 ++-- tests/hlsl/non-const-indexing.shader_test | 52 ++++++++--------- tests/hlsl/normalize.shader_test | 10 ++-- .../numeric-constructor-truncation.shader_test | 4 +- tests/hlsl/numeric-types.shader_test | 10 ++-- tests/hlsl/object-field-offsets.shader_test | 6 +- tests/hlsl/object-parameters.shader_test | 6 +- tests/hlsl/object-references.shader_test | 6 +- tests/hlsl/pointer-cast.shader_test | 4 +- tests/hlsl/pow.shader_test | 4 +- tests/hlsl/precise-modifier.shader_test | 6 +- tests/hlsl/rasteriser-ordered-views.shader_test | 8 +-- tests/hlsl/reflect.shader_test | 12 ++-- tests/hlsl/refract.shader_test | 32 +++++------ .../hlsl/register-reservations-numeric.shader_test | 20 +++---- .../hlsl/register-reservations-profile.shader_test | 32 +++++------ .../register-reservations-resources.shader_test | 24 ++++---- tests/hlsl/register-reservations-space.shader_test | 20 +++---- tests/hlsl/return-implicit-conversion.shader_test | 28 ++++----- tests/hlsl/return.shader_test | 50 ++++++++-------- tests/hlsl/round.shader_test | 6 +- tests/hlsl/rt-get-sample-info.shader_test | 6 +- tests/hlsl/sample-bias.shader_test | 12 ++-- tests/hlsl/sample-cmp.shader_test | 20 +++---- tests/hlsl/sample-grad.shader_test | 6 +- tests/hlsl/sample-level.shader_test | 12 ++-- tests/hlsl/sampler-offset.shader_test | 6 +- tests/hlsl/sampler.shader_test | 4 +- tests/hlsl/saturate.shader_test | 4 +- tests/hlsl/shader-interstage-interface.shader_test | 2 +- tests/hlsl/shape.shader_test | 54 +++++++++--------- tests/hlsl/side-effects.shader_test | 6 +- tests/hlsl/sign.shader_test | 20 +++---- tests/hlsl/single-numeric-initializer.shader_test | 4 +- tests/hlsl/sm1-const-allocation.shader_test | 30 +++++----- tests/hlsl/sm1-const-folding.shader_test | 28 ++++----- tests/hlsl/sm6-ternary.shader_test | 6 +- tests/hlsl/smoothstep.shader_test | 18 +++--- tests/hlsl/sqrt.shader_test | 4 +- tests/hlsl/srv-buffers.shader_test | 16 +++--- tests/hlsl/state-block-syntax.shader_test | 2 +- tests/hlsl/static-initializer.shader_test | 8 +-- tests/hlsl/step.shader_test | 6 +- tests/hlsl/storage-qualifiers.shader_test | 4 +- tests/hlsl/struct-array.shader_test | 2 +- tests/hlsl/struct-assignment.shader_test | 2 +- tests/hlsl/struct-semantics.shader_test | 2 +- tests/hlsl/switch.shader_test | 64 ++++++++++----------- tests/hlsl/swizzle-constant-prop.shader_test | 6 +- tests/hlsl/swizzle-matrix.shader_test | 14 ++--- tests/hlsl/swizzles.shader_test | 24 ++++---- tests/hlsl/ternary.shader_test | 30 +++++----- tests/hlsl/tessellation.shader_test | 2 +- tests/hlsl/texture-load-typed.shader_test | 4 +- tests/hlsl/texture-ordering.shader_test | 10 ++-- tests/hlsl/transpose.shader_test | 10 ++-- tests/hlsl/trigonometry.shader_test | 18 +++--- tests/hlsl/trunc.shader_test | 8 +-- tests/hlsl/type-names.shader_test | 2 +- tests/hlsl/uniform-semantics.shader_test | 4 +- tests/hlsl/vector-indexing-uniform.shader_test | 2 +- tests/hlsl/vector-indexing.shader_test | 6 +- tests/hlsl/vertex-shader-ops.shader_test | 14 ++--- tests/hlsl/writemask-assignop-0.shader_test | 2 +- tests/hlsl/writemask-assignop-1.shader_test | 2 +- tests/hlsl/writemask-assignop-2.shader_test | 2 +- tests/hlsl/writemask-assignop-3.shader_test | 2 +- tests/shader_runner.c | 6 +- 163 files changed, 1003 insertions(+), 1007 deletions(-)