From 1621b33d73894e7c0c3e2b7252adfcd107d7ebd5 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Fri, 9 Jun 2017 17:15:07 +0200 Subject: radeonsi: remove 8 bytes from si_shader_key by flattening opt.hw_vs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/radeonsi/si_state.c') diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index a8255f2fe72..27a88a8cef5 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -695,7 +695,7 @@ static void si_emit_clip_regs(struct si_context *sctx, struct r600_atom *atom) unsigned culldist_mask = vs_sel->culldist_mask; unsigned total_mask; - if (vs->key.opt.hw_vs.clip_disable) { + if (vs->key.opt.clip_disable) { assert(!info->culldist_writemask); clipdist_mask = 0; culldist_mask = 0; -- cgit v1.2.3