OSDN Git Service

mesa: move ATI_fs state compile changes after the error checks
authorMiklós Máté <mtmkls@gmail.com>
Sat, 2 Dec 2017 22:35:23 +0000 (23:35 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 25 Dec 2017 13:32:23 +0000 (14:32 +0100)
commitf5415dcc8c6bdc55f43ebfd6d772e6ba07598de4
tree8dcb2bfd8667be7940904cb53051c06c7670d433
parent7df48c48f9c50ebb96bad563fc119382b7fc1e78
mesa: move ATI_fs state compile changes after the error checks

Both in setup and arithmetic instructions. Also, remove the useless
new_*_inst() functions, and refactor check_arith_arg(), because it did
two completely different things.

Piglit: spec/ati_fragment_shader/error04-endshader

Signed-off-by: Miklós Máté <mtmkls@gmail.com>
src/mesa/main/atifragshader.c