commit | 180c1b924e1ed3a2918fad9c5cbb653524de8233 | [log] [tgz] |
---|---|---|
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | Wed Aug 16 09:09:56 2017 +0200 |
committer | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | Thu Aug 24 19:20:47 2017 +0200 |
tree | 78cd87baa56ed17fcaa11ceb96aed74c301aed18 | |
parent | 2e86f6b2597df85bc106780763ead0b20b3bc8e4 [diff] |
ac/nir: Add shader support for multiviews. It uses an user SGPR to pass the view index to the shaders, except for the fragment shader where we use layer=view (which comes in handy when we want to do the NV ext that allows us to execute pre-FS stages once instead of per view). Reviewed-by: Dave Airlie <airlied@redhat.com>