OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3e2428
)
st/mesa: st_atom_shader.c C99 tidy up
author
Timothy Arceri
<t_arceri@yahoo.com.au>
Mon, 30 Jan 2017 23:34:59 +0000
(10:34 +1100)
committer
Timothy Arceri
<tarceri@itsqueeze.com>
Wed, 1 Feb 2017 21:31:28 +0000
(08:31 +1100)
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_atom_shader.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_atom_shader.c
b/src/mesa/state_tracker/st_atom_shader.c
index
8c10ac9
..
f79afe0
100644
(file)
--- a/
src/mesa/state_tracker/st_atom_shader.c
+++ b/
src/mesa/state_tracker/st_atom_shader.c
@@
-132,13
+132,11
@@
update_fp( struct st_context *st )
_mesa_geometric_samples(st->ctx->DrawBuffer) > 1;
if (stfp->ati_fs) {
- unsigned u;
-
if (st->ctx->Fog.Enabled) {
key.fog = translate_fog_mode(st->ctx->Fog.Mode);
}
- for (u = 0; u < MAX_NUM_FRAGMENT_REGISTERS_ATI; u++) {
+ for (u
nsigned u
= 0; u < MAX_NUM_FRAGMENT_REGISTERS_ATI; u++) {
key.texture_targets[u] = get_texture_target(st->ctx, u);
}
}