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:
@@ -46,7 +46,7 @@ static const bool debug = false;
|
||||
* replaced with a GRF source.
|
||||
*/
|
||||
static bool
|
||||
could_coissue(const struct gen_device_info *devinfo, const fs_inst *inst)
|
||||
could_coissue(const struct intel_device_info *devinfo, const fs_inst *inst)
|
||||
{
|
||||
if (devinfo->ver != 7)
|
||||
return false;
|
||||
@@ -73,7 +73,7 @@ could_coissue(const struct gen_device_info *devinfo, const fs_inst *inst)
|
||||
* Returns true for instructions that don't support immediate sources.
|
||||
*/
|
||||
static bool
|
||||
must_promote_imm(const struct gen_device_info *devinfo, const fs_inst *inst)
|
||||
must_promote_imm(const struct intel_device_info *devinfo, const fs_inst *inst)
|
||||
{
|
||||
switch (inst->opcode) {
|
||||
case SHADER_OPCODE_POW:
|
||||
@@ -211,7 +211,7 @@ compare(const void *_a, const void *_b)
|
||||
}
|
||||
|
||||
static bool
|
||||
get_constant_value(const struct gen_device_info *devinfo,
|
||||
get_constant_value(const struct intel_device_info *devinfo,
|
||||
const fs_inst *inst, uint32_t src_idx,
|
||||
void *out, brw_reg_type *out_type)
|
||||
{
|
||||
@@ -336,7 +336,7 @@ representable_as_hf(float f, uint16_t *hf)
|
||||
}
|
||||
|
||||
static bool
|
||||
represent_src_as_imm(const struct gen_device_info *devinfo,
|
||||
represent_src_as_imm(const struct intel_device_info *devinfo,
|
||||
fs_reg *src)
|
||||
{
|
||||
/* TODO - Fix the codepath below to use a bfloat16 immediate on XeHP,
|
||||
|
Reference in New Issue
Block a user