summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_sampler_view.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-08-25 18:01:57 -0600
committerBrian Paul <[email protected]>2016-08-26 14:20:19 -0600
commitff500ed5a1287eadc06fc19661f0aad8767b664d (patch)
treef511a8fd4074d6b49970086f982d3ed2223c7592 /src/gallium/drivers/svga/svga_sampler_view.h
parentd3d20d650dcf9916691e5e8bc4ef8bca3b2ce2ed (diff)
svga: add new svga_check_sampler_framebuffer_resource_collision()
Reviewed-by: Neha Bhende <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_sampler_view.h')
-rw-r--r--src/gallium/drivers/svga/svga_sampler_view.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_sampler_view.h b/src/gallium/drivers/svga/svga_sampler_view.h
index 15f2313c4c9..b36f089263a 100644
--- a/src/gallium/drivers/svga/svga_sampler_view.h
+++ b/src/gallium/drivers/svga/svga_sampler_view.h
@@ -104,6 +104,10 @@ svga_check_sampler_view_resource_collision(struct svga_context *svga,
struct svga_winsys_surface *res,
unsigned shader);
+boolean
+svga_check_sampler_framebuffer_resource_collision(struct svga_context *svga,
+ enum pipe_shader_type shader);
+
enum pipe_error
svga_validate_pipe_sampler_view(struct svga_context *svga,
struct svga_pipe_sampler_view *sv);