<div dir="ltr"><div dir="ltr"><div>Hi All</div><div><br></div><div>I'm assuming shaders are compiled on the CPU and linked shaders are sent to the GPU memory and executed from there, is that correct? I can't find any explicit documentation from kronos when it is sent to the GPU mem specifically (in which function call), so I tried downloading the mesa sourcecode, but while I can find the opengl header signatured of functions such as glLinkProgram, I can't find the actual implementation (havent touched C code in 30 years and mesa appears to be using some redirection table on at runtime). Could someone give me some pointers, where to look? The functions invoked by my application are roughly these:</div><div><br></div><div>glCreateShader</div><div>glShaderSource</div><div>glCompileShader</div><div>glAttachShader</div><div>glLinkProgram</div><div>glUseProgram</div><div>glBindVertexArray</div><div>glDrawElements</div><div><br></div></div>
</div>