Compression artifacts for BC7_UNORM when compressing on CPU (GPU is fine)

Open
#488 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

Start by reproducing the issue with the two texconv.exe commands in the report, comparing BC7_UNORM output with and without -nogpu. Trace the CPU BC7_UNORM compression path and compare its output with the GPU path. Done means the CPU-generated texture no longer shows the reported compression artifacts.

Written by the indexing model from the issue text.

Description

question

I was having issues with the library and thought it was because of my own code; but i noticed that the texconv tool shows the exact same problem.

texconv.exe -y BC7_UNORM texture.png

gives a different output than
texconv.exe -y BC7_UNORM -nogpu texture.png

Notice the artifacts in the CPU version:
image

This is with the GPU:
image

Dominant language
C++
Stars
2.2k
Forks
498
Avg merge
2d 5h
Merged PRs (30d)
6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/DirectXTex

All issues in microsoft/DirectXTex

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.