mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 10:18:40 +12:00
rsx/common: Turn alignment constraints in textureUtils to multiple_of constraints.
This commit is contained in:
parent
284d2c43f9
commit
b00acff9dd
2 changed files with 14 additions and 13 deletions
|
@ -23,7 +23,7 @@ size_t get_placed_texture_storage_size(const rsx::texture &texture, size_t rowPi
|
|||
*/
|
||||
std::vector<rsx_subresource_layout> get_subresources_layout(const rsx::texture &texture);
|
||||
|
||||
void upload_texture_subresource(gsl::span<gsl::byte> dst_buffer, const rsx_subresource_layout &src_layout, int format, bool is_swizzled, size_t dst_row_alignment);
|
||||
void upload_texture_subresource(gsl::span<gsl::byte> dst_buffer, const rsx_subresource_layout &src_layout, int format, bool is_swizzled, size_t dst_row_pitch_multiple_of);
|
||||
|
||||
u8 get_format_block_size_in_bytes(int format);
|
||||
u8 get_format_block_size_in_texel(int format);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue