diff options
author | Zack Rusin <[email protected]> | 2013-03-26 17:53:27 -0700 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2013-03-27 03:53:02 -0700 |
commit | d066133a7637864bde46b8118778c526826583a6 (patch) | |
tree | 96853c80ffec9a82804935c18ccd80df42d0af9e /src/gallium/drivers/llvmpipe/lp_state.h | |
parent | 186a6bffdd5792c78dab0be8f986c8c1b0a83db3 (diff) |
llvmpipe/draw: Fix texture sampling in geometry shaders
We weren't correctly propagating the samplers and sampler views
when they were related to geometry shaders.
Signed-off-by: Zack Rusin <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state.h b/src/gallium/drivers/llvmpipe/lp_state.h index 94a21a0158b..1f27d70415e 100644 --- a/src/gallium/drivers/llvmpipe/lp_state.h +++ b/src/gallium/drivers/llvmpipe/lp_state.h @@ -141,4 +141,12 @@ void llvmpipe_cleanup_vertex_sampling(struct llvmpipe_context *ctx); +void +llvmpipe_prepare_geometry_sampling(struct llvmpipe_context *ctx, + unsigned num, + struct pipe_sampler_view **views); +void +llvmpipe_cleanup_geometry_sampling(struct llvmpipe_context *ctx); + + #endif |