diff options
author | Marek Olšák <[email protected]> | 2014-03-16 03:45:27 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-04-10 20:50:16 +0200 |
commit | 38858207a11819a3c68f14b589c0779fb82152ff (patch) | |
tree | b67aba5d2ccef8c3173d81b88ef04531c54ba71d /src/mesa/state_tracker/st_context.h | |
parent | 26c41398cc47c0f72259a34406831443238b7ba9 (diff) |
gallium/u_gen_mipmap: rewrite using pipe->blit (v2)
This replaces u_gen_mipmap with an extremely simple implementation based
on pipe->blit. st/mesa is also cleaned up.
Pros:
- less code
- correct mipmap generation for NPOT 3D textures (u_blitter uses a better
formula)
- queries are not affected by mipmap generation if drivers disable them
v2: add "first_layer", "last_layer" parameters, drop "face"
v2.1: add format
v2.2: document the format parameter
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r-- | src/mesa/state_tracker/st_context.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h index 0e00dd4fab6..361a24b1d71 100644 --- a/src/mesa/state_tracker/st_context.h +++ b/src/mesa/state_tracker/st_context.h @@ -188,7 +188,6 @@ struct st_context void *passthrough_fs; /**< simple pass-through frag shader */ enum pipe_texture_target internal_target; - struct gen_mipmap_state *gen_mipmap; struct cso_context *cso_context; |