13 #ifndef RV_VKPipelineLayout_h
14 #define RV_VKPipelineLayout_h
89 {
return myRanges == other.myRanges; }
92 {
return !(myRanges == other.myRanges); }
131 bool myWorkGroupIsSpecConst =
false;
141 bool isGraphicsShader()
const;
142 bool isComputeShader()
const;
169 VkPipelineLayout
getVkLayout()
const {
return myVkPipelineLayout; }
174 {
return myShaderModules; }
178 VkPipelineLayout pipe_layout,
UT_Vector3T< int32 > UT_Vector3i
SYS_HashType hash_value(const RV_VKPipelineLayoutInfo &in)
VkShaderStageFlags myStages
const UT_Array< RV_VKPushConstantRange > & getRanges() const
std::size_t SYS_HashType
Define the type for hash values.
UT_UniquePtr< RV_VKPipelineLayoutInfo > myInfo
constexpr auto in(type t, int set) -> bool
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
SYS_HashType calcHash() const
const RV_VKPipelineLayoutInfo & getInfo() const
RV_API UT_UniquePtr< RV_VKPipelineLayoutInfo > RVfillPipelineLayoutInfo(const char *name, UT_Array< RV_VKShaderModuleInfoPtr > &shaders)
GLint GLint GLsizei GLint GLenum format
const UT_Array< RV_VKShaderModulePtr > & getShaderModules() const
UT_Array< RV_VKAttributeInfo > myInputs
RV_API RV_VKPipelineLayoutPtr RVcreatePipelineLayout(RV_Instance *inst, UT_UniquePtr< RV_VKPipelineLayoutInfo > info, UT_Array< RV_VKShaderModulePtr > shaders)
GLuint const GLchar * name
GLsizei GLsizei GLuint * shaders
VkPipelineLayout getVkLayout() const
Handle to the main interface of Vulkan.
UT_Array< RV_VKShaderModulePtr > myShaderModules
RAII wrapper class for Vk Shader Module.
Info loaded from file, used to create VK Shader Module.
RV_VKPushConstantInfo myPushConstants
LeafData & operator=(const LeafData &)=delete
UT_UniquePtr< RV_VKPipelineLayout > RV_VKPipelineLayoutPtr
bool operator!=(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
UT_Array< RV_VKDescriptorSetInfo > myDescriptorSets
bool operator==(const RV_VKAttributeInfo &other) const
UT_Array< RV_Uniform > myMembers
VkFlags VkShaderStageFlags
bool operator==(const RV_VKPushConstantRange &other) const