Commit Graph

  • 7c3f424a97 ci: Stop building widl for the macOS image. Giovanni Mascellani 2024-10-16 16:23:04 +02:00
  • 2b84e30e26 ci: Use widl from the mingw-w64 brew package on macOS. Giovanni Mascellani 2024-10-17 16:35:44 +02:00
  • 51cdb74061 ci: Remove the tart username and password environment variables. Giovanni Mascellani 2024-10-16 16:21:13 +02:00
  • eeb7bbe3c5 vkd3d-shader/hlsl: Handle error expressions in ternary expressions. Elizabeth Figura 2024-08-29 12:48:23 -05:00
  • d95962068a vkd3d-shader/hlsl: Handle error expressions in initializers. Elizabeth Figura 2024-08-29 12:48:23 -05:00
  • dfe79cb6a9 vkd3d-shader/hlsl: Factor the component count check into initialize_var(). Elizabeth Figura 2024-08-29 12:48:23 -05:00
  • d8892a4ca2 vkd3d-shader/hlsl: Store the initializer location in struct parse_initializer. Elizabeth Figura 2024-08-29 12:48:23 -05:00
  • 44ea7b5e12 vkd3d-shader/hlsl: Factor out an initialize_var() helper. Elizabeth Figura 2024-08-29 12:48:23 -05:00
  • e411fcb60e tests: Test discontiguous signature masks with SM<4 shaders. Giovanni Mascellani 2024-10-14 22:33:32 +02:00
  • 0e43dea42d vkd3d-shader/ir: Check that signature masks are contiguous. Giovanni Mascellani 2024-10-13 17:45:21 +02:00
  • 083b87c712 vkd3d-shader/d3dbc: Make signature masks contiguous. Giovanni Mascellani 2024-10-13 17:39:41 +02:00
  • 8943999bd2 vkd3d: Slightly simplify the SRV/UAV logic in vk_write_descriptor_set_from_d3d12_desc(). Henri Verbeet 2024-10-16 23:12:18 +02:00
  • bfaab9700d vkd3d: Lay out virtual descriptor heap buffer and image bindings consecutively instead of interleaving them. Conor McCarthy 2024-09-13 00:23:06 +10:00
  • 0b8a53d75d vkd3d: Create Vulkan bindings in d3d12_root_signature_append_vk_binding(). Giovanni Mascellani 2024-09-25 15:40:18 +02:00
  • 74da9ed6fe vkd3d: Create a separate Vulkan descriptor binding array for each descriptor set. Conor McCarthy 2024-09-25 16:31:22 +10:00
  • b5c56a50b5 vkd3d: Use vk_binding_array_add_binding() in d3d12_root_signature_init_root_descriptors(). Giovanni Mascellani 2024-09-25 14:55:18 +02:00
  • 3aec841a9f vkd3d: Use vk_binding_array_add_binding() in d3d12_root_signature_init_static_samplers(). Giovanni Mascellani 2024-09-25 15:12:34 +02:00
  • 416ce575f6 vkd3d: Introduce a helper function to add bindings to struct vk_binding_array. Giovanni Mascellani 2024-09-25 15:32:21 +02:00
  • eca344ff56 vkd3d: Introduce a separate structure for storing Vulkan descriptor binding arrays. Conor McCarthy 2024-09-25 16:31:22 +10:00
  • 3f98ca53ca vkd3d: Access the current range via the declared pointer in d3d12_root_signature_init_root_descriptor_tables(). Conor McCarthy 2024-09-12 11:07:17 +10:00
  • b092fcfc46 tests/d3d12: Test buffer and texture SRVs in test_unbounded_resource_arrays(). Conor McCarthy 2024-09-18 15:11:39 +10:00
  • c89e547e3e ci: Use the macOS image from the master vkd3d repository. Giovanni Mascellani 2024-10-16 12:01:51 +02:00
  • 2b45878ff8 vkd3d-shader/ir: Validate the line density SV_TessFactor signature element for isolines domains. Giovanni Mascellani 2024-10-10 23:07:22 +02:00
  • f470eb2a1a vkd3d-shader/ir: Validate the line detail SV_TessFactor signature element for isolines domains. Giovanni Mascellani 2024-10-10 23:06:40 +02:00
  • c5c3151414 vkd3d-shader/ir: Validate SV_InsideTessFactor signature elements for tri domains. Giovanni Mascellani 2024-10-10 23:01:09 +02:00
  • 4e8b34c075 vkd3d-shader/ir: Validate SV_TessFactor signature elements for tri domains. Giovanni Mascellani 2024-10-10 23:00:52 +02:00
  • b2460a6794 vkd3d-shader/ir: Validate SV_InsideTessFactor signature elements for quad domains. Giovanni Mascellani 2024-10-10 22:59:33 +02:00
  • a8b9a92c10 vkd3d-shader/ir: Validate SV_TessFactor signature elements for quad domains. Giovanni Mascellani 2024-10-10 22:56:48 +02:00
  • 1ed5f1a4d0 vkd3d-shader/tpf: Write the patch constant function in hull shaders. Shaun Ren 2024-10-15 16:33:21 -04:00
  • f771f081d9 tests: Test signature reflection for hull shaders. Shaun Ren 2024-10-15 16:33:21 -04:00
  • ae2d86b99c vkd3d-shader/tpf: Determine SIV from SV and index in write_sm4_dcl_semantic(). Shaun Ren 2024-10-15 16:33:21 -04:00
  • df3aaac7cf vkd3d-shader/tpf: Introduce tpf_write_shader_function(). Shaun Ren 2024-10-15 16:33:21 -04:00
  • 147f8898ca vkd3d-shader/hlsl: Process the patch constant function in hlsl_emit_bytecode(). Shaun Ren 2024-10-15 16:33:21 -04:00
  • aee00ea55a tests: Test hull shader uniform input parameters. Shaun Ren 2024-10-15 16:33:21 -04:00
  • cbed70c60f vkd3d-shader/tpf: Implement semantics for hull shaders. Shaun Ren 2024-10-15 16:33:21 -04:00
  • beb342ed5f vkd3d-shader/tpf: Write hull shader declarations. Shaun Ren 2024-10-15 16:33:21 -04:00
  • 47fcbc335b vkd3d-shader/d3dbc: Avoid D3DXSHADER_CONSTANTTABLE. Henri Verbeet 2024-09-17 13:17:17 +02:00
  • 069b8aac64 vkd3d-shader/hlsl: Implement struct single inheritance. Shaun Ren 2024-10-15 16:50:08 -04:00
  • 013e354b46 tests: Test struct single inheritance. Shaun Ren 2024-10-07 20:57:15 -04:00
  • 7eee877dd4 vkd3d-shader/tpf: Make hlsl_sm4_register_from_semantic() independent of HLSL IR. Francisco Casas 2024-10-07 17:21:32 -03:00
  • a243862b8c vkd3d-shader/tpf: Make sysval_semantic_from_hlsl() independent of HLSL IR. Francisco Casas 2024-10-04 14:01:08 -03:00
  • 7cc8151b81 vkd3d-shader/tpf: Replace uses of ctx->profile with tpf->program->shader_version. Francisco Casas 2024-10-01 21:58:38 -03:00
  • c75fbaf94e vkd3d-shader/tpf: Use the I/O signatures from the vsir program in tpf_write_signature(). Francisco Casas 2024-10-04 13:38:08 -03:00
  • 10442369d8 vkd3d-shader/tpf: Pass a tpf_compiler structure to tpf_compile() callees. Francisco Casas 2024-10-03 00:59:28 -03:00
  • 16d9a10dd5 vkd3d-shader/tpf: Rename "tpf_writer" to "tpf_compiler". Francisco Casas 2024-10-02 13:13:09 -03:00
  • 5b21cc67f1 vkd3d-shader/hlsl: Split hlsl_sm4_write(). Francisco Casas 2024-10-01 17:18:32 -03:00
  • 3601397703 vkd3d-shader/d3dbc: Remove the "hlsl_" prefix from external functions. Francisco Casas 2024-10-04 15:22:42 -03:00
  • 0ab5e1cb03 tests: Test interstage signature with arrays. Francisco Casas 2024-09-28 01:38:00 -03:00
  • d3c464212d tests: Test interstage signature optimizations. Francisco Casas 2024-09-27 21:32:52 -03:00
  • bc351f4b70 tests/shader-runner: Make geometry shaders optional. Giovanni Mascellani 2024-10-14 21:48:41 +02:00
  • 7f834f57e5 vkd3d-shader/ir: Validate that signatures are sensible for shader type. Giovanni Mascellani 2024-10-14 18:15:43 +02:00
  • 859b911b3a vkd3d-shader/ir: Validate the output control point count. Giovanni Mascellani 2024-10-11 11:23:09 +02:00
  • bd3ba87747 vkd3d-shader/ir: Validate the input control point count. Giovanni Mascellani 2024-10-11 11:15:29 +02:00
  • 90616be301 vkd3d-shader/dxil: Shift register write masks by the component index in sm6_parser_emit_dx_store_output(). Henri Verbeet 2024-10-09 15:21:00 +02:00
  • 2d848cf001 tests: Add a basic shader model 6 interface packing test as well. Henri Verbeet 2024-10-14 18:36:19 +02:00
  • 104435df5f vkd3d-shader/tpf: Use dcl_input_ps_sgv for sv_isfrontface. Francisco Casas 2024-10-10 20:41:20 -03:00
  • ad2f821ff5 vkd3d-shader/tpf: Write sysval semantic consistently. Francisco Casas 2024-10-10 19:35:34 -03:00
  • 5fb3a91276 vkd3d-shader/hlsl: Implement the modf() intrinsic. Nikolay Sivov 2024-10-09 21:27:49 +02:00
  • cb55ba5b9b vkd3d-shader/hlsl: Invoke prepend_uniform_copy() only once for global uniforms. Shaun Ren 2024-10-04 20:59:16 -04:00
  • 0c5dc53fd2 vkd3d-shader/hlsl: Allocate temporary registers separately for each entry function. Shaun Ren 2024-10-04 21:18:53 -04:00
  • 5f8570b933 vkd3d-shader/hlsl: Track whether a variable is read in any entry function. Shaun Ren 2024-10-04 20:15:57 -04:00
  • f15a1c0b23 vkd3d-shader/hlsl: Record semantic extern vars separately for each entry function. Shaun Ren 2024-09-23 21:40:59 -04:00
  • bbc6b56ab0 vkd3d-shader/hlsl: Clone static_initializers for each entry function. Shaun Ren 2024-09-18 00:07:31 -04:00
  • 5571522efe vkd3d-shader/hlsl: Introduce process_entry_function() helper. Shaun Ren 2024-08-24 10:25:52 -04:00
  • 9dd42d15dd build: Actually run interface-packing.shader_test and tessellation-patch-vars.shader_test. Henri Verbeet 2024-10-14 15:49:50 +02:00
  • 5dfaa26990 vkd3d-shader/ir: Validate the allowed data type and component count for SV_CullDistance. Giovanni Mascellani 2024-10-10 22:05:08 +02:00
  • cd5718f59d vkd3d-shader/ir: Validate the allowed signatures and stages for SV_CullDistance. Giovanni Mascellani 2024-10-10 22:04:30 +02:00
  • 33972998a9 vkd3d-shader/ir: Validate the allowed data type and component count for SV_ClipDistance. Giovanni Mascellani 2024-10-10 22:03:40 +02:00
  • 0465549c9d vkd3d-shader/ir: Validate the allowed signatures and stages for SV_ClipDistance. Giovanni Mascellani 2024-10-10 22:01:48 +02:00
  • 20b3a4c362 vkd3d-shader/ir: Validate the allowed data type and component count for SV_Position. Giovanni Mascellani 2024-10-10 21:51:19 +02:00
  • 962ce961d4 vkd3d-shader/ir: Validate the allowed signatures and stages for SV_Position. Giovanni Mascellani 2024-10-10 21:31:01 +02:00
  • 2d452842ed vkd3d-shader/ir: Introduce a helper for validating MISCTYPE registers. Giovanni Mascellani 2024-10-13 22:54:49 +02:00
  • 15d8591a26 vkd3d-shader/ir: Introduce a helper for validating RASTOUT registers. Giovanni Mascellani 2024-10-13 22:53:06 +02:00
  • 7021a57193 vkd3d-shader/ir: Introduce a helper for validating UAV registers. Giovanni Mascellani 2024-10-13 22:48:50 +02:00
  • c60eecbac8 vkd3d-shader/ir: Introduce a helper for validating RESOURCE registers. Giovanni Mascellani 2024-10-13 22:47:28 +02:00
  • edbf7349bd vkd3d-shader/ir: Introduce a helper for validating SAMPLER registers. Giovanni Mascellani 2024-10-13 22:45:32 +02:00
  • 52761e689b vkd3d-shader/ir: Introduce a helper for validating registers without indices. Giovanni Mascellani 2024-10-13 22:42:25 +02:00
  • ce638b9cca vkd3d-shader/ir: Introduce a helper for validating LABEL registers. Giovanni Mascellani 2024-10-13 22:37:46 +02:00
  • 92d1ba9188 vkd3d-shader/ir: Introduce a helper for validating SSA registers. Giovanni Mascellani 2024-10-13 22:35:02 +02:00
  • 1c43b2e55f vkd3d-shader/ir: Introduce a helper for validating TEMP registers. Giovanni Mascellani 2024-10-13 22:31:34 +02:00
  • 35d2df14d8 vkd3d-shader/fx: Add support for tracing string variables. Nikolay Sivov 2024-10-10 22:54:50 +02:00
  • 907b6705fe vkd3d-shader/fx: Add support for parsing constant buffer elements. Nikolay Sivov 2024-10-10 21:47:00 +02:00
  • 6801ad9b7a vkd3d-shader/fx: Introduce a parser/disassembler. Nikolay Sivov 2024-10-04 23:36:28 +02:00
  • cd249a47b8 tests: Test FFP point size clamping. Elizabeth Figura 2024-10-03 17:55:33 -05:00
  • 1e3c1392bd vkd3d-shader/ir: Allow controlling FFP point size clamping through vkd3d-shader parameters. Elizabeth Figura 2024-10-03 17:55:24 -05:00
  • ec53e325b6 tests: Test FFP point size. Elizabeth Figura 2024-10-03 16:23:04 -05:00
  • 3ddf46649b tests/shader_runner: Trace the "clip-planes" cap. Henri Verbeet 2024-10-10 22:28:26 +02:00
  • 54092286be vkd3d-shader/ir: Allow controlling FFP point size through a vkd3d-shader parameter. Elizabeth Figura 2024-10-03 16:22:38 -05:00
  • 6ee17cf77e vkd3d-shader/spirv: Implement shader point size. Elizabeth Figura 2024-10-03 13:10:10 -05:00
  • a29a4288d2 tests: Add a test for shader point size output. Elizabeth Figura 2024-10-03 12:35:11 -05:00
  • 56e5fca501 vkd3d-shader/spirv: Always write the point size in vertex shaders. Elizabeth Figura 2024-10-02 23:39:15 -05:00
  • f0e31dd6b3 vkd3d-shader/ir: Only allow PATCHCONST registers as destination parameteres in Hull Shaders. Giovanni Mascellani 2024-10-09 23:05:47 +02:00
  • f2d181e65c vkd3d-shader/ir: Only allow PATCHCONST registers as source parameteres in Hull and Domain Shaders. Giovanni Mascellani 2024-10-09 23:04:19 +02:00
  • 6cbe5ffa15 vkd3d-shader/ir: Disallow OUTPUT registers in source parameters. Giovanni Mascellani 2024-10-09 23:01:50 +02:00
  • 5b5a27dccb vkd3d-shader/ir: Disallow INPUT registers in destination parameters. Giovanni Mascellani 2024-10-09 23:01:03 +02:00
  • bf71b13797 vkd3d-shader/glsl: Implement support for compute shaders. Henri Verbeet 2024-10-06 00:10:19 +02:00
  • fb17ba18ae vkd3d-shader/glsl: Implement VKD3DSIH_STORE_UAV_TYPED. Henri Verbeet 2024-10-05 20:48:51 +02:00
  • 8e47ecbd92 vkd3d-shader/glsl: Use the semantic index for shader_out_* declarations. Henri Verbeet 2024-10-05 21:10:04 +02:00
  • afb1a2610e vkd3d-shader/glsl: Use VKD3D_SHADER_ERROR_GLSL_UNSUPPORTED for unsupported CBV descriptor arrays. Henri Verbeet 2024-10-05 21:05:50 +02:00
  • 845d6f9134 vkd3d-shader/ir: Remove VKD3DSIH_DCL_UAV_TYPED instructions. Henri Verbeet 2024-10-05 21:03:43 +02:00