LLVM
23.0.0git
include
llvm
Frontend
HLSL
HLSLResource.h
Go to the documentation of this file.
1
//===- HLSLResource.h - HLSL Resource helper objects ----------------------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
///
9
/// \file This file contains helper objects for working with HLSL Resources.
10
///
11
//===----------------------------------------------------------------------===//
12
13
#ifndef LLVM_FRONTEND_HLSL_HLSLRESOURCE_H
14
#define LLVM_FRONTEND_HLSL_HLSLRESOURCE_H
15
16
#include "
llvm/Support/DXILABI.h
"
17
18
namespace
llvm
{
19
namespace
hlsl
{
20
21
// For now we use DXIL ABI enum values directly. This may change in the future.
22
using
dxil::ResourceClass
;
23
using
dxil::ResourceDimension
;
24
25
const
unsigned
CBufferRowSizeInBytes
= 16U;
26
27
}
// namespace hlsl
28
}
// namespace llvm
29
30
#endif
// LLVM_FRONTEND_HLSL_HLSLRESOURCE_H
DXILABI.h
llvm::dxil::ResourceClass
ResourceClass
Definition
DXILABI.h:26
llvm::dxil::ResourceDimension
ResourceDimension
Definition
DXILABI.h:34
llvm::hlsl
Definition
CBuffer.h:26
llvm::hlsl::CBufferRowSizeInBytes
const unsigned CBufferRowSizeInBytes
Definition
HLSLResource.h:25
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
Types.h:26
Generated on
for LLVM by
1.14.0