Henri Verbeet
d0ef67234d
vkd3d-shader/msl: Implement VSIR_OP_HCOS.
2025-09-29 12:51:08 +02:00
Henri Verbeet
f28c9e116b
vkd3d-shader/msl: Implement VSIR_OP_TAN.
2025-09-29 12:51:08 +02:00
Henri Verbeet
68dd93b7e8
vkd3d-shader/msl: Implement VSIR_OP_SIN.
2025-09-29 12:51:08 +02:00
Henri Verbeet
3794411d95
vkd3d-shader/msl: Implement VSIR_OP_COS.
2025-09-29 12:51:08 +02:00
Giovanni Mascellani
acccbc483e
tests/hlsl: Allow a larger error tolerance on a trigonometry test.
...
Otherwise it fails on NVIDIA GPUs.
2025-09-29 12:49:31 +02:00
Henri Verbeet
d09f1502ba
tests/hlsl: Add a missing "}" to trigonometry.shader_test.
2025-09-17 12:34:56 +02:00
Henri Verbeet
e330ad2ac7
vkd3d-shader/hlsl: Implement constant folding of 'cos' expressions.
...
As encountered in tests/hlsl/trigonometry.shader_test.
2025-09-09 14:59:01 +02:00
Henri Verbeet
86656b7544
vkd3d-shader/glsl: Implement VSIR_OP_SIN.
2025-08-28 20:06:32 +02:00
Henri Verbeet
ed438c1350
vkd3d-shader/glsl: Implement VSIR_OP_COS.
2025-08-28 20:06:32 +02:00
Giovanni Mascellani
3817df1164
tests/shader_runner_metal: Run the Metal shader runner with DXIL shaders.
2025-08-04 14:34:23 +02:00
Francisco Casas
4d18fb39b6
vkd3d-shader/hlsl: Don't forbid first base type cast on var assignments.
2025-01-22 14:46:02 +01:00
Francisco Casas
b55fe1950e
vkd3d-shader/hlsl: Support non-size-changing lhs casts.
2025-01-22 14:38:10 +01:00
Feifan He
24753747a1
vkd3d-shader/msl: Implement VKD3DSIH_EXP.
2024-12-03 14:44:32 +01:00
Henri Verbeet
39cbef9e01
tests: Get rid of some redundant "glsl" todo's.
...
These are redundant either because we already have a broader tag like
"sm<6", or because the tests are never executed with the GLSL runner in
the first place.
2024-12-02 17:13:17 +01:00
Feifan He
b0646cb427
tests/shader_runner: Introduce a Metal shader runner.
2024-10-31 16:47:26 +01:00
Henri Verbeet
44e96ad4d6
vkd3d-shader/glsl: Implement VKD3DSIH_EXP.
2024-09-26 17:40:07 +02:00
Petrichor Park
855b9713b8
vkd3d-shader/hlsl: Implement the sincos() intrinsic.
2024-09-04 18:16:37 +02:00
Shaun Ren
0202393d41
vkd3d-shader/d3dbc: Implement HLSL_OP1_{COS,SIN}_REDUCED for SM1.
...
Also enable SM1 trigonometry function tests.
2024-07-16 19:03:52 +02:00
Elizabeth Figura
d3ba810c98
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).
2024-06-13 23:55:31 +02:00
Petrichor Park
1fb9e7526b
vkd3d-shader/hlsl: Implement tanh.
2024-04-15 21:32:59 +02:00
Petrichor Park
c4182cc272
vkd3d-shader/hlsl: Implement hyperbolic sin and cos.
2024-04-15 21:32:56 +02:00
Henri Verbeet
0715734dfb
tests/shader_runner: Add GLSL support to the GL runner.
2024-03-19 22:57:50 +01:00
Conor McCarthy
625e289574
vkd3d-shader/dxil: Handle hyperbolic trigonometric functions in sm6_parser_emit_dx_unary().
2024-02-07 22:59:23 +01:00
Conor McCarthy
c2f6985454
tests/shader-runner: Add hyperbolic trigonometry tests.
2024-02-07 22:59:22 +01:00
Conor McCarthy
f954724870
vkd3d-shader/spirv: Handle the TAN instruction in spirv_compiler_emit_ext_glsl_instruction().
2024-01-25 22:24:44 +01:00