Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • third_party
  • astc-encoder
  • Source
  • astc_partition_tables.cpp
Find file
BlameHistoryPermalink
  • Alexis Hetu's avatar
    ASTC Decoder: Trim unused struct members · 3121585a
    Alexis Hetu authored Jul 02, 2020
    A few struct members were only ever written to and never read, which
    means these were encoder only struct members. Since we only need the
    ASTC decoder, these encoder only struct members were removed.
    
    The gains in memory allocation sizes are substantial:
    
    block_size_descriptor
    Initial size: 3469056 B (~3.3 MB)
    After this cl: 693168 B (~677 kB)
    
    decimation_table
    Initial size: 364896 B (~356 kB)
    After this cl: 1948 B (~1.9 kB)
    
    Change-Id: Id86c993331d2602a1106f6aaa729d1047e2ebc27
    Tests: dEQP-VK.*astc*
    Bug: b/150130101
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/46128
    Presubmit-Ready: Alexis Hétu <sugoi@google.com>
    Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Kokoro-Result: kokoro <noreply+kokoro@google.com>
    Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
    3121585a
astc_partition_tables.cpp 6.75 KB
EditWeb IDE
×

Replace astc_partition_tables.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.