nvc0: move setting of entrypoint for a shader stage to a function
authorBen Skeggs <bskeggs@redhat.com>
Sat, 6 Jun 2020 23:52:43 +0000 (09:52 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Jun 2020 22:52:42 +0000 (22:52 +0000)
commit4f3fbfb82e6559fbf44c5384f8639e73ec6dd82b
treee43ee59287495deadf7f32724cf159f4c17e171d
parent550f1c6d33250d33a50e86f03fa4024db33d4f8a
nvc0: move setting of entrypoint for a shader stage to a function

GV100 requires something different, cleaner to move this to a single place.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5377>
src/gallium/drivers/nouveau/nvc0/nvc0_program.c
src/gallium/drivers/nouveau/nvc0/nvc0_program.h
src/gallium/drivers/nouveau/nvc0/nvc0_shader_state.c