Luca Barbieri wrote:
> This adds two TGSI fragment program properties that indicate the
> fragment coord conventions.
> 
> The properties behave as described in the extension spec for
> GL_ARB_fragment_coord_conventions, but the default origin in
> upper left instead of lower left as in OpenGL.
> 
> The syntax is:
> PROPERTY FS_COORD_ORIGIN [UPPER_LEFT|LOWER_LEFT]
> PROPERTY FS_COORD_PIXEL_CENTER [HALF_INTEGER|INTEGER]
> 
> The names have been chosen for consistency with the GS properties
> and the OpenGL extension spec.
> 
> The defaults are of course the previously assumed conventions:
> UPPER_LEFT and HALF_INTEGER.

This looks OK, but I think Michal and Keith should review too.


> It also adds 4 caps to indicate support of each of the conventios.
> These caps should be a temporary measure until all drivers support
> all conventions.
> 
> Until then, the state tracker will use them to adjust WPOS and provide
> the driver something it supports.
> 
> These caps include two "negative caps" indicating lack of support for
> the default DX9/DX10 upper left origin convention, and lack of support
> for the default OpenGL/DX10 half integer center convention.
> 
> These are an even more a temporary measure until drivers are fixed.

What will the final set of cap bits look like?

I'm hesitant to commit code with the temporary "NO_CAPS".

-Brian

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