yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

Merge pull request #11149 from ameerj/astc-perf-prod

host_shaders: ASTC compute shader optimizations
This commit is contained in:
liamwhite 2023-08-21 16:08:51 -04:00 committed by GitHub
commit 18c08cee43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 483 additions and 564 deletions

File diff suppressed because it is too large Load Diff

View File

@ -68,6 +68,7 @@ void UtilShaders::ASTCDecode(Image& image, const StagingBufferMap& map,
std::span<const VideoCommon::SwizzleParameters> swizzles) {
static constexpr GLuint BINDING_INPUT_BUFFER = 0;
static constexpr GLuint BINDING_OUTPUT_IMAGE = 0;
program_manager.LocalMemoryWarmup();
const Extent2D tile_size{
.width = VideoCore::Surface::DefaultBlockWidth(image.info.format),