early-access version 2249
This commit is contained in:
parent
58fe367da6
commit
a657cf53a1
@ -1,7 +1,7 @@
|
||||
yuzu emulator early access
|
||||
=============
|
||||
|
||||
This is the source code for early-access 2248.
|
||||
This is the source code for early-access 2249.
|
||||
|
||||
## Legal Notice
|
||||
|
||||
|
@ -725,11 +725,7 @@ ImageViewId TextureCache<P>::CreateImageView(const TICEntry& config) {
|
||||
}
|
||||
const u32 layer_offset = config.BaseLayer() * info.layer_stride;
|
||||
const GPUVAddr image_gpu_addr = config.Address() - layer_offset;
|
||||
ImageId image_id{};
|
||||
do {
|
||||
has_deleted_images = false;
|
||||
image_id = FindOrInsertImage(info, image_gpu_addr);
|
||||
} while (has_deleted_images);
|
||||
const ImageId image_id = FindOrInsertImage(info, image_gpu_addr);
|
||||
if (!image_id) {
|
||||
return NULL_IMAGE_VIEW_ID;
|
||||
}
|
||||
@ -1204,10 +1200,11 @@ ImageViewId TextureCache<P>::FindRenderTargetView(const ImageInfo& info, GPUVAdd
|
||||
bool is_clear) {
|
||||
const auto options = is_clear ? RelaxedOptions::Samples : RelaxedOptions{};
|
||||
ImageId image_id{};
|
||||
bool delete_state = false;
|
||||
do {
|
||||
has_deleted_images = false;
|
||||
delete_state = has_deleted_images;
|
||||
image_id = FindOrInsertImage(info, gpu_addr, options);
|
||||
} while (has_deleted_images);
|
||||
} while (delete_state != has_deleted_images);
|
||||
if (!image_id) {
|
||||
return NULL_IMAGE_VIEW_ID;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user