[Bug 89580] Implement a NIR -> vec4 pass
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue May 5 12:28:54 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=89580
--- Comment #13 from Kenneth Graunke <kenneth at whitecape.org> ---
Yeah, that definitely looks bizarre - but I think it's expected.
Fixed-function vertex programs and ARB programs go through prog_to_nir.c (the
Mesa IR -> NIR translator), which generates load_uniform intrinsics directly,
instead of creating uniform variables then having nir_lower_io lower variable
access to intrinsics. It just sets nir->num_uniforms directly, and brw_nir.c
skips the part that inspects uniform variables when dealing with FF/ARB
programs.
/* Set the number of uniforms */
shader->num_uniforms = 4 * c->prog->Parameters->NumParameters;
Sorry for the confusion :)
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150505/06dd64a7/attachment.html>
More information about the intel-3d-bugs
mailing list