Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/blorp/
Dblorp.c153 brw_blorp_init_wm_prog_key(struct brw_wm_prog_key *wm_key) in brw_blorp_init_wm_prog_key() argument
155 memset(wm_key, 0, sizeof(*wm_key)); in brw_blorp_init_wm_prog_key()
156 wm_key->nr_color_regions = 1; in brw_blorp_init_wm_prog_key()
158 wm_key->tex.swizzles[i] = SWIZZLE_XYZW; in brw_blorp_init_wm_prog_key()
164 struct brw_wm_prog_key *wm_key, in blorp_compile_fs() argument
191 wm_key->iz_lookup |= BRW_WM_IZ_PS_KILL_ALPHATEST_BIT; in blorp_compile_fs()
193 wm_key->input_slots_valid = nir->info.inputs_read | VARYING_BIT_POS; in blorp_compile_fs()
197 brw_compile_fs(compiler, blorp->driver_ctx, mem_ctx, wm_key, in blorp_compile_fs()
Dblorp_clear.c74 struct brw_wm_prog_key wm_key; in blorp_params_get_clear_kernel() local
75 brw_blorp_init_wm_prog_key(&wm_key); in blorp_params_get_clear_kernel()
79 blorp_compile_fs(blorp, mem_ctx, b.shader, &wm_key, use_replicated_data, in blorp_params_get_clear_kernel()
831 struct brw_wm_prog_key wm_key; in blorp_params_get_mcs_partial_resolve_kernel() local
832 brw_blorp_init_wm_prog_key(&wm_key); in blorp_params_get_mcs_partial_resolve_kernel()
833 wm_key.tex.compressed_multisample_layout_mask = 1; in blorp_params_get_mcs_partial_resolve_kernel()
834 wm_key.tex.msaa_16 = blorp_key.num_samples == 16; in blorp_params_get_mcs_partial_resolve_kernel()
835 wm_key.multisample_fbo = true; in blorp_params_get_mcs_partial_resolve_kernel()
839 blorp_compile_fs(blorp, mem_ctx, b.shader, &wm_key, false, in blorp_params_get_mcs_partial_resolve_kernel()
Dblorp_priv.h339 void brw_blorp_init_wm_prog_key(struct brw_wm_prog_key *wm_key);
344 struct brw_wm_prog_key *wm_key,
Dblorp_blit.c1324 struct brw_wm_prog_key wm_key; in brw_blorp_get_blit_kernel() local
1325 brw_blorp_init_wm_prog_key(&wm_key); in brw_blorp_get_blit_kernel()
1326 wm_key.tex.compressed_multisample_layout_mask = in brw_blorp_get_blit_kernel()
1328 wm_key.tex.msaa_16 = prog_key->tex_samples == 16; in brw_blorp_get_blit_kernel()
1329 wm_key.multisample_fbo = prog_key->rt_samples > 1; in brw_blorp_get_blit_kernel()
1331 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.c376 struct brw_wm_prog_key wm_key; in brw_disk_cache_write_render_programs() local
377 brw_wm_populate_key(brw, &wm_key); in brw_disk_cache_write_render_programs()
378 wm_key.program_string_id = 0; in brw_disk_cache_write_render_programs()
380 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.cpp3076 const brw_wm_prog_key *wm_key = in emit_non_coherent_fb_read() local
3078 assert(!wm_key->coherent_fb_fetch); in emit_non_coherent_fb_read()
3104 if (wm_key->multisample_fbo && in emit_non_coherent_fb_read()
3109 const fs_reg mcs = wm_key->multisample_fbo ? in emit_non_coherent_fb_read()
3117 const opcode op = !wm_key->multisample_fbo ? SHADER_OPCODE_TXF_LOGICAL : in emit_non_coherent_fb_read()
Dbrw_fs.cpp6427 brw_wm_prog_key *wm_key = (brw_wm_prog_key *) this->key; in run_fs() local
6447 (nir->info.outputs_read > 0 && !wm_key->coherent_fb_fetch)) { in run_fs()
6473 if (wm_key->alpha_test_func) in run_fs()