mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-10-06 14:09:58 +00:00
fix?
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user