Brian Paul wrote:
> Ian Romanick wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Currently in Gallium no state object is bound for blend state if blend
>> has not been enabled.  Or is it just if none of the blend state is
>> modified?  Either way, I have a hack in the current Cell driver that
>> sets some default state on the SPE if cell_bind_blend_state is never 
>> called.
>>
>> What would it take to change this?  I'd prefer it if some blend state
>> object was always bound.  I haven't dug around in the Gallium code
>> outside the Cell driver, so I don't know where the right place is to do
>> this.
> 
> Ian, can you point me at a particular program to test?
> 
> I just tried a few tests w/ gdb and cell_bind_blend_state() is getting 
> called with a non-null blend state before anything's drawn.  Looks OK here.

Slightly off topic... I've been off the cell project for a while and 
haven't been following your code-gen work.  But I took a quick look at 
things.  Looks nice, but one thing: the intention is that code-gen 
should be done at 'create_XXX' time, rather than at 'bind_XXX' time, 
whenever possible.

For example, can cell_generate_alpha_blend() be moved into 
cell_create_blend_state()?

-Brian

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to