mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-13 02:18:35 +02:00
fix?
This commit is contained in:
parent
9e400ba36f
commit
a891db7c3d
1 changed files with 8 additions and 7 deletions
|
|
@ -629,9 +629,10 @@ void TextureCacheRuntime::EmulateCopyImage(Image& dst, Image& src,
|
||||||
}
|
}
|
||||||
|
|
||||||
void TextureCacheRuntime::BlitFramebuffer(Framebuffer* dst, Framebuffer* src,
|
void TextureCacheRuntime::BlitFramebuffer(Framebuffer* dst, Framebuffer* src,
|
||||||
const Region2D& dst_region, const Region2D& src_region,
|
const VideoCommon::Region2D& dst_region, const VideoCommon::Region2D& src_region,
|
||||||
Tegra::Engines::Fermi2D::Filter filter,
|
Tegra::Engines::Fermi2D::Filter filter,
|
||||||
Tegra::Engines::Fermi2D::Operation operation) {
|
Tegra::Engines::Fermi2D::Operation operation
|
||||||
|
) {
|
||||||
state_tracker.NotifyScissor0();
|
state_tracker.NotifyScissor0();
|
||||||
state_tracker.NotifyRasterizeEnable();
|
state_tracker.NotifyRasterizeEnable();
|
||||||
state_tracker.NotifyFramebufferSRGB();
|
state_tracker.NotifyFramebufferSRGB();
|
||||||
|
|
@ -1103,10 +1104,10 @@ bool Image::ScaleDown(bool ignore) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
ImageView::ImageView(TextureCacheRuntime& runtime, const VideoCommon::ImageViewInfo& info,
|
ImageView::ImageView(TextureCacheRuntime& runtime, const VideoCommon::ImageViewInfo& info, VideoCommon::ImageId image_id_, Image& image, const Common::SlotVector<Image>&)
|
||||||
ImageId image_id_, Image& image, const Common::SlotVector<Image>&)
|
: VideoCommon::ImageViewBase{info, image.info, image_id_, image.gpu_addr}
|
||||||
: VideoCommon::ImageViewBase{info, image.info, image_id_, image.gpu_addr},
|
, views{runtime.null_image_views}
|
||||||
views{runtime.null_image_views} {
|
{
|
||||||
const Device& device = runtime.device;
|
const Device& device = runtime.device;
|
||||||
if (True(image.flags & ImageFlagBits::Converted)) {
|
if (True(image.flags & ImageFlagBits::Converted)) {
|
||||||
const bool is_srgb = IsPixelFormatSRGB(info.format);
|
const bool is_srgb = IsPixelFormatSRGB(info.format);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue