diff options
author | Jason Ekstrand <[email protected]> | 2016-08-22 15:01:08 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-09-03 08:23:06 -0700 |
commit | 527f37199929932300acc1688d8160e1f3b1d753 (patch) | |
tree | 8898917626d3a19f5a2c338e3320ab68150b70ff /src/intel/isl | |
parent | 55364ab5b7136e09a61d858f1167dee81e17bd9f (diff) |
intel: s/brw_device_info/gen_device_info/
Generated by:
sed -i -e 's/brw_device_info/gen_device_info/g' src/intel/**/*.c
sed -i -e 's/brw_device_info/gen_device_info/g' src/intel/**/*.h
sed -i -e 's/brw_device_info/gen_device_info/g' **/i965/*.c
sed -i -e 's/brw_device_info/gen_device_info/g' **/i965/*.cpp
sed -i -e 's/brw_device_info/gen_device_info/g' **/i965/*.h
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/intel/isl')
-rw-r--r-- | src/intel/isl/isl.c | 2 | ||||
-rw-r--r-- | src/intel/isl/isl.h | 22 | ||||
-rw-r--r-- | src/intel/isl/isl_format.c | 16 | ||||
-rw-r--r-- | src/intel/isl/isl_priv.h | 2 | ||||
-rw-r--r-- | src/intel/isl/isl_storage_image.c | 4 | ||||
-rw-r--r-- | src/intel/isl/tests/isl_surf_get_image_offset_test.c | 2 |
6 files changed, 24 insertions, 24 deletions
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c index 0487515d1d6..c7639d0164e 100644 --- a/src/intel/isl/isl.c +++ b/src/intel/isl/isl.c @@ -48,7 +48,7 @@ __isl_finishme(const char *file, int line, const char *fmt, ...) void isl_device_init(struct isl_device *dev, - const struct brw_device_info *info, + const struct gen_device_info *info, bool has_bit6_swizzling) { dev->info = info; diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h index 5e56f28545e..bb20d1772d1 100644 --- a/src/intel/isl/isl.h +++ b/src/intel/isl/isl.h @@ -48,7 +48,7 @@ extern "C" { #endif -struct brw_device_info; +struct gen_device_info; struct brw_image_param; #ifndef ISL_DEV_GEN @@ -667,7 +667,7 @@ enum isl_msaa_layout { struct isl_device { - const struct brw_device_info *info; + const struct gen_device_info *info; bool use_separate_stencil; bool has_bit6_swizzling; }; @@ -959,7 +959,7 @@ extern const struct isl_format_layout isl_format_layouts[]; void isl_device_init(struct isl_device *dev, - const struct brw_device_info *info, + const struct gen_device_info *info, bool has_bit6_swizzling); isl_sample_count_mask_t ATTRIBUTE_CONST @@ -977,17 +977,17 @@ isl_format_get_name(enum isl_format fmt) return isl_format_layouts[fmt].name; } -bool isl_format_supports_rendering(const struct brw_device_info *devinfo, +bool isl_format_supports_rendering(const struct gen_device_info *devinfo, enum isl_format format); -bool isl_format_supports_alpha_blending(const struct brw_device_info *devinfo, +bool isl_format_supports_alpha_blending(const struct gen_device_info *devinfo, enum isl_format format); -bool isl_format_supports_sampling(const struct brw_device_info *devinfo, +bool isl_format_supports_sampling(const struct gen_device_info *devinfo, enum isl_format format); -bool isl_format_supports_filtering(const struct brw_device_info *devinfo, +bool isl_format_supports_filtering(const struct gen_device_info *devinfo, enum isl_format format); -bool isl_format_supports_vertex_fetch(const struct brw_device_info *devinfo, +bool isl_format_supports_vertex_fetch(const struct gen_device_info *devinfo, enum isl_format format); -bool isl_format_supports_lossless_compression(const struct brw_device_info *devinfo, +bool isl_format_supports_lossless_compression(const struct gen_device_info *devinfo, enum isl_format format); bool isl_format_has_unorm_channel(enum isl_format fmt) ATTRIBUTE_CONST; @@ -1089,14 +1089,14 @@ enum isl_format isl_format_rgb_to_rgbx(enum isl_format rgb) ATTRIBUTE_CONST; bool isl_is_storage_image_format(enum isl_format fmt); enum isl_format -isl_lower_storage_image_format(const struct brw_device_info *devinfo, +isl_lower_storage_image_format(const struct gen_device_info *devinfo, enum isl_format fmt); /* Returns true if this hardware supports typed load/store on a format with * the same size as the given format. */ bool -isl_has_matching_typed_storage_image_format(const struct brw_device_info *devinfo, +isl_has_matching_typed_storage_image_format(const struct gen_device_info *devinfo, enum isl_format fmt); static inline bool diff --git a/src/intel/isl/isl_format.c b/src/intel/isl/isl_format.c index c41a0bfcced..2804463b127 100644 --- a/src/intel/isl/isl_format.c +++ b/src/intel/isl/isl_format.c @@ -24,7 +24,7 @@ #include <assert.h> #include "isl.h" -#include "common/brw_device_info.h" +#include "common/gen_device_info.h" struct surface_format_info { bool exists; @@ -340,13 +340,13 @@ static const struct surface_format_info format_info[] = { #undef Y static unsigned -format_gen(const struct brw_device_info *devinfo) +format_gen(const struct gen_device_info *devinfo) { return devinfo->gen * 10 + (devinfo->is_g4x || devinfo->is_haswell) * 5; } bool -isl_format_supports_rendering(const struct brw_device_info *devinfo, +isl_format_supports_rendering(const struct gen_device_info *devinfo, enum isl_format format) { if (!format_info[format].exists) @@ -356,7 +356,7 @@ isl_format_supports_rendering(const struct brw_device_info *devinfo, } bool -isl_format_supports_alpha_blending(const struct brw_device_info *devinfo, +isl_format_supports_alpha_blending(const struct gen_device_info *devinfo, enum isl_format format) { if (!format_info[format].exists) @@ -366,7 +366,7 @@ isl_format_supports_alpha_blending(const struct brw_device_info *devinfo, } bool -isl_format_supports_sampling(const struct brw_device_info *devinfo, +isl_format_supports_sampling(const struct gen_device_info *devinfo, enum isl_format format) { if (!format_info[format].exists) @@ -385,7 +385,7 @@ isl_format_supports_sampling(const struct brw_device_info *devinfo, } bool -isl_format_supports_filtering(const struct brw_device_info *devinfo, +isl_format_supports_filtering(const struct gen_device_info *devinfo, enum isl_format format) { if (!format_info[format].exists) @@ -404,7 +404,7 @@ isl_format_supports_filtering(const struct brw_device_info *devinfo, } bool -isl_format_supports_vertex_fetch(const struct brw_device_info *devinfo, +isl_format_supports_vertex_fetch(const struct gen_device_info *devinfo, enum isl_format format) { if (!format_info[format].exists) @@ -420,7 +420,7 @@ isl_format_supports_vertex_fetch(const struct brw_device_info *devinfo, } bool -isl_format_supports_lossless_compression(const struct brw_device_info *devinfo, +isl_format_supports_lossless_compression(const struct gen_device_info *devinfo, enum isl_format format) { if (!format_info[format].exists) diff --git a/src/intel/isl/isl_priv.h b/src/intel/isl/isl_priv.h index 0c2ac2553fb..b539f10638d 100644 --- a/src/intel/isl/isl_priv.h +++ b/src/intel/isl/isl_priv.h @@ -26,7 +26,7 @@ #include <assert.h> #include <strings.h> -#include "common/brw_device_info.h" +#include "common/gen_device_info.h" #include "util/macros.h" #include "isl.h" diff --git a/src/intel/isl/isl_storage_image.c b/src/intel/isl/isl_storage_image.c index 01d388180d6..ffd03e4ad01 100644 --- a/src/intel/isl/isl_storage_image.c +++ b/src/intel/isl/isl_storage_image.c @@ -76,7 +76,7 @@ isl_is_storage_image_format(enum isl_format format) } enum isl_format -isl_lower_storage_image_format(const struct brw_device_info *devinfo, +isl_lower_storage_image_format(const struct gen_device_info *devinfo, enum isl_format format) { switch (format) { @@ -188,7 +188,7 @@ isl_lower_storage_image_format(const struct brw_device_info *devinfo, } bool -isl_has_matching_typed_storage_image_format(const struct brw_device_info *devinfo, +isl_has_matching_typed_storage_image_format(const struct gen_device_info *devinfo, enum isl_format fmt) { if (devinfo->gen >= 9) { diff --git a/src/intel/isl/tests/isl_surf_get_image_offset_test.c b/src/intel/isl/tests/isl_surf_get_image_offset_test.c index 0c9173deab4..8c44b37dc06 100644 --- a/src/intel/isl/tests/isl_surf_get_image_offset_test.c +++ b/src/intel/isl/tests/isl_surf_get_image_offset_test.c @@ -26,7 +26,7 @@ #include <stdio.h> #include <stdlib.h> -#include "common/brw_device_info.h" +#include "common/gen_device_info.h" #include "isl/isl.h" #include "isl/isl_priv.h" |