PixPassHelpers.h 1019 B

1234567891011121314151617181920
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // //
  3. // PixPassHelpers.h //
  4. // Copyright (C) Microsoft Corporation. All rights reserved. //
  5. // This file is distributed under the University of Illinois Open Source //
  6. // License. See LICENSE.TXT for details. //
  7. // //
  8. ///////////////////////////////////////////////////////////////////////////////
  9. #pragma once
  10. namespace PIXPassHelpers
  11. {
  12. bool IsAllocateRayQueryInstruction(llvm::Value* Val);
  13. llvm::CallInst* CreateUAV(hlsl::DxilModule& DM, llvm::IRBuilder<>& Builder,
  14. unsigned int registerId, const char *name);
  15. llvm::CallInst* CreateHandleForResource(hlsl::DxilModule& DM, llvm::IRBuilder<>& Builder,
  16. hlsl::DxilResourceBase * resource,
  17. const char* name);
  18. }