diff options
author | Topi Pohjolainen <[email protected]> | 2017-09-11 14:54:11 +0300 |
---|---|---|
committer | Topi Pohjolainen <[email protected]> | 2017-09-21 08:43:20 +0300 |
commit | a6ab632ef7c7d8a152b4c6cd4109c579db914abe (patch) | |
tree | 4fe45babee958f253233da20f4f1d504c3fc46d7 /src/mesa/drivers/dri | |
parent | 589457d97fa8e95f227e7179e9c89a01dff495a0 (diff) |
i965/gen8: Remove unused gen8_emit_3dstate_multisample()
Reviewed-by: Chad Versace <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Signed-off-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/gen8_multisample_state.c | 16 |
2 files changed, 0 insertions, 17 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index a46776f5dc8..e130fbf4041 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -1520,7 +1520,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 7a31a5df4a2..3afa5862757 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 |