mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-13 07:51:39 +01:00
AAAAAAH
This commit is contained in:
parent
75519010d2
commit
15de6e0e08
1 changed files with 3 additions and 5 deletions
|
|
@ -1122,11 +1122,6 @@ void TextureCache<P>::RefreshContents(Image& image, ImageId image_id) {
|
||||||
|
|
||||||
TrackImage(image, image_id);
|
TrackImage(image, image_id);
|
||||||
|
|
||||||
if (True(image.flags & ImageFlagBits::GpuModified) && image.info.rescaleable) {
|
|
||||||
runtime.TransitionImageLayout(image);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (image.info.num_samples > 1 && !runtime.CanUploadMSAA()) {
|
if (image.info.num_samples > 1 && !runtime.CanUploadMSAA()) {
|
||||||
LOG_WARNING(HW_GPU, "MSAA image uploads are not implemented");
|
LOG_WARNING(HW_GPU, "MSAA image uploads are not implemented");
|
||||||
runtime.TransitionImageLayout(image);
|
runtime.TransitionImageLayout(image);
|
||||||
|
|
@ -1270,6 +1265,9 @@ ImageId TextureCache<P>::FindImage(const ImageInfo& info, GPUVAddr gpu_addr,
|
||||||
|
|
||||||
template <class P>
|
template <class P>
|
||||||
bool TextureCache<P>::ImageCanRescale(ImageBase& image) {
|
bool TextureCache<P>::ImageCanRescale(ImageBase& image) {
|
||||||
|
if (!Settings::values.resolution_info.active) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (!image.info.rescaleable) {
|
if (!image.info.rescaleable) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue