vkd3d/tests
Zebediah Figura 6b6e4bc212 vkd3d-shader: Add a compile option to control whether implicit truncation warnings are printed.
d3dcompiler and d3dx9 versions before 42 don't emit this error; this will be
necessary to emulate that behaviour.

Other warnings exist that are introduced in different d3dcompiler versions,
although there are not very many distinct HLSL warnings to begin with.

We could of course group all these together under a single compiler option, but
I find that using separate top-level options is unilaterally friendlier to an
API consumer, and simpler to implement as well. It also in some sense maps
conceptually to e.g. "-Wno-implicit-conversion".
2024-03-27 22:37:34 +01:00
..
hlsl vkd3d-shader/fx: Accept texture types when writing fx_2_0 effects. 2024-03-27 22:37:29 +01:00
.gitignore tests: Add some C HLSL preprocessor tests. 2020-11-24 22:28:11 +01:00
d3d12_crosstest.h tests: Do not crash if a pipeline statistics query heap cannot be created. 2023-09-22 11:06:44 +02:00
d3d12_invalid_usage.c tests/shader_runner: Use the global test_options structure. 2023-03-10 21:13:05 +01:00
d3d12_test_utils.h tests: Clear the UAV before testing. 2024-03-11 22:10:15 +01:00
d3d12.c tests: Use a UAV barrier between ClearUnorderedAccessViewFloat() and a compute shader. 2024-03-13 21:50:31 +01:00
driver.c ci: Execute the shader runner on the correct test data on Windows. 2023-11-23 22:37:21 +01:00
dxcompiler.idl tests/shader-runner: Test shaders with dxcompiler. 2023-10-11 22:21:14 +02:00
hlsl_d3d12.c tests: Add more tests for resource and struct RDEF contents. 2024-03-27 22:36:43 +01:00
preproc-if-expr.shader_test vkd3d-shader/preproc: Allow capital U and L after integer constants as well. 2022-02-02 21:06:21 +01:00
preproc-if.shader_test tests: Add some basic tests for #if and related preprocessor directives. 2020-11-23 22:07:44 +01:00
preproc-ifdef.shader_test tests: Add some tests for #ifdef and defined(). 2020-11-23 22:07:47 +01:00
preproc-invalid.shader_test tests: Add some tests for shaders which fail to preprocess. 2020-11-24 22:27:59 +01:00
preproc-macro.shader_test vkd3d-shader/preproc: Append spaces between tokens in macro invocations. 2023-08-02 20:19:21 +09:00
preproc-misc.shader_test tests: Add some more miscellaneous preprocessor tests. 2020-11-24 22:28:05 +01:00
shader_runner_d3d9.c tests/shader-runner: Pass uniforms to vertex shaders in d3d9 and d3d11. 2024-03-11 22:09:41 +01:00
shader_runner_d3d11.c tests/hlsl: Add UAV counter tests. 2024-03-18 23:07:21 +01:00
shader_runner_d3d12.c tests/hlsl: Add UAV counter tests. 2024-03-18 23:07:21 +01:00
shader_runner_gl.c tests/shader_runner: Add GLSL support to the GL runner. 2024-03-19 22:57:50 +01:00
shader_runner_vulkan.c tests/shader-runner: Add sampler comparison tests. 2024-03-11 22:09:08 +01:00
shader_runner.c tests/shader_runner: Add GLSL support to the GL runner. 2024-03-19 22:57:50 +01:00
shader_runner.h tests/shader_runner: Add GLSL support to the GL runner. 2024-03-19 22:57:50 +01:00
test-driver.sh tests: Avoid creating a file named "0" when calling "make check". 2024-03-12 22:15:00 +01:00
utils.h tests/shader-runner: Add raw UAV tests. 2024-03-06 23:04:11 +01:00
vkd3d_api.c vkd3d-common: Get rid of InterlockedDecrement(). 2024-02-06 23:07:36 +01:00
vkd3d_common.c vkd3d-common: Move vkd3d_write_mask_is_contiguous() from vkd3d-shader. 2019-07-05 17:52:04 +02:00
vkd3d_shader_api.c vkd3d-shader: Add a compile option to control whether implicit truncation warnings are printed. 2024-03-27 22:37:34 +01:00
vulkan_procs.h vkd3d-shader/spirv: Implement support for rasteriser-ordered views. 2024-03-08 23:36:35 +01:00