Commit Graph

  • 083a58767a tests: Test HLSL unbounded array syntax. Zebediah Figura 2024-01-26 16:32:30 -06:00
  • c5f507ac38 vkd3d-shader/hlsl: Add SM5.1 shader target strings. Zebediah Figura 2021-08-16 20:52:11 -05:00
  • 843968cd63 vkd3d-shader/hlsl: Use hlsl_version_ge() when checking for unbounded arrays. Zebediah Figura 2024-04-04 12:22:57 -05:00
  • 5fbd2708c0 vkd3d-shader/hlsl: Move shader version helpers to hlsl.h. Zebediah Figura 2024-04-03 14:28:18 -05:00
  • e72c3bab71 vkd3d-shader/spirv: Ensure the data register is UINT in spirv_compiler_emit_store_tgsm(). Conor McCarthy 2024-03-01 13:25:32 +10:00
  • dc99159dd8 vkd3d-shader/spirv: Bitcast if necessary in spirv_compiler_emit_store_dst_components(). Conor McCarthy 2024-03-01 13:22:49 +10:00
  • 85c8c6be4d vkd3d-shader/dxil: Support constexpr GEP. Conor McCarthy 2023-06-15 15:50:38 +10:00
  • 7d5e3713f9 vkd3d-shader/ir: Materialise SSAs to temps before lowering switch instructions. Conor McCarthy 2024-04-03 12:20:09 +10:00
  • cfcd57209b vkd3d-shader/ir: Convert SSAs to temps only if the block of origin does not dominate all uses. Conor McCarthy 2024-04-02 12:55:05 +10:00
  • 1c61776c18 vkd3d-shader/spirv: Handle uint2 to double bitcast in spirv_compiler_emit_mov(). Conor McCarthy 2024-04-03 13:40:55 +10:00
  • c8eb7e1c81 vkd3d-shader/spirv: Emit a uint result for RESINFO_UINT if the dst register is SSA. Conor McCarthy 2024-04-02 12:08:49 +10:00
  • 7bfc7410f2 vkd3d-shader/ir: Materialise phis to temps in the incoming blocks. Conor McCarthy 2024-04-03 10:35:45 +10:00
  • 62bb12f322 vkd3d-shader/hlsl: Use LOGIC_AND instead of MUL in all(). Francisco Casas 2024-03-04 18:59:31 -03:00
  • 53e4d6eedb vkd3d-shader/hlsl: Use LOGIC_OR instead of BIT_OR in any(). Francisco Casas 2024-03-04 18:56:23 -03:00
  • 2621fc9572 vkd3d-shader/ir: Add missing src swizzle in vsir_program_lower_texkills(). Francisco Casas 2024-03-30 02:11:01 -03:00
  • 808ec288cf tests: Add failing test for clip.shader_test in SM1. Francisco Casas 2024-03-04 12:53:30 -03:00
  • 8fca801591 vkd3d-shader/tpf: Use the extra_bits field for _nz on discard. Francisco Casas 2024-03-01 22:50:08 -03:00
  • 3503145ced tests: Report missing signature element in openGL runner. Francisco Casas 2024-02-22 17:46:38 -03:00
  • 3a0a4b625f vkd3d-shader/hlsl: Merge HLSL_OP3_MOVC into HLSL_OP3_TERNARY. Francisco Casas 2024-04-05 16:34:32 -03:00
  • 8f6f875a59 vkd3d-shader/hlsl: Move lower of non-float expressions with the other SM1 passes. Francisco Casas 2024-04-02 19:47:51 -03:00
  • 19fd43214b vkd3d-shader/hlsl: Ensure that TERNARY condition is always bool. Francisco Casas 2024-03-01 16:01:03 -03:00
  • 9c0d04c862 ci: Build the macOS image each time the Linux image is built. Giovanni Mascellani 2024-04-04 11:49:44 +02:00
  • 4f589356f1 tests: Free the shader blobs once we're done with them in test_create_pipeline_state(). (Valgrind). Henri Verbeet 2024-04-03 18:06:24 +02:00
  • 73996c9941 vkd3d-dxbc: Allow the section to extract to be specified by tag. Henri Verbeet 2024-04-03 18:00:19 +02:00
  • 6c3b87bed0 vkd3d-dxbc: Implement extracting section data. Henri Verbeet 2024-04-03 17:59:48 +02:00
  • 806afd7b50 vkd3d-dxbc: Free the blob if parsing it failed. Henri Verbeet 2024-04-03 17:59:30 +02:00
  • 8f529cd0ae vkd3d-dxbc: Introduce a helper function to apply actions. Henri Verbeet 2024-04-03 17:59:00 +02:00
  • 143b15fc47 vkd3d-dxbc: Introduce a helper function to handle ACTION_TYPE_EMIT. Henri Verbeet 2024-04-03 17:57:40 +02:00
  • 2712a79c55 vkd3d-dxbc: Close output files after writing them. Henri Verbeet 2024-04-03 17:56:52 +02:00
  • 8653ce17cf tests: Add tests for creating D3D12ShaderCacheSession objects. Stefan Dösinger 2024-03-23 12:28:19 +03:00
  • 7c93b5070f vkd3d: Validate and store shader cache session descriptors. Stefan Dösinger 2024-03-24 14:42:25 +03:00
  • fb87a72497 vkd3d: Add an ID3D12ShaderCacheSession stub. Stefan Dösinger 2023-10-10 12:50:19 +03:00
  • d5c89051dd vkd3d: Add ID3D12Device9 interface stubs. Stefan Dösinger 2024-03-03 14:18:40 +03:00
  • a278f32d3f vkd3d-shader/ir: Synthesize selection constructs from conditional jumps. Giovanni Mascellani 2024-02-20 23:29:48 +01:00
  • 0d13b6afe9 vkd3d-shader/ir: Remove trailing `continue's. Giovanni Mascellani 2024-02-20 23:29:48 +01:00
  • d8414302e8 vkd3d-shader/ir: Move `continue's to the false branch when possible. Giovanni Mascellani 2024-02-29 16:00:51 +01:00
  • 4b0a328a2b vkd3d-shader/hlsl: Allow 'export' modifier on functions. Nikolay Sivov 2024-03-31 15:36:00 +02:00
  • 636d8d3850 ci: Run tests on llvmpipe from Mesa 24.0.3. Giovanni Mascellani 2024-03-28 14:19:18 +01:00
  • b3ce73984d ci: Make llvmpipe from Mesa 24.0.3 available in the CI image. Giovanni Mascellani 2024-03-28 13:52:59 +01:00
  • e6c20361ea vkd3d-shader/ir: Drop a useless helper. Giovanni Mascellani 2024-03-20 17:13:45 +01:00
  • 9aff65c6d2 vkd3d-shader/ir: Open a loop when visiting the loop header. Giovanni Mascellani 2024-03-20 16:58:25 +01:00
  • e1e6367210 vkd3d-shader/fx: Add an option to include empty buffers in the effect binary. Nikolay Sivov 2024-03-28 11:39:04 +01:00
  • c509c85f63 vkd3d-shader/hlsl: Allow annotations on constant buffers. Nikolay Sivov 2024-03-28 02:22:15 +01:00
  • 64418dd290 tests/shader_runner: Cleanup on insufficient GLSL support in gl_runner_init() (Valgrind). Henri Verbeet 2024-04-02 16:31:56 +02:00
  • 46bd3b1545 tests: Initialise resource_desc1.Layout in test_get_copyable_footprints() (Valgrind). Henri Verbeet 2024-04-02 16:29:52 +02:00
  • d10031911d vkd3d-shader/ir: Move vsir_program_normalise() to the end of the file. Giovanni Mascellani 2024-04-02 10:01:13 +02:00
  • 9047dad4bc vkd3d-compiler: Clean up the shader code in all failure paths (Valgrind). Giovanni Mascellani 2024-04-02 09:48:46 +02:00
  • 2a101cf697 tests: Include vkd3d_d3d12.h in utils.h. Giovanni Mascellani 2024-03-31 22:54:14 +02:00
  • 5f2f126b70 include: Include stddef.h in vkd3d_shader.h. Giovanni Mascellani 2024-03-31 21:53:53 +02:00
  • 106cbc02de vkd3d-shader/hlsl: Use hlsl_is_numeric_type() in type_has_object_components(). Zebediah Figura 2024-01-26 16:12:27 -06:00
  • 54f2dfe403 vkd3d-shader/hlsl: Simplify type_has_object_components(). Zebediah Figura 2024-01-26 16:09:16 -06:00
  • 1e7d82798c vkd3d-shader/hlsl: Move a hlsl_fixme() to a more relevant place. Zebediah Figura 2024-03-28 15:13:11 -05:00
  • 675d7b8cb6 vkd3d-shader/hlsl: Remove a redundant type check. Zebediah Figura 2024-01-26 15:59:49 -06:00
  • d72d5c35d1 vkd3d-shader/dxil: Implement DX intrinsics Dot2, Dot3 and Dot4. Conor McCarthy 2023-06-15 00:07:31 +10:00
  • 2909a5aacc vkd3d-shader/dxil: Implement DX intrinsic MakeDouble. Conor McCarthy 2024-03-19 00:22:51 +10:00
  • cf6e518f1e tests/hlsl: Add tests for asdouble(). Conor McCarthy 2024-03-19 00:21:27 +10:00
  • b1eaf8327b tests/test-driver: Print line where vkd3d_unreachable() was hit. Francisco Casas 2024-03-21 20:19:02 -03:00
  • 9a90b9591c tests/test-driver: Display [SIGABRT] and [SIGSEGV] tags. Francisco Casas 2024-03-21 16:18:34 -03:00
  • 11ee92ed7e vkd3d-shader/dxil: Implement DX intrinsic Discard. Conor McCarthy 2024-03-20 14:54:18 +10:00
  • 8d947ce868 vkd3d-shader/spirv: Support bool source in spirv_compiler_emit_discard(). Conor McCarthy 2024-03-20 14:53:15 +10:00
  • 6b6e4bc212 vkd3d-shader: Add a compile option to control whether implicit truncation warnings are printed. Zebediah Figura 2024-03-19 23:06:07 -05:00
  • b382d1843d vkd3d-shader/fx: Accept texture types when writing fx_2_0 effects. Nikolay Sivov 2024-03-19 10:46:31 +01:00
  • b09f919673 vkd3d-shader/hlsl: Treat "texture" type name as case-insensitive. Nikolay Sivov 2024-03-19 10:16:35 +01:00
  • 17dc23269e vkd3d-shader/fx: Handle "uint" type for fx_2_0 parameters. Nikolay Sivov 2024-03-19 09:31:01 +01:00
  • 9117629e35 vkd3d-shader/fx: Handle "half" type for fx_2_0 parameters. Nikolay Sivov 2024-03-19 09:28:45 +01:00
  • 3fdf674a4d tests: Rename effect test files to make them easier to find. Nikolay Sivov 2024-03-19 09:21:41 +01:00
  • 88d9cff407 vkd3d-shader/fx: Set initial object count to 1 for fx_2_0. Nikolay Sivov 2024-03-13 11:37:17 +01:00
  • 501aed43f3 vkd3d-shader/fx: Zero-pad strings when aligning them for fx_2_0. Nikolay Sivov 2024-03-11 18:56:50 +01:00
  • 228d54efff vkd3d-shader/fx: Mark shared variables as such for fx_2_0 effects. Nikolay Sivov 2024-03-19 01:09:58 +01:00
  • cfa63da3f1 vkd3d-shader: Adjust "child-effect" option documentation. Nikolay Sivov 2024-03-19 00:47:49 +01:00
  • 11e7265815 vkd3d-shader/spirv: Throw compiler error on unrecognized register. Francisco Casas 2024-02-29 19:32:25 -03:00
  • 172cb75872 vkd3d-shader/spirv: Implement VKD3DSIH_ABS. Zebediah Figura 2022-12-05 20:46:22 -06:00
  • 9a222d2be1 vkd3d-shader/d3dbc: Implement HLSL_OP2_LOGIC_AND for SM1. Francisco Casas 2024-03-04 16:34:29 -03:00
  • 777bf772bf vkd3d-shader/d3dbc: Implement HLSL_OP2_LOGIC_OR for SM1. Francisco Casas 2024-03-04 16:31:57 -03:00
  • a838f97e3f vkd3d-shader/hlsl: Cast to bool before applying LOGIC_NOT. Francisco Casas 2024-03-15 00:48:01 -03:00
  • ee5fc7e968 vkd3d-shader/hlsl: Support LOGIC_NOT for SM1. Francisco Casas 2024-02-20 22:03:43 -03:00
  • 90e8a541fb tests: Add tests for LOGIC_NOT on uniforms. Francisco Casas 2024-03-14 23:30:07 -03:00
  • 68b31b7396 vkd3d-shader/spirv: Handle the sequentially consistent ordering flag for atomic instructions. Conor McCarthy 2023-12-04 11:29:02 +10:00
  • a8dd788f41 vkd3d-shader/spirv: Emit a warning if the atomic instruction volatile flag is unhandled. Conor McCarthy 2024-03-01 16:04:12 +10:00
  • 9e0b9c3a7a vkd3d-shader/dxil: Implement the DXIL ATOMICRMW instruction. Conor McCarthy 2024-03-01 16:03:47 +10:00
  • b708a9b3b5 vkd3d-shader/dxil: Implement DX instructions ThreadId, GroupId, ThreadIdInGroup and FlattenedThreadIdInGroup. Conor McCarthy 2023-06-15 12:18:46 +10:00
  • c7dcfc2a04 tests/shader-runner: Add TGSM tests. Conor McCarthy 2024-03-12 14:45:39 +10:00
  • 0f332eb939 vkd3d-shader/dxil: Emit an error if a constant code is unhandled. Conor McCarthy 2024-03-12 14:45:06 +10:00
  • 47e56cdfed vkd3d-shader/spirv: Support 64-bit register info component type in spirv_compiler_emit_load_reg(). Conor McCarthy 2024-03-12 17:49:26 +10:00
  • 83a67366da vkd3d-shader/spirv: Do not assert if a TGSM store data register is not UINT. Conor McCarthy 2024-03-01 00:35:17 +10:00
  • 9da375414e vkd3d-shader/spirv: Do not assert if a TGSM load dst register is not UINT. Conor McCarthy 2024-03-01 00:31:42 +10:00
  • 24460728f2 Add a changelog for all the released versions of vkd3d. Giovanni Mascellani 2024-03-05 11:40:33 +01:00
  • ddfa94fdca tests: Add more tests for resource and struct RDEF contents. Zebediah Figura 2024-01-13 18:53:38 -06:00
  • 98b90dde78 tests: Test constant and resource reflection via D3DReflect(). Zebediah Figura 2024-01-06 19:20:08 -06:00
  • 2247288003 vkd3d-shader/tpf: Set the user-packed flag for sm5.0 resources as well. Zebediah Figura 2024-01-13 18:53:01 -06:00
  • 7b87895289 vkd3d-shader/tpf: Write the component count as the column count for structs. Zebediah Figura 2024-01-13 18:52:29 -06:00
  • 5bf23cb2f5 vkd3d-shader/tpf: Explicitly write the class and base type for non-numeric types. Zebediah Figura 2024-02-05 19:51:53 -06:00
  • 34e9c101e8 vkd3d-shader/tpf: Do not write structs with no numeric fields into the RDEF. Zebediah Figura 2024-01-13 18:51:26 -06:00
  • 0b1f11dd33 vkd3d-shader/hlsl: Allocate register reservations for structs as well. Zebediah Figura 2024-01-13 18:47:31 -06:00
  • 622fcda9ee vkd3d-shader/tpf: Do not write non-numeric struct fields into the RDEF. Zebediah Figura 2024-01-13 18:50:46 -06:00
  • 8ef5ee54c9 vkd3d-utils: Implement ID3D12ShaderReflectionType::GetMemberTypeByIndex(). Zebediah Figura 2024-02-02 18:58:33 -06:00
  • dfed19ccf6 vkd3d-utils: Implement ID3D12ShaderReflectionVariable::GetType(). Zebediah Figura 2024-02-02 18:47:54 -06:00
  • 24b047f1fe vkd3d-utils: Implement ID3D12ShaderReflectionConstantBuffer::GetVariableByIndex(). Zebediah Figura 2024-02-02 17:18:38 -06:00
  • 2fceebd050 vkd3d-utils: Parse the RD11 section. Zebediah Figura 2024-02-02 17:06:14 -06:00
  • 90cd57404b vkd3d-utils: Implement ID3D12ShaderReflection::GetConstantBufferByIndex(). Zebediah Figura 2024-02-01 17:13:30 -06:00