WIP: Vulkan: Workbench #107886
|
@ -16,7 +16,6 @@ VKPipelineStateManager::VKPipelineStateManager()
|
|||
rasterization_state = {};
|
||||
rasterization_state.sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO;
|
||||
rasterization_state.lineWidth = 1.0f;
|
||||
rasterization_state.depthClampEnable = VK_FALSE;
|
||||
|
||||
pipeline_color_blend_state = {};
|
||||
pipeline_color_blend_state.sType = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO;
|
||||
|
|
|
@ -518,10 +518,10 @@ void VKTexture::layout_ensure(VKContext &context,
|
|||
/** \} */
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Mipmapping
|
||||
/** \name Image Views
|
||||
* \{ */
|
||||
|
||||
void VKTexture::vk_image_view_ensure()
|
||||
void VKTexture::image_view_ensure()
|
||||
{
|
||||
if (flags_ & IMAGE_VIEW_DIRTY) {
|
||||
image_view_update();
|
||||
|
|
|
@ -128,18 +128,18 @@ class VKTexture : public Texture {
|
|||
/** \} */
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Mipmapping
|
||||
/** \name Image Views
|
||||
* \{ */
|
||||
public:
|
||||
VKImageView &image_view_get()
|
||||
{
|
||||
vk_image_view_ensure();
|
||||
image_view_ensure();
|
||||
return *image_view_;
|
||||
}
|
||||
|
||||
private:
|
||||
IndexRange mip_map_range() const;
|
||||
void vk_image_view_ensure();
|
||||
void image_view_ensure();
|
||||
void image_view_update();
|
||||
|
||||
/** \} */
|
||||
|
|
Loading…
Reference in New Issue