mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-30 22:14:56 +00:00
shader_recompiler: Partial readfirstlane implementation
This commit is contained in:
parent
45db60dfd4
commit
f81e30e0e1
@ -82,7 +82,8 @@ void Translator::S_BARRIER() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Translator::V_READFIRSTLANE_B32(const GcnInst& inst) {
|
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) {
|
void Translator::EmitDataShare(const GcnInst& inst) {
|
||||||
|
@ -142,7 +142,7 @@ ImageId TextureCache::FindImage(const ImageInfo& info, bool refresh_on_create) {
|
|||||||
image_ids.push_back(image_id);
|
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{};
|
ImageId image_id{};
|
||||||
if (image_ids.empty()) {
|
if (image_ids.empty()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user