yuq / mesa-lima

Deprecated, new place: https://gitlab.freedesktop.org/lima
https://github.com/yuq/mesa-lima/wiki
164 stars 17 forks source link

Tgsi nir fixes #14

Closed PabloPL closed 6 years ago

PabloPL commented 6 years ago

Those were found during my work on getting scissor working.

First patch enables shader conversion from tgsi to nir (based on vc4/freedreno). It can be reproduced by starting piglit test

$ PIGLIT_PLATFORM=gbm ./bin/gl-1.0-scissor-copypixels -auto -fbo

Last patch enables lowering ffma. It fixes following error

$ PIGLIT_PLATFORM=gbm ./bin/gl-1.0-scissor-offscreen -auto -fbo
gpir: unsupport nir_op 66