diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2013-09-26 11:55:36 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2013-10-13 00:10:44 -0700 |
commit | 02b632d8e8f2b14c155740d28c276b5869305c60 (patch) | |
tree | f55bab9564970d1791dc5132331ac265acef4a89 /src/mesa/drivers/dri/i965/brw_device_info.c | |
parent | ea890c031ddc69abb6670ad9b769ef1eecd11e28 (diff) | |
download | external_mesa3d-02b632d8e8f2b14c155740d28c276b5869305c60.zip external_mesa3d-02b632d8e8f2b14c155740d28c276b5869305c60.tar.gz external_mesa3d-02b632d8e8f2b14c155740d28c276b5869305c60.tar.bz2 |
i965: Move hardware feature flags to brw_device_info.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_device_info.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_device_info.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_device_info.c b/src/mesa/drivers/dri/i965/brw_device_info.c index a215917..b472356 100644 --- a/src/mesa/drivers/dri/i965/brw_device_info.c +++ b/src/mesa/drivers/dri/i965/brw_device_info.c @@ -39,6 +39,8 @@ static const struct brw_device_info brw_device_info_i965 = { static const struct brw_device_info brw_device_info_g4x = { .gen = 4, + .has_pln = true, + .has_compr4 = true, .needs_unlit_centroid_workaround = true, .is_g4x = true, .max_vs_threads = 32, @@ -51,6 +53,9 @@ static const struct brw_device_info brw_device_info_g4x = { static const struct brw_device_info brw_device_info_ilk = { .gen = 5, + .has_pln = true, + .has_compr4 = true, + .has_surface_tile_offset = true, .needs_unlit_centroid_workaround = true, .max_vs_threads = 72, .max_gs_threads = 32, @@ -65,6 +70,8 @@ static const struct brw_device_info brw_device_info_snb_gt1 = { .gt = 2, .has_hiz_and_separate_stencil = true, .has_llc = true, + .has_pln = true, + .has_surface_tile_offset = true, .needs_unlit_centroid_workaround = true, .max_vs_threads = 24, .max_gs_threads = 21, /* conservative; 24 if rendering disabled. */ @@ -82,6 +89,8 @@ static const struct brw_device_info brw_device_info_snb_gt2 = { .gt = 2, .has_hiz_and_separate_stencil = true, .has_llc = true, + .has_pln = true, + .has_surface_tile_offset = true, .needs_unlit_centroid_workaround = true, .max_vs_threads = 60, .max_gs_threads = 60, @@ -99,6 +108,8 @@ static const struct brw_device_info brw_device_info_snb_gt2 = { .has_hiz_and_separate_stencil = true, \ .must_use_separate_stencil = true, \ .has_llc = true, \ + .has_pln = true, \ + .has_surface_tile_offset = true, \ .needs_unlit_centroid_workaround = true static const struct brw_device_info brw_device_info_ivb_gt1 = { |