shader_info: tess.spacing needs to be unsigned
Otherwise MSVC will treat the bit-packed enum values as signed. Reviewed-by: Marek Olák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14402>
This commit is contained in:
parent
1b808f1dea
commit
ef27036b4c
|
@ -468,7 +468,7 @@ typedef struct shader_info {
|
|||
|
||||
/** The number of vertices in the TCS output patch. */
|
||||
uint8_t tcs_vertices_out;
|
||||
enum gl_tess_spacing spacing:2;
|
||||
unsigned spacing:2; /*gl_tess_spacing*/
|
||||
|
||||
/** Is the vertex order counterclockwise? */
|
||||
bool ccw:1;
|
||||
|
|
Loading…
Reference in New Issue