Merge pull request #11149 from ameerj/astc-perf-prod
host_shaders: ASTC compute shader optimizations
This commit is contained in:
commit
18c08cee43
File diff suppressed because it is too large
Load Diff
|
@ -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),
|
||||||
|
|
Reference in New Issue