[Mesa-dev] [PATCH 1/3] i965/gen8: Remove unused gen8_emit_3dstate_multisample()
Kenneth Graunke
kenneth at whitecape.org
Thu Sep 14 23:16:59 UTC 2017
On Monday, September 11, 2017 5:48:24 AM PDT Topi Pohjolainen wrote:
> Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
> ---
> src/mesa/drivers/dri/i965/brw_context.h | 1 -
> src/mesa/drivers/dri/i965/gen8_multisample_state.c | 16 ----------------
> 2 files changed, 17 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
> index 92fc16de13..bd56ffc819 100644
> --- a/src/mesa/drivers/dri/i965/brw_context.h
> +++ b/src/mesa/drivers/dri/i965/brw_context.h
> @@ -1510,7 +1510,6 @@ void
> gen6_set_sample_maps(struct gl_context *ctx);
>
> /* gen8_multisample_state.c */
> -void gen8_emit_3dstate_multisample(struct brw_context *brw, unsigned num_samp);
> void gen8_emit_3dstate_sample_pattern(struct brw_context *brw);
>
> /* gen7_urb.c */
> diff --git a/src/mesa/drivers/dri/i965/gen8_multisample_state.c b/src/mesa/drivers/dri/i965/gen8_multisample_state.c
> index 7a31a5df4a..3afa586275 100644
> --- a/src/mesa/drivers/dri/i965/gen8_multisample_state.c
> +++ b/src/mesa/drivers/dri/i965/gen8_multisample_state.c
> @@ -28,22 +28,6 @@
> #include "brw_multisample_state.h"
>
> /**
> - * 3DSTATE_MULTISAMPLE
> - */
> -void
> -gen8_emit_3dstate_multisample(struct brw_context *brw, unsigned num_samples)
> -{
> - assert(num_samples <= 16);
> -
> - unsigned log2_samples = ffs(MAX2(num_samples, 1)) - 1;
> -
> - BEGIN_BATCH(2);
> - OUT_BATCH(GEN8_3DSTATE_MULTISAMPLE << 16 | (2 - 2));
> - OUT_BATCH(MS_PIXEL_LOCATION_CENTER | log2_samples << 1);
> - ADVANCE_BATCH();
> -}
> -
> -/**
> * 3DSTATE_SAMPLE_PATTERN
> */
> void
>
Acked-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170914/2f18b65a/attachment-0001.sig>
More information about the mesa-dev
mailing list