mesa: add copy_string() helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 26 Aug 2019 00:23:11 +0000 (10:23 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 20 Nov 2019 05:05:55 +0000 (05:05 +0000)
commit628d34fddd1e7fe8f31df4d4a725aec3aed3bed8
tree3dc6291659149bf3b79b9f2cea686bc9612246f6
parent8acab84f9322118ef18bb2686150d45d40b64ec6
mesa: add copy_string() helper

This will be used by the various ARB_shading_language_include
functions in the following patches.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Witold Baryluk <witold.baryluk@gmail.com>
src/mesa/main/shaderapi.c