aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/cso_cache/cso_context.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-06-10 23:23:56 +0200
committerMarek Olšák <[email protected]>2017-06-22 01:51:02 +0200
commit0e0fc1ce71317b759f88ce8fd04912f60f767015 (patch)
tree621f5fad9c9fe9eb8fdbb44fde168cf14e477b9f /src/gallium/auxiliary/cso_cache/cso_context.h
parent4d6fab245eec3880e2a59424a579851f44857ce8 (diff)
cso: don't return errors from sampler functions
No code checks the errors. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/cso_cache/cso_context.h')
-rw-r--r--src/gallium/auxiliary/cso_cache/cso_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.h b/src/gallium/auxiliary/cso_cache/cso_context.h
index c21e83849ef..190d0dc40f6 100644
--- a/src/gallium/auxiliary/cso_cache/cso_context.h
+++ b/src/gallium/auxiliary/cso_cache/cso_context.h
@@ -59,7 +59,7 @@ enum pipe_error cso_set_rasterizer( struct cso_context *cso,
const struct pipe_rasterizer_state *rasterizer );
-enum pipe_error
+void
cso_set_samplers(struct cso_context *cso,
enum pipe_shader_type shader_stage,
unsigned count,
@@ -69,7 +69,7 @@ cso_set_samplers(struct cso_context *cso,
/* Alternate interface to support state trackers that like to modify
* samplers one at a time:
*/
-enum pipe_error
+void
cso_single_sampler(struct cso_context *cso, enum pipe_shader_type shader_stage,
unsigned idx, const struct pipe_sampler_state *states);