Lines Matching defs:devinfo
81 static inline bool can_push_ubo(const struct intel_device_info *devinfo)
84 return devinfo->ver != 6;
150 const struct intel_device_info *devinfo,
170 if (devinfo->verx10 < 75) {
177 if (devinfo->ver == 7 && uses_texture_gather) {
205 if (devinfo->verx10 < 75)
212 if (devinfo->ver == 6 && uses_texture_gather) {
449 UNUSED const struct intel_device_info *devinfo = compiler->devinfo;
542 assert(devinfo->ver < 9);
803 crocus_setup_binding_table(const struct intel_device_info *devinfo,
827 if (devinfo->ver >= 6 && info->outputs_read) {
838 if (devinfo->ver == 6) {
847 if (info->uses_texture_gather && devinfo->ver < 8) {
884 if (devinfo->ver >= 6) {
974 bool is_gather = devinfo->ver < 8 && tex->op == nir_texop_tg4;
978 if (devinfo->verx10 == 70) {
984 if (is_gather && devinfo->ver == 6 && key->gfx6_gather_wa[tex->texture_index]) {
1039 if (devinfo->ver >= 6) {
1116 const struct intel_device_info *devinfo = &screen->devinfo;
1119 if (devinfo->ver < 6) {
1186 const struct intel_device_info *devinfo = &screen->devinfo;
1218 if (devinfo->ver <= 5 &&
1223 crocus_setup_binding_table(devinfo, nir, &bt, /* num_render_targets */ 0,
1226 if (can_push_ubo(devinfo))
1231 brw_compute_vue_map(devinfo,
1247 .edgeflag_is_last = devinfo->ver < 6,
1265 if (devinfo->ver > 6)
1296 const struct intel_device_info *devinfo = &screen->devinfo;
1300 crocus_populate_sampler_prog_key_data(ice, devinfo, MESA_SHADER_VERTEX, ish,
1316 if (devinfo->ver == 8)
1413 const struct intel_device_info *devinfo = &screen->devinfo;
1429 crocus_setup_binding_table(devinfo, nir, &bt, /* num_render_targets */ 0,
1431 if (can_push_ubo(devinfo))
1523 const struct intel_device_info *devinfo = &screen->devinfo;
1537 crocus_populate_sampler_prog_key_data(ice, devinfo, MESA_SHADER_TESS_CTRL, tcs,
1578 const struct intel_device_info *devinfo = &screen->devinfo;
1601 crocus_setup_binding_table(devinfo, nir, &bt, /* num_render_targets */ 0,
1604 if (can_push_ubo(devinfo))
1636 if (devinfo->ver > 6)
1668 const struct intel_device_info *devinfo = &screen->devinfo;
1671 crocus_populate_sampler_prog_key_data(ice, devinfo, MESA_SHADER_TESS_EVAL, ish,
1712 const struct intel_device_info *devinfo = &screen->devinfo;
1741 crocus_setup_binding_table(devinfo, nir, &bt, /* num_render_targets */ 0,
1744 if (can_push_ubo(devinfo))
1747 brw_compute_vue_map(devinfo,
1751 if (devinfo->ver == 6)
1777 if (devinfo->ver > 6)
1812 const struct intel_device_info *devinfo = &screen->devinfo;
1816 crocus_populate_sampler_prog_key_data(ice, devinfo, MESA_SHADER_GEOMETRY, ish,
1855 const struct intel_device_info *devinfo = &screen->devinfo;
1878 crocus_setup_binding_table(devinfo, nir, &bt,
1883 if (can_push_ubo(devinfo))
1937 const struct intel_device_info *devinfo = &screen->devinfo;
1944 crocus_populate_sampler_prog_key_data(ice, devinfo, MESA_SHADER_FRAGMENT, ish,
1967 if (devinfo->ver < 6)
1971 if (devinfo->ver == 6)
1973 if (devinfo->ver >= 7)
1993 const struct intel_device_info *devinfo = &screen->devinfo;
2005 if (devinfo->ver < 6)
2008 if (devinfo->ver <= 6)
2011 if (devinfo->ver >= 6)
2020 if (devinfo->ver < 6)
2123 if (screen->devinfo.ver == 5)
2338 if (screen->devinfo.ver == 6) {
2358 const struct intel_device_info *devinfo = &screen->devinfo;
2363 assert(devinfo->ver < 7);
2379 if (devinfo->ver >= 6) {
2504 if (screen->devinfo.ver <= 6) {
2510 if (screen->devinfo.ver < 6) {
2552 const struct intel_device_info *devinfo = &screen->devinfo;
2564 crocus_setup_binding_table(devinfo, nir, &bt, /* num_render_targets */ 0,
2610 const struct intel_device_info *devinfo = &screen->devinfo;
2614 crocus_populate_sampler_prog_key_data(ice, devinfo, MESA_SHADER_COMPUTE, ish,
2670 const struct intel_device_info *devinfo = &screen->devinfo;
2678 assert(stage < ARRAY_SIZE(devinfo->max_scratch_ids));
2679 uint32_t size = per_thread_scratch * devinfo->max_scratch_ids[stage];
2702 const struct intel_device_info *devinfo = &screen->devinfo;
2708 if (devinfo->ver >= 6)
2715 NIR_PASS_V(nir, brw_nir_lower_storage_image, devinfo);
2768 screen->devinfo.ver <= 5)
2771 if (screen->devinfo.verx10 < 75)
2882 if (screen->devinfo.ver < 6 || util_bitcount64(ish->nir->info.inputs_read &
2894 screen->devinfo.ver > 6 && util_bitcount64(info->inputs_read & BRW_FS_VARYING_INPUT_MASK) <= 16;
2896 const struct intel_device_info *devinfo = &screen->devinfo;
2901 .ignore_sample_mask_out = screen->devinfo.ver < 6 ? 1 : 0,
2907 if (devinfo->ver < 6) {
2908 brw_compute_vue_map(devinfo, &vue_map,
3046 const struct intel_device_info *devinfo = &screen->devinfo;
3059 if (devinfo->ver == 6) {
3101 const struct intel_device_info *devinfo = &screen->devinfo;
3114 if (devinfo->ver == 8)
3120 if (devinfo->ver == 8)