Skip to content
Snippets Groups Projects
  1. May 27, 2024
  2. Jan 09, 2024
  3. Dec 04, 2023
  4. Oct 11, 2023
    • Conor McCarthy's avatar
      tests/shader-runner: Test shaders with dxcompiler. · 57280673
      Conor McCarthy authored and Alexandre Julliard's avatar Alexandre Julliard committed
      The location of dxcompiler should be set during configuration with
      'DXCOMPILER_LIBS=-L/path/to/dxcompiler', and then at runtime with
      LD_LIBRARY_PATH, WINEPATH or PATH as applicable.
      
      A new 'fail(sm<6)' decoration is needed on many shader declarations
      because dxcompiler succeeds on many shaders which fail with fxc. The
      opposite case is less common and is flagged with 'fail(sm>=6)'. A few
      tests cause dxcompiler to crash or hang, so these are avoided using
      [require], which now skips tests until reset instead of exiting. Also,
      'todo(sm<6)' and 'todo(sm>=6)' are used to separate checking of results.
      57280673
  5. Sep 22, 2023
  6. Aug 31, 2023
  7. Aug 24, 2023
  8. Aug 08, 2023
  9. Mar 24, 2022
  10. Mar 18, 2022
    • Conor McCarthy's avatar
      vkd3d: Back descriptor heaps with Vulkan descriptor sets if descriptor indexing is available. · 2b71ea40
      Conor McCarthy authored and Alexandre Julliard's avatar Alexandre Julliard committed
      The existing implementation using virtual descriptor heaps, where Vk
      descriptor sets are created for the bindings in the root descriptor tables,
      is inefficient when multiple command lists are used with large descriptor
      heaps. It also cannot support updating a descriptor set after it is bound.
      
      This patch creates Vk sets for each D3D12 heap. Because D3D12 heaps
      can contain CBV, SRV and UAV descriptors in the same heap, multiple Vk sets
      are needed for each heap, however the total number of populated descriptors
      is never more than (heap size + UAV counter count).
      
      A new 'virtual_heaps' config option is introduced to make the old
      implementation available when needed. It's not always possible to determine
      if this is necessary when the device is created.
      
      Up to nine Vk descriptor sets may be used. It's theoretically possible to
      reduce this to eight by placing immutable samplers in the push descriptor
      set layout, but contradictions in earlier versions of the Vulkan spec made
      driver support inconsistent. The documentation was corrected in version
      1.2.203.
      
      This patch also adds support for UAV counter descriptor arrays. It's not
      practical to add this in a separate patch due to complications with
      combining the old UAV counter implementation with the new descriptor heap
      implementation.
      
      Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47713
      Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47154
      
      
      Signed-off-by: default avatarConor McCarthy <cmccarthy@codeweavers.com>
      Signed-off-by: default avatarHenri Verbeet <hverbeet@codeweavers.com>
      Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
      2b71ea40
  11. Aug 31, 2021
  12. Jul 31, 2019
  13. Jul 05, 2019
  14. May 17, 2019
  15. May 03, 2019
  16. Jan 25, 2019
  17. Oct 28, 2016
  18. Sep 21, 2016
Loading