diff options
author | Marek Olšák <[email protected]> | 2016-04-16 14:48:34 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-04-22 01:30:39 +0200 |
commit | c9e5a7df61d92aa5525dcc825bc3c6cb3a60f96b (patch) | |
tree | a33131633a962069528e19885232f0ae57cee07a /src/gallium/auxiliary/tgsi/tgsi_ureg.c | |
parent | af249a7da9bf2621ab836d5074ef692677b11bbf (diff) |
gallium: remove helpers converting to/from TGSI_PROCESSOR_*
Acked-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_ureg.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_ureg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c index 17b39e20ed8..7ed9bd6c608 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c @@ -2090,8 +2090,7 @@ ureg_create_with_screen(unsigned processor, struct pipe_screen *screen) ureg->processor = processor; ureg->supports_any_inout_decl_range = screen && - screen->get_shader_param(screen, - util_pipe_shader_from_tgsi_processor(processor), + screen->get_shader_param(screen, processor, PIPE_SHADER_CAP_TGSI_ANY_INOUT_DECL_RANGE) != 0; ureg->next_shader_processor = -1; |