aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-01-31 17:17:05 +0100
committerMarek Olšák <[email protected]>2015-02-04 14:34:13 +0100
commitf2328ffdc80d0ea817b2f3f802dae6b2210fbfe2 (patch)
treee439e8f620b0bfb73cf98ae09f1f339d34905dd9 /src/gallium/drivers
parentccbe15f3325d7a6d04d0ea18227a08f53decec16 (diff)
tgsi: add tgsi_get_processor_type helper from radeon
Reviewed-by: Glenn Kennard <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeon/r600_pipe_common.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c
index ddb4142d18f..ee4cda796c9 100644
--- a/src/gallium/drivers/radeon/r600_pipe_common.c
+++ b/src/gallium/drivers/radeon/r600_pipe_common.c
@@ -883,17 +883,6 @@ void r600_destroy_common_screen(struct r600_common_screen *rscreen)
FREE(rscreen);
}
-static unsigned tgsi_get_processor_type(const struct tgsi_token *tokens)
-{
- struct tgsi_parse_context parse;
-
- if (tgsi_parse_init( &parse, tokens ) != TGSI_PARSE_OK) {
- debug_printf("tgsi_parse_init() failed in %s:%i!\n", __func__, __LINE__);
- return ~0;
- }
- return parse.FullHeader.Processor.Processor;
-}
-
bool r600_can_dump_shader(struct r600_common_screen *rscreen,
const struct tgsi_token *tokens)
{