https://bugs.freedesktop.org/show_bug.cgi?id=110472

--- Comment #5 from Timothy Arceri <t_arc...@yahoo.com.au> ---
There is a bug in one of their generated shaders.

 error: #extension directive is not allowed in the middle of a shader

Some other drivers allow extension to be defined mid shader but this is invalid
according to the OpenGL spec. You can see the problemn shader below:

#define EMULATION_UBO_BINDING 4
#define CBUF_BINDING_1 5
#define CBUF_BINDING_4 6
#define CBUF_BINDING_12 7
layout (lines) in;           <--- This needs to be after #extension
#define MAX_VERTEX_INPUT 2
#extension GL_ARB_separate_shader_objects : enable


This should be reported to the yuzu devs. For now you can try work around it by
setting the below environment variable when running yuzu. Let me know if this
fixes the issue for you.

allow_glsl_extension_directive_midshader=true

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to