diff options
author | Brian Paul <[email protected]> | 2018-02-07 18:28:34 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-02-08 09:49:03 -0700 |
commit | 26948ba761e04e74a5d15a3115117b9954a4fcbb (patch) | |
tree | 7e364eca19ff42f6dd668a09a7dc44f2e62de129 /src/gallium/tests/trivial/quad-tex.c | |
parent | 0f40f4ffdae7b9cc5b9cb32a9373ab95ebee4383 (diff) |
gallium/util: s/uint/enum tgsi_semantic/ in simple shader code
Reviewed-by: Mathias Fröhlich <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/tests/trivial/quad-tex.c')
-rw-r--r-- | src/gallium/tests/trivial/quad-tex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/tests/trivial/quad-tex.c b/src/gallium/tests/trivial/quad-tex.c index 2ee544a4129..df0e1301f5e 100644 --- a/src/gallium/tests/trivial/quad-tex.c +++ b/src/gallium/tests/trivial/quad-tex.c @@ -263,8 +263,8 @@ static void init_prog(struct program *p) /* vertex shader */ { - const uint semantic_names[] = { TGSI_SEMANTIC_POSITION, - TGSI_SEMANTIC_GENERIC }; + const enum tgsi_semantic semantic_names[] = + { TGSI_SEMANTIC_POSITION, TGSI_SEMANTIC_GENERIC }; const uint semantic_indexes[] = { 0, 0 }; p->vs = util_make_vertex_passthrough_shader(p->pipe, 2, semantic_names, semantic_indexes, FALSE); } |