compiler: move TEXTURE_COORD/VERTEX_GENERIC_ATTRIB limits into shader_enums.h
because they are used there. Reviewed-by: Matt Turner <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9050>
This commit is contained in:
@@ -166,6 +166,14 @@ typedef enum
|
||||
|
||||
const char *gl_vert_attrib_name(gl_vert_attrib attrib);
|
||||
|
||||
/**
|
||||
* Max number of texture coordinate units. This mainly just applies to
|
||||
* the fixed-function vertex code. This will be difficult to raise above
|
||||
* eight because of various vertex attribute bitvectors.
|
||||
*/
|
||||
#define MAX_TEXTURE_COORD_UNITS 8
|
||||
#define MAX_VERTEX_GENERIC_ATTRIBS 16
|
||||
|
||||
/**
|
||||
* Symbolic constats to help iterating over
|
||||
* specific blocks of vertex attributes.
|
||||
|
Reference in New Issue
Block a user