-
Notifications
You must be signed in to change notification settings - Fork 246
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 normalise option to command create #977
Conversation
I think keeping encode focused on encoding and not adding image manipulations is the right choice. I.e normaiize only in I can see at some point adding a function to make an |
The help output is a simplified version of the man page. They do need to be kept broadly in sync. Any time you change the help you have to update the golden file in the CTS otherwise the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @wasimabbas-arm.
@MarkCallow please review the CTS changes, most of the work was done there. KhronosGroup/KTX-Software-CTS#37 |
This doesn't look like a related build issue, is it? |
No it doesn't. It looks like a change to some part of the GitHub helpers. |
I reran the failed jobs but the same thing happened. I need to investigate. It's a piece of github functionality that is failing and, very typically of software generally, the error message gives no clue why the action is "unable to create a container." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make the suggested changes to the error handling and message.
Please rebase to main to get the fix for this. |
I am about to land PR #983 which updates the ASTC encoder to 5.2.0. After it lands you will likely have to regenerate the golden files in your tests. Please finish this PR. I have almost completed the other items I want for the next release of this software and don't want to be held up by this. |
402a53a
to
77ac281
Compare
@MarkCallow I am not sure what's happened to this PR. Current status is that the following tests are failing:
All except cubemap ones are giving some And I have merged this with master, locally I don't have any conflicts. But Why is it not running the CI build? Its confusing to me why the merge conflict (if there is one really) is blocking a CI build (So I can't see what is actually failing if anything related). Its as if the CI build is only checking for CLA requirements now. |
I think the CI build is not running because GH cannot merge the PR with main to create the tree it uses for the builds. I don't understand this well so I might be completely wrong. The first step is that you need to rebase the CTS tests, force push the result to the CTS branch you are using then update the CTS reference ( I don't know what the conflicts are in I am sorry for the hassle. I needed to merge the TF updates. |
I see a lot of these in the MingW test run. They don't seem to affect the running of the tests. I haven't noticed them anywhere else. |
…se of normalize and raw and minor docs edits
…, and update tests submodule
a5d198b
to
29507d9
Compare
Phew, that was painful. Anyways looks like everything pass now. |
Fixes #812 partially. At the moment only adds support to create.
NOTE: I can't seem to work out how to add support to encode because its not using
Image
from./tools/imageio/image.hpp
its using streams to load this.I have also tried to add this normalize option to
./tools/ktx/encode_utils_common.h
first. You can see this in the first commit 53f728f. I am not sure if thats the way to go to see this option in bothencode
andcreate
but it felt like its not an encoder (basisu, ASTC) specific option so feels misplaced.The other option is to add another "general_util.h" which stores other commonly used options amongst the tools because it doesn't fit in all of the following categories either.
ktx create [OPTION...] <input-file...> <output-file>
Encode ASTC options:
Encode BasisLZ options:
Encode UASTC options:
Encode common options:
Generate Mipmap options: