Sfoglia il codice sorgente

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

host_shaders: ASTC compute shader optimizations
liamwhite 2 anni fa
parent
commit
18c08cee43

File diff suppressed because it is too large
+ 330 - 404
src/video_core/host_shaders/astc_decoder.comp


+ 1 - 0
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) {
                              std::span<const VideoCommon::SwizzleParameters> swizzles) {
     static constexpr GLuint BINDING_INPUT_BUFFER = 0;
     static constexpr GLuint BINDING_INPUT_BUFFER = 0;
     static constexpr GLuint BINDING_OUTPUT_IMAGE = 0;
     static constexpr GLuint BINDING_OUTPUT_IMAGE = 0;
+    program_manager.LocalMemoryWarmup();
 
 
     const Extent2D tile_size{
     const Extent2D tile_size{
         .width = VideoCore::Surface::DefaultBlockWidth(image.info.format),
         .width = VideoCore::Surface::DefaultBlockWidth(image.info.format),

Some files were not shown because too many files changed in this diff