This commit is contained in:
Asuka 2022-07-13 08:01:59 +08:00
parent 82dbae613a
commit ac061b2fe1

View file

@ -187,6 +187,9 @@ namespace sce::gcn
// but no identical method for Nvidia GPU.
// So we need to use OpImageFetch to replace OpImageRead,
// thus to declare the image as sampled.
// (Well OpImageFetch will be translated back to image_load_mip
// eventually on AMD GPU, tested on RadeonGPUAnalyzer,
// not sure for Nvidia.)
// For image_store_mip, I don't have a good idea as of now.
bool isUavRead = iter->second;
if (isUavRead)