st/mesa: implement GL_ATI_fragment_shader
authorMiklós Máté <mtmkls@gmail.com>
Thu, 24 Mar 2016 00:12:57 +0000 (01:12 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 27 Mar 2016 17:58:33 +0000 (19:58 +0200)
commitdee274477fb36aebc0ebf3eb1a9c58d875ad7a6f
tree59259ff1c40a7aa405256b19a9102429c236f7a6
parentd71c1e9e54d379ff312dca7eb4d717e3f20e4099
st/mesa: implement GL_ATI_fragment_shader

v2: fix arithmetic for special opcodes,
 fix fog state, cleanup
v3: simplify handling of special opcodes,
 fix rebinding with different textargets or fog equation,
 lots of formatting fixes
v4: adapt to the compile early, fix later architecture,
 formatting fixes

Signed-off-by: Miklós Máté <mtmkls@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/Makefile.sources
src/mesa/main/atifragshader.h
src/mesa/state_tracker/st_atifs_to_tgsi.c [new file with mode: 0644]
src/mesa/state_tracker/st_atifs_to_tgsi.h [new file with mode: 0644]
src/mesa/state_tracker/st_atom_constbuf.c
src/mesa/state_tracker/st_atom_shader.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_program.c
src/mesa/state_tracker/st_program.c
src/mesa/state_tracker/st_program.h