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.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev