intel: Rename gen_device prefix to intel_device
export SEARCH_PATH="src/intel src/gallium/drivers/iris src/mesa/drivers/dri/i965" grep -E "gen_device" -rIl $SEARCH_PATH | xargs sed -ie "s/gen_device/intel_device/g" Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10241>
This commit is contained in:
@@ -33,7 +33,7 @@ class dead_code_eliminate_test : public ::testing::Test {
|
||||
|
||||
public:
|
||||
struct brw_compiler *compiler;
|
||||
struct gen_device_info *devinfo;
|
||||
struct intel_device_info *devinfo;
|
||||
void *ctx;
|
||||
struct gl_shader_program *shader_prog;
|
||||
struct brw_vue_prog_data *prog_data;
|
||||
@@ -90,7 +90,7 @@ void dead_code_eliminate_test::SetUp()
|
||||
{
|
||||
ctx = ralloc_context(NULL);
|
||||
compiler = rzalloc(ctx, struct brw_compiler);
|
||||
devinfo = rzalloc(ctx, struct gen_device_info);
|
||||
devinfo = rzalloc(ctx, struct intel_device_info);
|
||||
compiler->devinfo = devinfo;
|
||||
|
||||
prog_data = ralloc(ctx, struct brw_vue_prog_data);
|
||||
|
||||
Reference in New Issue
Block a user