gallium: first steps to treat edgeflags as regular vertex element
The idea here is to eliminate the set_edgeflags() call in pipe_context by treating edgeflags as a regular vertex element. Edgeflags provoke special treatment in hardware, which means we need to label them in some way, in this case we'll be passing them through the vertex shader and labelling the vertex shader output with a new TGSI semantic (TGSI_SEMANTIC_EDGEFLAG).
This commit is contained in:

committed by
Roland Scheidegger

parent
59f6af51b8
commit
a08e348a84
@@ -73,7 +73,7 @@ struct st_fragment_program
|
||||
|
||||
struct st_vp_varient_key
|
||||
{
|
||||
char dummy; /* currently unused */
|
||||
boolean passthrough_edgeflags;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user