mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 03:32:55 +00:00
gl: Fix data pointer on the optimized AMD path
This commit is contained in:
parent
bb05de2e80
commit
b8b0ecabd8
@ -503,13 +503,13 @@ namespace gl
|
||||
{
|
||||
case gl::texture::internal_format::depth24_stencil8:
|
||||
gl::get_compute_task<gl::cs_d24x8_to_ssbo>()->run(cmd,
|
||||
const_cast<gl::viewable_image*>(as_vi), dst, 0,
|
||||
const_cast<gl::viewable_image*>(as_vi), dst, dst_offset,
|
||||
{ {src_region.x, src_region.y}, {src_region.width, src_region.height} },
|
||||
pack_info, {});
|
||||
return;
|
||||
case gl::texture::internal_format::rgba8:
|
||||
gl::get_compute_task<gl::cs_rgba8_to_ssbo>()->run(cmd,
|
||||
const_cast<gl::viewable_image*>(as_vi), dst, 0,
|
||||
const_cast<gl::viewable_image*>(as_vi), dst, dst_offset,
|
||||
{ {src_region.x, src_region.y}, {src_region.width, src_region.height} },
|
||||
pack_info, {});
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user