Nintendo OpenGL: Difference between revisions
Line 7: | Line 7: | ||
== Shader program structure == | == Shader program structure == | ||
When uniform values are set, they are attached to the current shader program and stored into the corresponding shader program structure. | When uniform values are set (in shm_uniformfv/shm_uniformiv), they are attached to the current shader program and stored into the corresponding shader program structure. They are later written to the GPU command buffer in __shv_validateShaderValidator or equivalent. | ||
Shader program struct : | Shader program struct : |