shader_recompiler: Partial readfirstlane implementation

This commit is contained in:
IndecisiveTurtle 2024-07-30 00:54:48 +03:00
parent 45db60dfd4
commit f81e30e0e1
2 changed files with 3 additions and 2 deletions

View file

@ -82,7 +82,8 @@ void Translator::S_BARRIER() {
}
void Translator::V_READFIRSTLANE_B32(const GcnInst& inst) {
UNREACHABLE();
ASSERT(info.stage != Stage::Compute);
SetDst(inst.dst[0], GetSrc(inst.src[0]));
}
void Translator::EmitDataShare(const GcnInst& inst) {

View file

@ -142,7 +142,7 @@ ImageId TextureCache::FindImage(const ImageInfo& info, bool refresh_on_create) {
image_ids.push_back(image_id);
});
ASSERT_MSG(image_ids.size() <= 1, "Overlapping images not allowed!");
//ASSERT_MSG(image_ids.size() <= 1, "Overlapping images not allowed!");
ImageId image_id{};
if (image_ids.empty()) {