Browse Source

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

host_shaders: ASTC compute shader optimizations
pull/15/merge
liamwhite 2 years ago
committed by GitHub
parent
commit
18c08cee43
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 988
      src/video_core/host_shaders/astc_decoder.comp
  2. 1
      src/video_core/renderer_opengl/util_shaders.cpp

988
src/video_core/host_shaders/astc_decoder.comp
File diff suppressed because it is too large
View File

1
src/video_core/renderer_opengl/util_shaders.cpp

@ -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),

Loading…
Cancel
Save