Blender V5.3
blender::gpu::VKGraphicsInfo::Shaders Struct Reference

#include <vk_pipeline_pool.hh>

Public Member Functions

bool operator== (const Shaders &other) const
uint64_t hash () const
VkPipelineLayout vk_pipeline_layout_get () const

Public Attributes

VkPipelineLayout vk_pipeline_layout
VkShaderModule vk_vertex_module
VkShaderModule vk_geometry_module
VkShaderModule vk_fragment_module
VkPrimitiveTopology vk_topology
uint32_t viewport_count
Vector< VkViewport, GPU_MAX_VIEWPORTS > viewports
Vector< VkRect2D, GPU_MAX_VIEWPORTS > scissors
GPUState state
Vector< shader::SpecializationConstant::Value > specialization_constants
bool has_depth
bool has_stencil
uint32_t max_input_attachment_index = 0
uint32_t color_attachment_count = 0

Detailed Description

Definition at line 80 of file vk_pipeline_pool.hh.

Member Function Documentation

◆ hash()

◆ operator==()

◆ vk_pipeline_layout_get()

VkPipelineLayout blender::gpu::VKGraphicsInfo::Shaders::vk_pipeline_layout_get ( ) const
inline

Definition at line 144 of file vk_pipeline_pool.hh.

References vk_pipeline_layout.

Member Data Documentation

◆ color_attachment_count

uint32_t blender::gpu::VKGraphicsInfo::Shaders::color_attachment_count = 0

◆ has_depth

bool blender::gpu::VKGraphicsInfo::Shaders::has_depth

◆ has_stencil

bool blender::gpu::VKGraphicsInfo::Shaders::has_stencil

◆ max_input_attachment_index

uint32_t blender::gpu::VKGraphicsInfo::Shaders::max_input_attachment_index = 0

◆ scissors

Vector<VkRect2D, GPU_MAX_VIEWPORTS> blender::gpu::VKGraphicsInfo::Shaders::scissors

◆ specialization_constants

◆ state

◆ viewport_count

◆ viewports

Vector<VkViewport, GPU_MAX_VIEWPORTS> blender::gpu::VKGraphicsInfo::Shaders::viewports

Viewports & scissors baked into the pipeline when VKWorkarounds::static_viewport_scissor is set; part of the pipeline key.

Definition at line 91 of file vk_pipeline_pool.hh.

Referenced by blender::gpu::VKShader::ensure_and_get_graphics_pipeline(), hash(), and operator==().

◆ vk_fragment_module

VkShaderModule blender::gpu::VKGraphicsInfo::Shaders::vk_fragment_module

◆ vk_geometry_module

VkShaderModule blender::gpu::VKGraphicsInfo::Shaders::vk_geometry_module

◆ vk_pipeline_layout

◆ vk_topology

VkPrimitiveTopology blender::gpu::VKGraphicsInfo::Shaders::vk_topology

◆ vk_vertex_module

VkShaderModule blender::gpu::VKGraphicsInfo::Shaders::vk_vertex_module

The documentation for this struct was generated from the following file: