OSDN Git Service

vc4: Move tgsi_to_nir to precompile time.
authorEric Anholt <eric@anholt.net>
Tue, 17 May 2016 19:46:27 +0000 (12:46 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 18 May 2016 01:07:39 +0000 (18:07 -0700)
commit474e2bbcc12b1f7d959c55a1d730ad54ecef98f4
tree7ebeb619dc7a887e1cc77f0e10daafbfd59a3abd
parent734fe41092e8ad87a9bfaac24c3603d2bb6df1b2
vc4: Move tgsi_to_nir to precompile time.

Now we have an immutable nir shader in our shader's CSO that we can clone
and lower/optimize.
src/gallium/drivers/vc4/vc4_program.c