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/intel/isl/isl.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/intel/isl/isl.c')
-rw-r--r-- | src/intel/isl/isl.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c index 60a594394b9..860fc28b274 100644 --- a/src/intel/isl/isl.c +++ b/src/intel/isl/isl.c @@ -1778,6 +1778,9 @@ isl_surf_fill_state_s(const struct isl_device *dev, void *state, case 9: isl_gen9_surf_fill_state_s(dev, state, info); break; + case 10: + isl_gen10_surf_fill_state_s(dev, state, info); + break; default: assert(!"Cannot fill surface state for this gen"); } @@ -1809,6 +1812,9 @@ isl_buffer_fill_state_s(const struct isl_device *dev, void *state, case 9: isl_gen9_buffer_fill_state_s(state, info); break; + case 10: + isl_gen10_buffer_fill_state_s(state, info); + break; default: assert(!"Cannot fill surface state for this gen"); } @@ -1876,6 +1882,9 @@ isl_emit_depth_stencil_hiz_s(const struct isl_device *dev, void *batch, case 9: isl_gen9_emit_depth_stencil_hiz_s(dev, batch, info); break; + case 10: + isl_gen10_emit_depth_stencil_hiz_s(dev, batch, info); + break; default: assert(!"Cannot fill surface state for this gen"); } |