[Mesa-dev] [PATCH 6/6] glsl: Generate IR for switch statements

Keith Packard keithp at keithp.com
Mon Jun 27 17:35:56 PDT 2011


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 
> suggestion.

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,
implementation.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110627/f159ba2a/attachment.pgp>


More information about the mesa-dev mailing list