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:
Jesse Natalie 2022-01-04 12:06:02 -08:00 committed by Marge Bot
parent 1b808f1dea
commit ef27036b4c
1 changed files with 1 additions and 1 deletions

View File

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