You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the extension for a vulkan project where I'm compiling all my shaders with a custom build tool using the glslc.exe that is provided by the Vulkan SDK. This compiler doesn't know of 'gl_VertexID', so I'd like to use 'gl_VertexIndex'.
For some reason the extension marks 'gl_VertexIndex' as an undeclared identifier. How could I change this behaviour?
The text was updated successfully, but these errors were encountered:
gl_VertexIndex is known to the extension for coloring and for auto-completion.
To clarify: You mean the extension is putting wiggly lines below the gl_VertexIndex keyword and reporting an error regarding gl_VertexIndex' is an undeclared identifier?
If this is the case than the shader compiler is returning this error.
The extension uses the shader compiler of the driver of your graphics card as a default or you can set a custom one (including arguments) in the extension options.
On Sat, Jan 20, 2024, 09:16 Daniel Scherzer ***@***.***> wrote:
Thanks for using my extension!
gl_VertexIndex is known to the extension for coloring and for
auto-completion.
To clarify: You mean the extension is putting wiggly lines below the
gl_VertexIndex keyword and reporting an error regarding gl_VertexIndex'
is an undeclared identifier?
If this is the case than the shader compiler is returning this error.
The extension uses the shader compiler of the driver of your graphics card
as a default or you can set a custom one (including arguments) in the
extension options.
—
Reply to this email directly, view it on GitHub
<#122 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZMLKZRDPIVTRK3QFY7K2ODYPN4PRAVCNFSM6AAAAABCCSFNZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBRHEZDOMRYGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
I'm using the extension for a vulkan project where I'm compiling all my shaders with a custom build tool using the glslc.exe that is provided by the Vulkan SDK. This compiler doesn't know of 'gl_VertexID', so I'd like to use 'gl_VertexIndex'.
For some reason the extension marks 'gl_VertexIndex' as an undeclared identifier. How could I change this behaviour?
The text was updated successfully, but these errors were encountered: