[Mesa-dev] [PATCH 6/6] glsl: Generate IR for switch statements
zen3d.linux at gmail.com
Mon Jun 27 17:39:20 PDT 2011
On 06/27/2011 05:35 PM, Keith Packard wrote:
> On Mon, 27 Jun 2011 17:23:30 -0700, Dan McCabe<zen3d.linux at gmail.com> wrote:
>> Since I am just about to start modifying the IR generation, I'm open to
> I'd write the simplest possible code that works now and then consider
> optimizing it later. This has the advantage that you can get a bunch of
> tests working and then use those to validate a later, more complicated,
Arguably Kenneth's suggestion to use conditional assignment is simpler.
But it does entail some mods to what I already wrote.
More information about the mesa-dev