commit | 2795fbcae302cd8821b23821ebf8a2b256ff10d5 | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Wed Mar 02 23:39:18 2016 -0800 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Thu Mar 03 21:31:22 2016 -0800 |
tree | 478d7ef23daae5d64ee9e15d357d78d8555cfb0c | |
parent | aa37cbdff7bb1d2170f1603b02a8b8517255894f [diff] |
glsl: Parameterize asin_expr() on the fit coefficients. This will allow us to share the implementation while using different polynomials for asin() and acos(). Francisco Jerez did this in the SPIR-V front-end; I'm merely porting his idea to the GLSL world. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>