27 MipmapGenerationTransitionsAllLevelsCorrectly);
29 std::shared_ptr<CommandBufferVK> command_buffer_;
32 explicit BlitPassVK(std::shared_ptr<CommandBufferVK> command_buffer,
36 bool IsValid()
const override;
39 void OnSetLabel(std::string_view label)
override;
42 bool EncodeCommands()
const override;
45 bool ResizeTexture(
const std::shared_ptr<Texture>& source,
46 const std::shared_ptr<Texture>& destination)
override;
49 bool ConvertTextureToShaderRead(
50 const std::shared_ptr<Texture>&
texture)
override;
53 bool OnCopyTextureToTextureCommand(std::shared_ptr<Texture> source,
54 std::shared_ptr<Texture> destination,
57 std::string_view label)
override;
60 bool OnCopyTextureToBufferCommand(std::shared_ptr<Texture> source,
61 std::shared_ptr<DeviceBuffer> destination,
63 size_t destination_offset,
64 std::string_view label)
override;
67 bool OnCopyBufferToTextureCommand(
BufferView source,
68 std::shared_ptr<Texture> destination,
69 IRect destination_region,
70 std::string_view label,
73 bool convert_to_read)
override;
75 bool OnGenerateMipmapCommand(std::shared_ptr<Texture>
texture,
76 std::string_view label)
override;