diff options
author | Jason Ekstrand <[email protected]> | 2016-09-12 15:50:04 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-09-14 17:51:16 -0700 |
commit | b56f509ee0d6fcf85eb01aecfdcc66fb784fee97 (patch) | |
tree | 8ad60e423defef31ec882bbbb584091807b0af01 /src/mesa/drivers/dri | |
parent | c779ad3e6613bf318a1cb006a65c45cf7054ac63 (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.c | 13 |
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) |