mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 17:20:21 +01:00
st/mesa: st_atom_shader.c C99 tidy up
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
f3e2428a7a
commit
8d3d8a6d4e
1 changed files with 1 additions and 3 deletions
|
|
@ -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 (unsigned u = 0; u < MAX_NUM_FRAGMENT_REGISTERS_ATI; u++) {
|
||||
key.texture_targets[u] = get_texture_target(st->ctx, u);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue