-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
opengl: infer fbo format name in gl_fb_query #267
base: master
Are you sure you want to change the base?
Conversation
742bb64
to
991f066
Compare
I'm not sure I understand the use case of this - why do you want access to the GLSL layout qualifier in particular? Note that |
Reworked. Some formats are not allowed in GLSL, so I add another field. |
The core issue is already fixed by https://code.videolan.org/videolan/libplacebo/-/merge_requests/656 two months ago. |
I didn't find that earlier. Sorry. I've just had a quick look at your implementation and am wondering how it handle formats like |
I see that in the end, this one wasn't merged |
Any updates? |
This PR add format name inference in
gl_fb_query()
so that end users can easily distinguish formats for e.g. swapchain frames. The format names are consistent with GLSL layout qualifiers.