clang 24.0.0git
hlsl_resources.h
Go to the documentation of this file.
1//===----- hlsl_resources.h - HLSL definitions for resources ----------===//
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#ifndef _HLSL_HLSL_RESOURCES_H_
10#define _HLSL_HLSL_RESOURCES_H_
11
12#include "hlsl_detail.h"
13
14namespace hlsl {
15
16#define _HLSL_AVAILABILITY(platform, version) \
17 __attribute__((availability(platform, introduced = version)))
18
19_HLSL_AVAILABILITY(shadermodel, 6.6)
20static __detail::resource_descriptor_heap_struct ResourceDescriptorHeap;
21
22_HLSL_AVAILABILITY(shadermodel, 6.6)
23static __detail::sampler_descriptor_heap_struct SamplerDescriptorHeap;
24
25} // namespace hlsl
26#endif //_HLSL_HLSL_RESOURCES_H_
#define _HLSL_AVAILABILITY(platform, version)
static __detail::resource_descriptor_heap_struct ResourceDescriptorHeap
static __detail::sampler_descriptor_heap_struct SamplerDescriptorHeap