-
Notifications
You must be signed in to change notification settings - Fork 43
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
Fix validation warnings #57
base: main
Are you sure you want to change the base?
Fix validation warnings #57
Commits on Sep 20, 2023
-
Add a test runner to avoid regressions
Only tested on Linux. Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e9cd15 - Browse repository at this point
Copy the full SHA 1e9cd15View commit details -
VK_LAYER_KHRONOS_validation is the more modern layer name. VK_EXT_DEBUG_REPORT_EXTENSION_NAME was mistakenly being requested as a layer, request the instance extension instead. Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7da694c - Browse repository at this point
Copy the full SHA 7da694cView commit details -
Fix vkGetDeviceQueue-queueFamilyIndex-00384 validation error
This happens in noPresent mode, since we aren't supposed to be retrieving queues from these families. Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f9345fa - Browse repository at this point
Copy the full SHA f9345faView commit details -
And use it to ignore the buffer profile information errors. These will become optional soon, and wiring them into the sample app is problematic, since the bitstream buffers are created before the video profile is known! Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ef283fa - Browse repository at this point
Copy the full SHA ef283faView commit details -
Forward selection of presentation to the decoder
Various initialization paths will need this information to become validation clean Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6dd27e5 - Browse repository at this point
Copy the full SHA 6dd27e5View commit details -
Check for physical device features before using them
This is not complete, but silences some validation warnings. Before all features were being turned off! Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2d3519d - Browse repository at this point
Copy the full SHA 2d3519dView commit details -
Fix for update sequence count validation error
Needs better testing Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f80c786 - Browse repository at this point
Copy the full SHA f80c786View commit details -
Align bitstream offset and size as advertised by implementation
Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9157d2b - Browse repository at this point
Copy the full SHA 9157d2bView commit details -
Ignore DPB management validation errors
Need to figure out better how to handle these Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fea2318 - Browse repository at this point
Copy the full SHA fea2318View commit details -
Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e743a86 - Browse repository at this point
Copy the full SHA e743a86View commit details -
NFC: Rename get -> getVideoRelatedQueuesProperties
Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2dae733 - Browse repository at this point
Copy the full SHA 2dae733View commit details -
NFC: AddOptinalDeviceExtension -> AddOptionalDeviceExtension
Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 81d4881 - Browse repository at this point
Copy the full SHA 81d4881View commit details -
NFC: Remove unnecessary nesting
Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 87524e1 - Browse repository at this point
Copy the full SHA 87524e1View commit details -
Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for babc3a5 - Browse repository at this point
Copy the full SHA babc3a5View commit details -
Fix a sync2 validation warning
Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 997557e - Browse repository at this point
Copy the full SHA 997557eView commit details -
NFC: Display the device being used
Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe439ee - Browse repository at this point
Copy the full SHA fe439eeView commit details -
Use concurrent sharing when the transfer queue != decode queue
Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f16ad34 - Browse repository at this point
Copy the full SHA f16ad34View commit details -
Always keep DECODE_DST bit on the output image
For linear mode on coincident implementations, this gives an validation error (although it feels OK to do...) Just make the layer happy, I suspect we should be using the image copying approach in general, and rather copy to a buffer. Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e7c6207 - Browse repository at this point
Copy the full SHA e7c6207View commit details -
Tidy up output and dpb usage variables (note about linear tiling)
Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 401baf4 - Browse repository at this point
Copy the full SHA 401baf4View commit details -
Ensure the timeline semaphore is selected
This is now unconditionally used, perhaps we should flag it off if not supported, so as to run on more devices. Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5c40245 - Browse repository at this point
Copy the full SHA 5c40245View commit details -
Properly check supported formats and assert linear tiling is not supp…
…orted Demonstration for Tony, per our discussion in the weekly meeting. + assert(!outputImageSupportsLinearTiling); Please check if this is a driver bug. In general it might not be supported though, and we will need the ImageToBuffer fallback anyway. Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1892443 - Browse repository at this point
Copy the full SHA 1892443View commit details -
Lets rely on CopyImageToBuffer, and tidy up the image handling code in the process. Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a818dd - Browse repository at this point
Copy the full SHA 9a818ddView commit details -
Use CopyToBuffer in ConvertFrameToNV12
This is not proposed to merge, rather to help a discussion. Of course the code should be abstracted a bit, looking for early feedback. This also doesn't work for 10-bit out of the box. Need to do some bit manipulations of the packed 10-bit values to convert it properly to RAW YUV format (bottom 6 bits clear, rather than top 6) Before doing that, want to check if this is an acceptable approach in general, or whether we should enforce linear tiling for output images. Signed-off-by: Charlie Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b18ab00 - Browse repository at this point
Copy the full SHA b18ab00View commit details