Home
last modified time | relevance | path

Searched refs:wm_key (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/intel/blorp/
Dblorp.c177 brw_blorp_init_wm_prog_key(struct brw_wm_prog_key *wm_key) in brw_blorp_init_wm_prog_key() argument
179 memset(wm_key, 0, sizeof(*wm_key)); in brw_blorp_init_wm_prog_key()
180 wm_key->nr_color_regions = 1; in brw_blorp_init_wm_prog_key()
182 wm_key->base.tex.swizzles[i] = SWIZZLE_XYZW; in brw_blorp_init_wm_prog_key()
188 struct brw_wm_prog_key *wm_key, in blorp_compile_fs() argument
214 wm_key->iz_lookup |= BRW_WM_IZ_PS_KILL_ALPHATEST_BIT; in blorp_compile_fs()
216 wm_key->input_slots_valid = nir->info.inputs_read | VARYING_BIT_POS; in blorp_compile_fs()
220 brw_compile_fs(compiler, blorp->driver_ctx, mem_ctx, wm_key, in blorp_compile_fs()
Dblorp_priv.h363 void brw_blorp_init_wm_prog_key(struct brw_wm_prog_key *wm_key);
370 struct brw_wm_prog_key *wm_key,
Dblorp_clear.c95 struct brw_wm_prog_key wm_key; in blorp_params_get_clear_kernel() local
96 brw_blorp_init_wm_prog_key(&wm_key); in blorp_params_get_clear_kernel()
100 blorp_compile_fs(blorp, mem_ctx, b.shader, &wm_key, use_replicated_data, in blorp_params_get_clear_kernel()
1183 struct brw_wm_prog_key wm_key; in blorp_params_get_mcs_partial_resolve_kernel() local
1184 brw_blorp_init_wm_prog_key(&wm_key); in blorp_params_get_mcs_partial_resolve_kernel()
1185 wm_key.base.tex.compressed_multisample_layout_mask = 1; in blorp_params_get_mcs_partial_resolve_kernel()
1186 wm_key.base.tex.msaa_16 = blorp_key.num_samples == 16; in blorp_params_get_mcs_partial_resolve_kernel()
1187 wm_key.multisample_fbo = true; in blorp_params_get_mcs_partial_resolve_kernel()
1191 blorp_compile_fs(blorp, mem_ctx, b.shader, &wm_key, false, in blorp_params_get_mcs_partial_resolve_kernel()
Dblorp_blit.c1498 struct brw_wm_prog_key wm_key; in brw_blorp_get_blit_kernel() local
1499 brw_blorp_init_wm_prog_key(&wm_key); in brw_blorp_get_blit_kernel()
1500 wm_key.base.tex.compressed_multisample_layout_mask = in brw_blorp_get_blit_kernel()
1502 wm_key.base.tex.msaa_16 = prog_key->tex_samples == 16; in brw_blorp_get_blit_kernel()
1503 wm_key.multisample_fbo = prog_key->rt_samples > 1; in brw_blorp_get_blit_kernel()
1505 program = blorp_compile_fs(blorp, mem_ctx, nir, &wm_key, false, in brw_blorp_get_blit_kernel()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_disk_cache.c356 struct brw_wm_prog_key wm_key; in brw_disk_cache_write_render_programs() local
357 brw_wm_populate_key(brw, &wm_key); in brw_disk_cache_write_render_programs()
358 wm_key.base.program_string_id = 0; in brw_disk_cache_write_render_programs()
360 write_program_data(brw, prog, &wm_key, brw->wm.base.prog_data, in brw_disk_cache_write_render_programs()
/external/mesa3d/src/intel/compiler/
Dbrw_fs_nir.cpp3204 const brw_wm_prog_key *wm_key = in emit_non_coherent_fb_read() local
3206 assert(!wm_key->coherent_fb_fetch); in emit_non_coherent_fb_read()
3228 if (wm_key->multisample_fbo && in emit_non_coherent_fb_read()
3233 const fs_reg mcs = wm_key->multisample_fbo ? in emit_non_coherent_fb_read()
3241 const opcode op = !wm_key->multisample_fbo ? SHADER_OPCODE_TXF_LOGICAL : in emit_non_coherent_fb_read()
Dbrw_fs.cpp8349 brw_wm_prog_key *wm_key = (brw_wm_prog_key *) this->key; in run_fs() local
8369 (nir->info.outputs_read > 0 && !wm_key->coherent_fb_fetch)) { in run_fs()
8402 if (wm_key->alpha_test_func) in run_fs()