Locate shader builtin

i’m look to make some debug info with the module GPU, i’m use the builtin shader ; where i can find this shader ? To understand all shader i wish read all params exposed, but i don’t know if it’s available with the GPU module, or in the C source maybe ?

I’m speak about this shader
Thanks for your help.

First, locate the shader you want in this array:

Get its create_info name and locate that create info in this directory:

The create info structure should tell you the interface of the shader as well as which shader source it uses, which typically the fragment_source and vertex_source members. Those shader sources will typically be available in this directory:

1 Like

Great ! Thanks for your help !