-
-
Notifications
You must be signed in to change notification settings - Fork 65
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 support for GL_EXT_shader_framebuffer_fetch #72
base: master
Are you sure you want to change the base?
Conversation
@kakashidinho Can it be implemented by simply modifying the code in this repository? I would appreciate it if you could tell me about it. |
It seems that glslang does not support framebuffer fetch and I need to modify it. |
I noticed that there is a way to convert gl_LastFragColor and gl_LastFragData to subpass input of GLES for Vulkan. "--msl-framebuffer-fetch" argument of spirv-cross is:
|
Sorry, I was busy with other stuffs lately. I believe adding GL_EXT_shader_framebuffer_fetch support, you will need to modify the current metal back-end logic as well. Not just shader compiler. |
Thank you! |
…r_fetch_subpasses true
… an actual iOS device
Now, it should work on the actual iOS device with framebuffer fetching and the iOS simulator without framebuffer fetching. |
…BeginningOfShader
Thanks for this awesome PR. I will put it on hold for now, I will need to test it more before merging to master. |
I understand. I am looking forward to it. |
WIP. I'm reading the source code to implement this feature.