summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-09-12 15:50:04 -0700
committerJason Ekstrand <[email protected]>2016-09-14 17:51:16 -0700
commitb56f509ee0d6fcf85eb01aecfdcc66fb784fee97 (patch)
tree8ad60e423defef31ec882bbbb584091807b0af01 /src/mesa/drivers/dri
parentc779ad3e6613bf318a1cb006a65c45cf7054ac63 (diff)
intel/blorp: Emit 3DSTATE_MULTISAMPLE directly
Previously, we relied on a driver hook for 3DSTATE_MULTISAMPLE. However, now that Vulkan and GL use the same sample positions, we can set up 3DSTATE_MULTISAMPLE directly in blorp and delete the driver hook. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/genX_blorp_exec.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mesa/drivers/dri/i965/genX_blorp_exec.c b/src/mesa/drivers/dri/i965/genX_blorp_exec.c
index 47d509df2e1..8cd5a62bf09 100644
--- a/src/mesa/drivers/dri/i965/genX_blorp_exec.c
+++ b/src/mesa/drivers/dri/i965/genX_blorp_exec.c
@@ -162,19 +162,6 @@ blorp_emit_urb_config(struct blorp_batch *batch, unsigned vs_entry_size)
#endif
}
-static void
-blorp_emit_3dstate_multisample(struct blorp_batch *batch, unsigned samples)
-{
- assert(batch->blorp->driver_ctx == batch->driver_batch);
- struct brw_context *brw = batch->driver_batch;
-
-#if GEN_GEN >= 8
- gen8_emit_3dstate_multisample(brw, samples);
-#else
- gen6_emit_3dstate_multisample(brw, samples);
-#endif
-}
-
void
genX(blorp_exec)(struct blorp_batch *batch,
const struct blorp_params *params)