geometry shaders: make gs work with changable primitives and variable number of vertices
lots and lots of fixes for geometry shaders. in particular now we work when the gs emits a different primitive than the one the pipeline was started with and also we work when gs emits more vertices than would fit in the original buffer.
This commit is contained in:
@@ -173,7 +173,7 @@ union tgsi_immediate_data
|
||||
|
||||
#define TGSI_PROPERTY_GS_INPUT_PRIM 0
|
||||
#define TGSI_PROPERTY_GS_OUTPUT_PRIM 1
|
||||
#define TGSI_PROPERTY_GS_MAX_VERTICES 2
|
||||
#define TGSI_PROPERTY_GS_MAX_OUTPUT_VERTICES 2
|
||||
#define TGSI_PROPERTY_FS_COORD_ORIGIN 3
|
||||
#define TGSI_PROPERTY_FS_COORD_PIXEL_CENTER 4
|
||||
#define TGSI_PROPERTY_COUNT 5
|
||||
|
Reference in New Issue
Block a user