diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-08-14 09:45:54 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-08-14 09:45:54 +0000 |
commit | 4c58069f5013f0a621503525f7d5193bfe9976b3 (patch) | |
tree | bd8f8a08b889e9a8b99c9de01ae12459d527ea6d /lib/mesa/src/gallium/auxiliary/draw/draw_context.h | |
parent | 5caa025e6b62d0456faad86c89f239a14d1eaadb (diff) |
Import Mesa 17.1.6
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/draw/draw_context.h')
-rw-r--r-- | lib/mesa/src/gallium/auxiliary/draw/draw_context.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/draw/draw_context.h b/lib/mesa/src/gallium/auxiliary/draw/draw_context.h index 145fc2ed4..d8a1470e9 100644 --- a/lib/mesa/src/gallium/auxiliary/draw/draw_context.h +++ b/lib/mesa/src/gallium/auxiliary/draw/draw_context.h @@ -152,17 +152,17 @@ draw_total_gs_outputs(const struct draw_context *draw); void draw_texture_sampler(struct draw_context *draw, - uint shader_type, + enum pipe_shader_type shader_type, struct tgsi_sampler *sampler); void draw_image(struct draw_context *draw, - uint shader_type, + enum pipe_shader_type shader_type, struct tgsi_image *image); void draw_buffer(struct draw_context *draw, - uint shader_type, + enum pipe_shader_type shader_type, struct tgsi_buffer *buffer); void @@ -178,7 +178,7 @@ draw_set_samplers(struct draw_context *draw, void draw_set_mapped_texture(struct draw_context *draw, - unsigned shader_stage, + enum pipe_shader_type shader_stage, unsigned sview_idx, uint32_t width, uint32_t height, uint32_t depth, uint32_t first_level, uint32_t last_level, @@ -249,7 +249,7 @@ void draw_set_mapped_vertex_buffer(struct draw_context *draw, void draw_set_mapped_constant_buffer(struct draw_context *draw, - unsigned shader_type, + enum pipe_shader_type shader_type, unsigned slot, const void *buffer, unsigned size); @@ -299,10 +299,11 @@ boolean draw_need_pipeline(const struct draw_context *draw, unsigned prim ); int -draw_get_shader_param(unsigned shader, enum pipe_shader_cap param); +draw_get_shader_param(enum pipe_shader_type shader, enum pipe_shader_cap param); int -draw_get_shader_param_no_llvm(unsigned shader, enum pipe_shader_cap param); +draw_get_shader_param_no_llvm(enum pipe_shader_type shader, + enum pipe_shader_cap param); boolean draw_get_option_use_llvm(void); |