Merge branch 'blender-v4.5-release'
This commit is contained in:
@@ -51,14 +51,6 @@ VKTexture::~VKTexture()
|
||||
}
|
||||
}
|
||||
|
||||
void VKTexture::init(VkImage vk_image, VkImageLayout layout, eGPUTextureFormat texture_format)
|
||||
{
|
||||
vk_image_ = vk_image;
|
||||
current_layout_ = layout;
|
||||
format_ = texture_format;
|
||||
device_format_ = texture_format;
|
||||
}
|
||||
|
||||
void VKTexture::generate_mipmap()
|
||||
{
|
||||
BLI_assert(!is_texture_view());
|
||||
|
||||
@@ -60,12 +60,6 @@ class VKTexture : public Texture {
|
||||
*/
|
||||
Vector<VKImageView> image_views_;
|
||||
|
||||
/* Last image layout of the texture. Frame-buffer and barriers can alter/require the actual
|
||||
* layout to be changed. During this it requires to set the current layout in order to know which
|
||||
* conversion should happen. #current_layout_ keep track of the layout so the correct conversion
|
||||
* can be done. */
|
||||
VkImageLayout current_layout_ = VK_IMAGE_LAYOUT_UNDEFINED;
|
||||
|
||||
int layer_offset_ = 0;
|
||||
bool use_stencil_ = false;
|
||||
|
||||
@@ -83,8 +77,6 @@ class VKTexture : public Texture {
|
||||
|
||||
virtual ~VKTexture() override;
|
||||
|
||||
void init(VkImage vk_image, VkImageLayout layout, eGPUTextureFormat texture_format);
|
||||
|
||||
void generate_mipmap() override;
|
||||
void copy_to(Texture *tex) override;
|
||||
void copy_to(VKTexture &dst_texture, VkImageAspectFlags vk_image_aspect);
|
||||
|
||||
Reference in New Issue
Block a user