renderer_vulkan: Add experimental Vulkan renderer
This commit is contained in:
@@ -14,7 +14,6 @@ struct HostTextureTag {
|
||||
PixelFormat format{};
|
||||
u32 width = 0;
|
||||
u32 height = 0;
|
||||
u32 levels = 1;
|
||||
u32 layers = 1;
|
||||
|
||||
auto operator<=>(const HostTextureTag&) const noexcept = default;
|
||||
@@ -45,7 +44,7 @@ class SurfaceParams;
|
||||
|
||||
[[nodiscard]] ClearValue MakeClearValue(SurfaceType type, PixelFormat format, const u8* fill_data);
|
||||
|
||||
void SwizzleTexture(const SurfaceParams& params, u32 start_offset,
|
||||
void SwizzleTexture(const SurfaceParams& params, u32 start_offset, u32 end_offset,
|
||||
std::span<std::byte> source_linear, std::span<std::byte> dest_tiled);
|
||||
|
||||
/**
|
||||
@@ -56,7 +55,7 @@ void SwizzleTexture(const SurfaceParams& params, u32 start_offset,
|
||||
* @param source_tiled The source morton swizzled data.
|
||||
* @param dest_linear The output buffer where the generated linear data will be written to.
|
||||
*/
|
||||
void UnswizzleTexture(const SurfaceParams& params, u32 start_offset,
|
||||
void UnswizzleTexture(const SurfaceParams& params, u32 start_offset, u32 end_offset,
|
||||
std::span<std::byte> source_tiled, std::span<std::byte> dest_linear);
|
||||
|
||||
} // namespace VideoCore
|
||||
|
||||
Reference in New Issue
Block a user