summaryrefslogtreecommitdiffstats
path: root/docs/index.html
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-03-27 19:23:36 -0700
committerKenneth Graunke <[email protected]>2015-04-02 14:20:00 -0700
commit587b3a20a1d3201467adf90e66b53b9843b2cc0a (patch)
tree77649c9be6db59b3c64053e526928cb262db667b /docs/index.html
parentf61b6c3e48071991c098aa588ee86473f419d5c0 (diff)
nir: Make nir_create_function() strdup the function name.
glsl_to_nir passes in the ir_function's name field; we were copying the pointer, but not duplicating the memory. We want to be able to free the linked GLSL IR program after translating to NIR, so we'll need to create a copy of the function name that the NIR shader actually owns. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'docs/index.html')
0 files changed, 0 insertions, 0 deletions