[Mesa-dev] [PATCH] i965: Delete most of the linked GLSL IR when using NIR.

Kenneth Graunke kenneth at whitecape.org
Wed May 6 11:00:09 PDT 2015

On Wednesday, May 06, 2015 09:09:06 AM Tapani Pälli wrote:
> Sorry not, it's just a simple hack patch ATM where I try to preserve 
> only the ir_variable::data struct but I forgot that we really need a bit 
> more (like name, type ..) so things fall apart. My plan next is first to 
> introduce own structure where I keep adding fields as long as Piglit 
> tests pass. I could probably use nir_variable as it's more minimal than 
> ir_variable but that would be only for nir using drivers so I'm not sure 
> if proceeding there makes sense right now (?)

nir_variable is actually largely cut and pasted from ir_variable,
so it's not really much smaller :)  But GLSL IR uses variables for
everything, and NIR mostly uses SSA values and registers, which are
much smaller.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150506/6088ec10/attachment.sig>

More information about the mesa-dev mailing list