When are shaders copied to gpu card?
Me Self
wmsopou at gmail.com
Sun Dec 29 15:21:18 UTC 2024
Hi All
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:
glCreateShader
glShaderSource
glCompileShader
glAttachShader
glLinkProgram
glUseProgram
glBindVertexArray
glDrawElements
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20241229/306870eb/attachment.htm>
More information about the mesa-users
mailing list