mesa: add api to write subroutine indicies to the program storage

Graphics / Mesa 3D Graphics Library / Mesa - Dave Airlie [redhat.com] - 22 August 2016 20:03 UTC

This writes the subroutine indicies to the program storage for a stage. This API is intended to be used by drivers to update the uniform storage before uploading to the hw.

This isn't the most thread safe effort, but it will be significantly more multi-context safe.

ea78366 mesa: add api to write subroutine indicies to the program storage.
src/mesa/main/shaderapi.c | 10 ++++++++++
src/mesa/main/shaderapi.h | 3 +++
2 files changed, 13 insertions(+)

Upstream: cgit.freedesktop.org


  • Share