diff options
author | Nicolai Hähnle <[email protected]> | 2017-09-26 18:00:21 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-10-02 15:07:45 +0200 |
commit | 12f3155e28f335911d10aadabda03ec4f9bcbf16 (patch) | |
tree | 57d00df2f6c8983e5a5b61d2805842c0581b210a /src/gallium/drivers/radeonsi/si_state_viewport.c | |
parent | 7bbcb6ac6cf3e09da4387bf9c658c3aa1270db9a (diff) |
radeonsi: simplify the signature of si_update_vs_writes_viewport_index
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state_viewport.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state_viewport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_viewport.c b/src/gallium/drivers/radeonsi/si_state_viewport.c index eb4c00a24de..8e08a61f2f6 100644 --- a/src/gallium/drivers/radeonsi/si_state_viewport.c +++ b/src/gallium/drivers/radeonsi/si_state_viewport.c @@ -389,9 +389,9 @@ void si_viewport_set_rast_deps(struct si_context *ctx, * is delayed. When a shader with VIEWPORT_INDEX appears, this should be * called to emit the rest. */ -void si_update_vs_writes_viewport_index(struct si_context *ctx, - struct tgsi_shader_info *info) +void si_update_vs_writes_viewport_index(struct si_context *ctx) { + struct tgsi_shader_info *info = si_get_vs_info(ctx); bool vs_window_space; if (!info) |