mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
i965/gen8: Remove unused gen8_emit_3dstate_multisample()
Reviewed-by: Chad Versace <chadversary@chromium.org> Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
589457d97f
commit
a6ab632ef7
2 changed files with 0 additions and 17 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -27,22 +27,6 @@
|
|||
#include "brw_defines.h"
|
||||
#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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue