9#ifndef _HLSL_HLSL_RESOURCES_H_
10#define _HLSL_HLSL_RESOURCES_H_
16#define _HLSL_AVAILABILITY(platform, version) \
17 __attribute__((availability(platform, introduced = version)))
18#define _HLSL_BUILTIN_ALIAS(builtin) \
19 __attribute__((clang_builtin_alias(builtin)))
31#define _HLSL_RESOURCE_BARRIER(resource) \
32 _HLSL_AVAILABILITY(shadermodel, 6.8) \
33 _HLSL_BUILTIN_ALIAS(__builtin_hlsl_barrier) \
34 __attribute__((convergent)) void Barrier(resource Object, uint SemanticFlags)
36#define _HLSL_TEMPLATE_RESOURCE_BARRIER(resource) \
37 template <typename T> _HLSL_RESOURCE_BARRIER(resource<T>)
58#undef _HLSL_TEMPLATE_RESOURCE_BARRIER
59#undef _HLSL_RESOURCE_BARRIER
#define _HLSL_AVAILABILITY(platform, version)
#define _HLSL_TEMPLATE_RESOURCE_BARRIER(resource)
#define _HLSL_RESOURCE_BARRIER(resource)
static const uint GROUP_SHARED_MEMORY
unsigned int uint
An unsigned 32-bit integer.
static const uint GROUP_SCOPE
static const uint GROUP_SYNC
static const uint ALL_MEMORY
static __detail::resource_descriptor_heap_struct ResourceDescriptorHeap
static const uint NODE_OUTPUT_MEMORY
static __detail::sampler_descriptor_heap_struct SamplerDescriptorHeap
static const uint UAV_MEMORY
static const uint DEVICE_SCOPE
static const uint NODE_INPUT_MEMORY