[Mesa-dev] [PATCH 0/4] Delete some useless Mesa IR bits

Ian Romanick idr at freedesktop.org
Mon May 9 18:48:31 UTC 2016


ping

On 04/19/2016 08:22 PM, Ian Romanick wrote:
> While doing some other work, I noticed that prog_to_nir supported SLE,
> SGT, SNE, and SEQ.  It's impossible for those opcodes to occur in the
> prog_to_nir path because that could only have come from the
> NV_vertex_program2 (or other NV assembly program) extension.  We removed
> those quite some time ago.
> 
> I was just going to remove that code, but I realized that nothing using
> ir_to_mesa wants to see those opcodes.  i915 has to emit multiple
> instructions to do them, and prog_execute... well, I don't think anyone
> cares about that path seeing a couple extra instructions.  After
> changing ir_to_mesa, there was quite a bit more code available for
> deletion.
> 
> I tested this on our CI on G33 (i915-ish), and there were no regressions
> on GLES2 CTS or piglit.
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 



More information about the mesa-dev mailing list