OSDN Git Service

iris: Move create and bind driver hooks to the end of iris_program.c
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 1 Jan 2019 23:16:44 +0000 (15:16 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:12 +0000 (10:26 -0800)
commit973f01d55a2fff699f28816e3946c15f138a4c39
tree944ecd376d0f03199dea31fb49a1c10f4649e426
parentcacf84ed5ff48a3f4ea3fcb22b727732b723c352
iris: Move create and bind driver hooks to the end of iris_program.c

This just moves the code for dealing with pipe_shader_state /
pipe_compute_state / iris_uncompiled_shader to the end of the file.
Now that those do precompiles, they want to call the actual compile
functions.  Putting them at the end eliminates the need for a bunch
of prototypes.
src/gallium/drivers/iris/iris_program.c