[Mesa-dev] TGSI declarations missing type info
Dave Airlie
airlied at gmail.com
Sun Nov 13 07:06:10 PST 2011
Hi guys,
Just been looking at llvmpipe integer support and it seems like we
lose some information about the type of data stored into temporaries,
after st_glsl_to_cpp we no longer know what type the temporaries are,
and llvm would really like to know and I can't see any reason that
TGSI doesn't contain the info. Having untyped temp decls means we'd
have to allocate some sort of "union" via aliases I guess in llvmpipe
for all temps so we can store int/float in them.
I've attached a run of glsl-vs-loop from llvmpipe with integer opcodes
forced on. (llvmpipe-int-test branch of my repo).
Dave.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: intshade
Type: application/octet-stream
Size: 57646 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111113/3941251a/attachment-0001.obj>
More information about the mesa-dev
mailing list