diff options
author | Rob Clark <[email protected]> | 2014-02-21 14:36:11 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2014-02-23 14:58:23 -0500 |
commit | bb255fdf06caa7fcf9af7c65524beb28a3a4faf5 (patch) | |
tree | b3967396f05f0ff78b3c5702961ddf0b647a58e7 /src/gallium/drivers/freedreno/freedreno_context.c | |
parent | 1c953b7cda8169c1132259d83efff4df7afbf74a (diff) |
freedreno/a3xx: drop hand-coded blit/solid shaders
Instead in the common code, construct these shaders from TGSI. For now
we let a2xx keep it's hand coded shaders, as it's compiler isn't quite
up to the job yet. All the same it is a net drop in code size and gets
rid of special cases.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_context.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_context.c b/src/gallium/drivers/freedreno/freedreno_context.c index 5e2e7113b2f..a8fe3111c3d 100644 --- a/src/gallium/drivers/freedreno/freedreno_context.c +++ b/src/gallium/drivers/freedreno/freedreno_context.c @@ -28,6 +28,7 @@ #include "freedreno_context.h" #include "freedreno_draw.h" +#include "freedreno_program.h" #include "freedreno_resource.h" #include "freedreno_texture.h" #include "freedreno_state.h" @@ -143,6 +144,8 @@ fd_context_destroy(struct pipe_context *pctx) DBG(""); + fd_prog_fini(pctx); + util_slab_destroy(&ctx->transfer_pool); util_dynarray_fini(&ctx->draw_patches); |