diff options
author | Nicolai Hähnle <[email protected]> | 2017-09-26 17:56:15 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-10-02 15:07:45 +0200 |
commit | 6b416ec3d665fb1e10fafad44fbd8f9cec661a68 (patch) | |
tree | 873ef5fbf8d1016537c9be07cf5c2e3801967828 /src/gallium/drivers/radeonsi/si_pipe.c | |
parent | 449ac258d1b1d14fbb003b0140d4e4692777b05e (diff) |
radeonsi: move and rename scissor and viewport state and functions
v2: change GET_MAX_SCISSOR to SI_MAX_SCISSOR
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 954f9ff063f..33f5adbd3ad 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -230,6 +230,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, si_init_all_descriptors(sctx); si_init_state_functions(sctx); si_init_shader_functions(sctx); + si_init_viewport_functions(sctx); si_init_ia_multi_vgt_param_table(sctx); if (sctx->b.chip_class >= CIK) @@ -620,7 +621,7 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param) /* Viewports and render targets. */ case PIPE_CAP_MAX_VIEWPORTS: - return R600_MAX_VIEWPORTS; + return SI_MAX_VIEWPORTS; case PIPE_CAP_VIEWPORT_SUBPIXEL_BITS: case PIPE_CAP_MAX_RENDER_TARGETS: return 8; |