Skip to content

Release v2.3.0: GPU Compute Encoder, Zero-Readback MipGen, KTX Disk Cache & Multi-Platform Support - #5

Merged
Overflowu merged 115 commits into
masterfrom
develop
Nov 28, 2026
Merged

Overflowu merged 115 commits into
masterfrom
develop

Conversation

@Overflowu

Copy link
Copy Markdown
Owner

Merges develop into master for the v2.3.0 release of com.aperture.astcenc (Runtime ASTC Encoder for Unity).

Highlights

  • Unified dual-backend (Auto / Gpu / Cpu) with tableless HLSL Compute Shader ASTC encoder (4x4–12x12, LDR/sRGB/Normal/HDR) and native ARM astc-encoder v5.7.1
  • Single-CommandBuffer GPU mipmap generation + zero-readback CopyTexture encoding across aligned and non-multiple dimensions
  • Standard KTX v1 container (AstcKtxContainer) and atomic persistent disk cache (AstcDiskCache)
  • Frame-budgeted AstcCompressionQueue, global AstcContextPool, zero-alloc CompressRawPixelsInto, and Windows x64 runtime AVX2/SSE4.1 auto-dispatch
  • Editor Quality Inspector, automated benchmark suite, EditMode golden tests, UPM Samples~/BasicUsage, and multi-platform CI

Merging this PR automatically triggers Release & Publish UPM Package to tag v2.3.0, package .tgz/.zip, and publish the GitHub Release.

web-flow and others added 30 commits November 26, 2026 01:45
Overflowu and others added 29 commits November 27, 2026 01:01
* Add multi-platform Unity CI build and E2E test pipeline on develop

* Fix Unity 2021.3 LTS compilation by guarding Unity 2022.1+ TextureCreationFlags

* Fix Editor compilation errors in AstcPerformanceBenchmarkRunner and pin unity-test-runner@v4.3.2

* Fix CS0170 definite assignment in AstcE2ESmokeRunner KTX round-trip check

* Fix astcenc 5.x parent_context NULL config requirement, pool parent key, and CI test runner flags

* Add [loop] attributes in AstcGpuCore/AstcGpuBise HLSL to prevent UnityShaderCompiler unroll timeouts

* Add #pragma use_dxc to AstcGpuEncoder.compute to avoid FXC nested-loop compiler timeout

* fix(gpu-shader): eliminate HLSL inlining/unrolling bloat causing FXC timeout & SPIR-V ID overflow

* fix(gpu-shader): eliminate all local/param arrays via shared static scratch buffers for FXC/HLSLcc

* perf(gpu-shader): cut DXIL basic blocks by 75% via branchless LNS/sRGB/BISE, unified 3-stage search, and 4x16b pixel cache

* perf(gpu-shader): enable 4x16b pixel cache for >=8x8 blocks to fix Metal/FXC timeout on EncodeTex8x8..12x12

* fix(ci): use absolute -logfile path on macOS/Linux and handle Unity 2021.3 Linux headless teardown exit 139
@Overflowu
Overflowu merged commit 5e8e40d into master Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants