diff options
author | Zack Rusin <[email protected]> | 2010-07-06 13:27:31 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2010-07-06 13:29:04 -0400 |
commit | 99c8d9b6dac55263b3f0ddce939173ec9a16cf80 (patch) | |
tree | c107706b5ab90b0d7a06de125f7418ff6f10c85a /src/gallium/drivers/llvmpipe/lp_context.h | |
parent | ca88683459016d2cdc82175c718ee429e9440cf0 (diff) |
llvmpipe: disconnect vertex texture sampling from the setup
it was wrong to put this in the fs paths, but it was easier to just
stuff it along the fragment texture sampling paths. the patch
disconnects vertex texture sampling and just maps the textures
before the draw itself and unmaps them after.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_context.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_context.h b/src/gallium/drivers/llvmpipe/lp_context.h index 986e604ce7c..b2643ab33cd 100644 --- a/src/gallium/drivers/llvmpipe/lp_context.h +++ b/src/gallium/drivers/llvmpipe/lp_context.h @@ -83,6 +83,7 @@ struct llvmpipe_context { int so_count[PIPE_MAX_SO_BUFFERS]; int num_buffers; } so_target; + struct pipe_resource *mapped_vs_tex[PIPE_MAX_VERTEX_SAMPLERS]; unsigned num_samplers; unsigned num_fragment_sampler_views; |