Lines Matching defs:screen
56 .base.limit_trig_input_range = screen->driconf.limit_trig_input_range, \
156 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
174 screen->vtbl.fill_clamp_mask(ice->state.shaders[stage].samplers[s], s, key->gl_clamp_mask);
242 get_new_program_id(struct crocus_screen *screen)
244 return p_atomic_inc_return(&screen->program_id);
1076 struct crocus_screen *screen = (struct crocus_screen *) ice->ctx.screen;
1077 const struct brw_compiler *c = screen->compiler;
1115 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
1116 const struct intel_device_info *devinfo = &screen->devinfo;
1184 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
1185 const struct brw_compiler *compiler = screen->compiler;
1186 const struct intel_device_info *devinfo = &screen->devinfo;
1266 so_decls = screen->vtbl.create_so_decl_list(&ish->stream_output,
1276 crocus_disk_cache_store(screen->disk_cache, ish, shader,
1295 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
1296 const struct intel_device_info *devinfo = &screen->devinfo;
1302 screen->vtbl.populate_vs_key(ice, &ish->nir->info, last_vue_stage(ice), &key);
1404 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
1405 const struct brw_compiler *compiler = screen->compiler;
1413 const struct intel_device_info *devinfo = &screen->devinfo;
1503 crocus_disk_cache_store(screen->disk_cache, ish, shader,
1522 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
1523 const struct intel_device_info *devinfo = &screen->devinfo;
1541 screen->vtbl.populate_tcs_key(ice, &key);
1570 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
1571 const struct brw_compiler *compiler = screen->compiler;
1578 const struct intel_device_info *devinfo = &screen->devinfo;
1637 so_decls = screen->vtbl.create_so_decl_list(&ish->stream_output,
1647 crocus_disk_cache_store(screen->disk_cache, ish, shader,
1666 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
1668 const struct intel_device_info *devinfo = &screen->devinfo;
1674 screen->vtbl.populate_tes_key(ice, &ish->nir->info, last_vue_stage(ice), &key);
1710 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
1711 const struct brw_compiler *compiler = screen->compiler;
1712 const struct intel_device_info *devinfo = &screen->devinfo;
1778 so_decls = screen->vtbl.create_so_decl_list(&ish->stream_output,
1788 crocus_disk_cache_store(screen->disk_cache, ish, shader,
1811 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
1812 const struct intel_device_info *devinfo = &screen->devinfo;
1818 screen->vtbl.populate_gs_key(ice, &ish->nir->info, last_vue_stage(ice), &key);
1848 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
1849 const struct brw_compiler *compiler = screen->compiler;
1855 const struct intel_device_info *devinfo = &screen->devinfo;
1920 crocus_disk_cache_store(screen->disk_cache, ish, shader,
1936 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
1937 const struct intel_device_info *devinfo = &screen->devinfo;
1946 screen->vtbl.populate_fs_key(ice, &ish->nir->info, &key);
1992 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
1993 const struct intel_device_info *devinfo = &screen->devinfo;
2070 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
2071 const struct brw_compiler *compiler = screen->compiler;
2101 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
2123 if (screen->devinfo.ver == 5)
2224 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
2225 const struct brw_compiler *compiler = screen->compiler;
2317 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
2318 struct brw_compiler *compiler = screen->compiler;
2338 if (screen->devinfo.ver == 6) {
2357 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
2358 const struct intel_device_info *devinfo = &screen->devinfo;
2367 key.primitive = screen->vtbl.translate_prim_type(ice->state.prim_mode, 0);
2425 struct crocus_screen *screen = (void *) ice->ctx.screen;
2497 screen->vtbl.update_so_strides(ice, ish->stream_output.stride);
2504 if (screen->devinfo.ver <= 6) {
2510 if (screen->devinfo.ver < 6) {
2545 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
2546 const struct brw_compiler *compiler = screen->compiler;
2552 const struct intel_device_info *devinfo = &screen->devinfo;
2595 crocus_disk_cache_store(screen->disk_cache, ish, shader,
2609 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
2610 const struct intel_device_info *devinfo = &screen->devinfo;
2616 screen->vtbl.populate_cs_key(ice, &key);
2668 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
2669 struct crocus_bufmgr *bufmgr = screen->bufmgr;
2670 const struct intel_device_info *devinfo = &screen->devinfo;
2701 struct crocus_screen *screen = (struct crocus_screen *)ctx->screen;
2702 const struct intel_device_info *devinfo = &screen->devinfo;
2713 brw_preprocess_nir(screen->compiler, nir, NULL);
2720 ish->program_id = get_new_program_id(screen);
2727 if (screen->disk_cache) {
2750 nir = tgsi_to_nir(state->tokens, ctx->screen, false);
2762 struct crocus_screen *screen = (void *) ctx->screen;
2768 screen->devinfo.ver <= 5)
2771 if (screen->devinfo.verx10 < 75)
2774 if (screen->precompile) {
2789 struct crocus_screen *screen = (void *) ctx->screen;
2794 if (screen->precompile) {
2819 struct crocus_screen *screen = (void *) ctx->screen;
2828 if (screen->precompile) {
2848 struct crocus_screen *screen = (void *) ctx->screen;
2856 if (screen->precompile) {
2871 struct crocus_screen *screen = (void *) ctx->screen;
2882 if (screen->devinfo.ver < 6 || util_bitcount64(ish->nir->info.inputs_read &
2887 if (screen->precompile) {
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,
2926 struct crocus_screen *screen = (void *) ctx->screen;
2933 if (screen->precompile) {
3045 struct crocus_screen *screen = (struct crocus_screen *)ice->ctx.screen;
3046 const struct intel_device_info *devinfo = &screen->devinfo;
3100 struct crocus_screen *screen = (struct crocus_screen *) ctx->screen;
3101 const struct intel_device_info *devinfo = &screen->devinfo;