[all-commits] [llvm/llvm-project] 368c7f: [DirectX] Match DXC's resource order in DX contain...

Justin Bogner via All-commits all-commits at lists.llvm.org
Mon Mar 24 12:34:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 368c7f72b917b9a9ae412dfe58d640e7022a3342
      https://github.com/llvm/llvm-project/commit/368c7f72b917b9a9ae412dfe58d640e7022a3342
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/DXContainer.h
    M llvm/lib/Target/DirectX/DXContainerGlobals.cpp
    A llvm/test/CodeGen/DirectX/ContainerData/PSVResources-order.ll
    M llvm/test/CodeGen/DirectX/ContainerData/PSVResources.ll

  Log Message:
  -----------
  [DirectX] Match DXC's resource order in DX container (#130233)

DXC and the DXIL validator expect resources in a DX container to be
specifically ordered CBuffers, Samplers, SRVs, and then UAVs. Match this
behaviour so that we can pass the validator.

Fixes #130232.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list