-
Notifications
You must be signed in to change notification settings - Fork 10
Add -Wconversion and fix the related conversion issues #7
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
base: main
Are you sure you want to change the base?
Conversation
5cfbe9c to
64769ce
Compare
|
@zlatinski Can you give a glance to this PR. It allows to avoid non regression when we change something in vulkan-video-samples. I had the issue today again with CTS bots failing because of Vulkan-Video-Samples. This is quite a big change but necessary. |
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.
Thank you, Stephane, for these changes. These look good in general, but I would like to request a bit more improvements. If you want, you can change the VP9 types to concrete, but you don't have to at this point because we are updating the parser based on the latest Vulkan VP9 spec, anyway.
vk_video_decoder/libs/NvVideoParser/include/VulkanH264Decoder.h
Outdated
Show resolved
Hide resolved
vk_video_decoder/libs/NvVideoParser/src/NextStartCodeAVX512.cpp
Outdated
Show resolved
Hide resolved
b184ffc to
c18a749
Compare
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.
Thank you, Stephane. Your change has exposed some issues, which are indeed good to address. Thank you for doing that! Unfortunately, there are more fixes needed :( sorry!
ba1547b to
2cd1ba3
Compare
2cd1ba3 to
dbec2b1
Compare
|
@zlatinski are you okay to merge this change ? |
|
ping @zlatinski |
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.
Thank you for the fixes, Stephane! I'm fine with the changes, as long as after applying the changes, the Fluster's results don't get regressed.
e7e05b7 to
d415221
Compare
|
Found some regression with Fluster AV1 tests that have been addressed. Having a bot to check that would be great but thanks for asking to check that again. Unfortunately the bot is unhappy now because of spirv. Need to investigate whats happening ... |
edacae7 to
8b38420
Compare
Due to -Wconversion, a lot of conversion have been discovered.
As -1 is not shaderc_shader_kind, use the default one as shaderc_glsl_infer_from_source. Conversion issue.
6909596 to
a131d28
Compare
|
Just pushed a new serie to fix the latest conversion issues. I gave a try to fluster AV1, H264, H265, VP9 and so far no regressions. Would request anyway another review to be sure about it. |
No description provided.