diff options
author | Anuj Phogat <[email protected]> | 2017-05-16 10:15:17 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2017-06-09 16:02:59 -0700 |
commit | 111881abac0dda73a20e491a219a1d7db6512f82 (patch) | |
tree | 6e36fc165748c62986ca425917065172f7bed400 /src/mesa/drivers/dri/i965/brw_blorp.c | |
parent | 30e749c8f1cae530fbb7d24e1c5e7097f7cd1821 (diff) |
i965/cnl: Handle gen10 in switch cases across the driver
V2: Start using gen10 functions isl_gen10*(), gen10_blorp_exec()
gen10_init_atoms() (Jason)
Remove Vulkan changes. Do them later in a separate patch.
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_blorp.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_blorp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_blorp.c b/src/mesa/drivers/dri/i965/brw_blorp.c index d14050c3334..70aecfba19b 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.c +++ b/src/mesa/drivers/dri/i965/brw_blorp.c @@ -109,6 +109,12 @@ brw_blorp_init(struct brw_context *brw) brw->blorp.mocs.vb = SKL_MOCS_WB; brw->blorp.exec = gen9_blorp_exec; break; + case 10: + brw->blorp.mocs.tex = SKL_MOCS_WB; + brw->blorp.mocs.rb = SKL_MOCS_PTE; + brw->blorp.mocs.vb = SKL_MOCS_WB; + brw->blorp.exec = gen10_blorp_exec; + break; default: unreachable("Invalid gen"); } |