projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9ff185
)
st/mesa: s/unsigned/enum tgsi_semantic/ st_cb_drawpixels.c
author
Brian Paul
<brianp@vmware.com>
Wed, 7 Feb 2018 23:12:59 +0000
(16:12 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 8 Feb 2018 16:49:03 +0000
(09:49 -0700)
Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/state_tracker/st_cb_drawpixels.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_drawpixels.c
b/src/mesa/state_tracker/st_cb_drawpixels.c
index 44f5b235c83ba0d786418a9b66a8cad4ca04797a..ddf69263328306960f3a616d7bd5c7645ad2d1ba 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_drawpixels.c
+++ b/
src/mesa/state_tracker/st_cb_drawpixels.c
@@
-196,7
+196,7
@@
static void *
make_passthrough_vertex_shader(struct st_context *st,
GLboolean passColor)
{
- const
unsigned
texcoord_semantic = st->needs_texcoord_semantic ?
+ const
enum tgsi_semantic
texcoord_semantic = st->needs_texcoord_semantic ?
TGSI_SEMANTIC_TEXCOORD : TGSI_SEMANTIC_GENERIC;
if (!st->drawpix.vert_shaders[passColor]) {