diff options
Diffstat (limited to 'src/gallium/drivers/radeon/r600_viewport.c')
-rw-r--r-- | src/gallium/drivers/radeon/r600_viewport.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gallium/drivers/radeon/r600_viewport.c b/src/gallium/drivers/radeon/r600_viewport.c index 2de13820545..cf6d5f28ac0 100644 --- a/src/gallium/drivers/radeon/r600_viewport.c +++ b/src/gallium/drivers/radeon/r600_viewport.c @@ -115,8 +115,8 @@ static void r600_scissor_make_union(struct r600_signed_scissor *out, out->maxy = MAX2(out->maxy, in->maxy); } -void evergreen_apply_scissor_bug_workaround(struct r600_common_context *rctx, - struct pipe_scissor_state *scissor) +void si_apply_scissor_bug_workaround(struct r600_common_context *rctx, + struct pipe_scissor_state *scissor) { if (rctx->chip_class == EVERGREEN || rctx->chip_class == CAYMAN) { if (scissor->maxx == 0) @@ -147,7 +147,7 @@ static void r600_emit_one_scissor(struct r600_common_context *rctx, if (scissor) r600_clip_scissor(&final, scissor); - evergreen_apply_scissor_bug_workaround(rctx, &final); + si_apply_scissor_bug_workaround(rctx, &final); radeon_emit(cs, S_028250_TL_X(final.minx) | S_028250_TL_Y(final.miny) | @@ -368,8 +368,8 @@ static void r600_emit_viewport_states(struct r600_common_context *rctx, } /* Set viewport dependencies on pipe_rasterizer_state. */ -void r600_viewport_set_rast_deps(struct r600_common_context *rctx, - bool scissor_enable, bool clip_halfz) +void si_viewport_set_rast_deps(struct r600_common_context *rctx, + bool scissor_enable, bool clip_halfz) { if (rctx->scissor_enabled != scissor_enable) { rctx->scissor_enabled = scissor_enable; @@ -389,8 +389,8 @@ void r600_viewport_set_rast_deps(struct r600_common_context *rctx, * is delayed. When a shader with VIEWPORT_INDEX appears, this should be * called to emit the rest. */ -void r600_update_vs_writes_viewport_index(struct r600_common_context *rctx, - struct tgsi_shader_info *info) +void si_update_vs_writes_viewport_index(struct r600_common_context *rctx, + struct tgsi_shader_info *info) { bool vs_window_space; @@ -420,7 +420,7 @@ void r600_update_vs_writes_viewport_index(struct r600_common_context *rctx, rctx->set_atom_dirty(rctx, &rctx->viewports.atom, true); } -void r600_init_viewport_functions(struct r600_common_context *rctx) +void si_init_viewport_functions(struct r600_common_context *rctx) { rctx->scissors.atom.emit = r600_emit_scissors; rctx->viewports.atom.emit = r600_emit_viewport_states; |