Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functions to support Standard Swizzle textures #515

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from

Commits on Sep 26, 2024

  1. [Draft]

    - needs to be tested.  where to get dx12 boilerplate?  test just that texute still looks correct, or also test performance improves when roteated?
    - maybe merge functions?  would then pass a boolean/enum to determine rowToSwizzle versus swizzleToRow
    
    Added functions that converts pixel order from row major to standard swizzle and from standard swizzle to row major.
    
    Functions for both 1 Image, and an array of Images.
    
    Folwoing standard DirectXTex pattern: Uses Image and TexMetadata as input.  Outputs/initializes a ScratchImage.
    isplunke authored and walbourn committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    2ba0289 View commit details
    Browse the repository at this point in the history
  2. Moved functionst to new file DirectTexSwizzle

    Added new file to .vcxproj, other.vcxproj, and Cmake
    
    Merged to/from functions togeather
    memcpy src is const
    added non-AVX2 deposit_bits
    isplunke authored and walbourn committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    0a8c5bf View commit details
    Browse the repository at this point in the history
  3. cleanup move

    isplunke authored and walbourn committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    e29108a View commit details
    Browse the repository at this point in the history
  4. added 3D

    isplunke authored and walbourn committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    406787d View commit details
    Browse the repository at this point in the history
  5. Almost handel Block Compression.

    TODO what flags/threshold to use to re-Compress?
    isplunke authored and walbourn committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    061f06c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f3b95e0 View commit details
    Browse the repository at this point in the history
  7. Undo: Almost handel Block Compression.

    isplunke authored and walbourn committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    c5ef2db View commit details
    Browse the repository at this point in the history
  8. name the file in itself

    isplunke authored and walbourn committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    1ecf426 View commit details
    Browse the repository at this point in the history
  9. handle compression... this time?

    isplunke authored and walbourn committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    b35faa5 View commit details
    Browse the repository at this point in the history
  10. use extractBits

    isplunke authored and walbourn committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    3466ba5 View commit details
    Browse the repository at this point in the history
  11. Update DirectXTexSwizzle.cpp

    walbourn committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    9be0db5 View commit details
    Browse the repository at this point in the history
  12. Update DirectXTexSwizzle.cpp

    More code review
    walbourn committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    e5395d8 View commit details
    Browse the repository at this point in the history
  13. Update DirectXTexSwizzle.cpp

    Rework 2D swizzle into templates
    walbourn committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    d70fef1 View commit details
    Browse the repository at this point in the history
  14. Update DirectXTexSwizzle.cpp

    Code review
    walbourn committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    6f19a5a View commit details
    Browse the repository at this point in the history
  15. Update CMakeLists.txt

    Linux filesystem is case sensitive
    walbourn committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    93cb5a2 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a41c71e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    68b9cc7 View commit details
    Browse the repository at this point in the history
  18. More work on 3D swizzle

    walbourn committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    94fc437 View commit details
    Browse the repository at this point in the history
  19. More code review

    walbourn committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    74f7445 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Configuration menu
    Copy the full SHA
    c0e91fc View commit details
    Browse the repository at this point in the history