Michal,

This looks good.  Can you summarize what work needs to be done on the drivers 
as a result of this change?  

I'm guessing that drivers that only support a single constant buffer don't need 
to make any changes, but can you confirm that?

Also, is there a cap bit for this, if so what?  I know we're looking at 
alternatives to cap bits, but until they're in place I think we need to keep 
with the old methods.

Keith
________________________________________
From: michal [mic...@vmware.com]
Sent: Thursday, January 21, 2010 11:20 AM
To: mesa3d-dev; Keith Whitwell
Subject: [RFC] gallium-multiple-constant-buffers merge

Hi,

This simple feature branch adds support for two-dimensional constant
buffers in TGSI.

An example shader would look like this:

FRAG

DCL IN[0], COLOR, LINEAR
DCL OUT[0], COLOR
DCL CONST[1][1..2]

MAD OUT[0], IN[0], CONST[1][2], CONST[1][1]

END

For this to work, one needs to bind a buffer to slot nr 1 containing at
least 3 vectors.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to