/third_party/mesa3d/src/intel/vulkan/ |
D | genX_pipeline.c | 395 const struct brw_wm_prog_data *wm_prog_data = get_wm_prog_data(pipeline); in emit_3dstate_sbe() local 416 .NumberofSFOutputAttributes = wm_prog_data->num_varying_inputs, in emit_3dstate_sbe() 417 .ConstantInterpolationEnable = wm_prog_data->flat_inputs, in emit_3dstate_sbe() 438 int first_slot = brw_compute_first_urb_slot_required(wm_prog_data->inputs, in emit_3dstate_sbe() 443 for (uint8_t idx = 0; idx < wm_prog_data->urb_setup_attribs_count; idx++) { in emit_3dstate_sbe() 444 uint8_t attr = wm_prog_data->urb_setup_attribs[idx]; in emit_3dstate_sbe() 445 int input_index = wm_prog_data->urb_setup[attr]; in emit_3dstate_sbe() 525 (wm_prog_data->urb_setup[VARYING_SLOT_CLIP_DIST0] >= 0 || in emit_3dstate_sbe() 526 wm_prog_data->urb_setup[VARYING_SLOT_CLIP_DIST1] >= 0)) { in emit_3dstate_sbe() 540 if (wm_prog_data->urb_setup[VARYING_SLOT_VIEWPORT] >= 0 || in emit_3dstate_sbe() [all …]
|
D | gfx8_cmd_buffer.c | 166 const struct brw_wm_prog_data *wm_prog_data = get_wm_prog_data(pipeline); in want_depth_pma_fix() local 167 if (wm_prog_data->early_fragment_tests) in want_depth_pma_fix() 196 wm_prog_data->computed_depth_mode != PSCDEPTH_OFF; in want_depth_pma_fix() 274 const struct brw_wm_prog_data *wm_prog_data = get_wm_prog_data(pipeline); in want_stencil_pma_fix() local 275 if (wm_prog_data->early_fragment_tests) in want_stencil_pma_fix() 297 const bool comp_stc_en = stc_test_en && wm_prog_data->computed_stencil; in want_stencil_pma_fix() 312 wm_prog_data->computed_depth_mode != PSCDEPTH_OFF; in want_stencil_pma_fix()
|
D | genX_state.c | 838 const struct brw_wm_prog_data *wm_prog_data = get_wm_prog_data(pipeline); in genX() local 839 const bool cps_enable = wm_prog_data && wm_prog_data->per_coarse_pixel_dispatch; in genX()
|
D | genX_blorp_exec.c | 350 if (!params->wm_prog_data) { in blorp_exec_on_render()
|
D | anv_pipeline.c | 1267 const struct brw_wm_prog_data *wm_prog_data = in anv_pipeline_add_executables() local 1271 if (wm_prog_data->dispatch_8) { in anv_pipeline_add_executables() 1275 if (wm_prog_data->dispatch_16) { in anv_pipeline_add_executables() 1277 wm_prog_data->prog_offset_16); in anv_pipeline_add_executables() 1280 if (wm_prog_data->dispatch_32) { in anv_pipeline_add_executables() 1282 wm_prog_data->prog_offset_32); in anv_pipeline_add_executables()
|
/third_party/mesa3d/src/intel/blorp/ |
D | blorp.c | 230 struct brw_wm_prog_data *wm_prog_data) in blorp_compile_fs() argument 236 memset(wm_prog_data, 0, sizeof(*wm_prog_data)); in blorp_compile_fs() 238 wm_prog_data->base.nr_params = 0; in blorp_compile_fs() 239 wm_prog_data->base.param = NULL; in blorp_compile_fs() 255 .prog_data = wm_prog_data, in blorp_compile_fs() 353 const struct brw_wm_prog_data *wm_prog_data = params->wm_prog_data; in blorp_ensure_sf_program() local 354 assert(params->wm_prog_data); in blorp_ensure_sf_program() 368 ((1ull << wm_prog_data->num_varying_inputs) - 1) << VARYING_SLOT_VAR0; in blorp_ensure_sf_program() 372 key.key.contains_flat_varying = wm_prog_data->contains_flat_varying; in blorp_ensure_sf_program() 375 sizeof(wm_prog_data->interp_mode)); in blorp_ensure_sf_program() [all …]
|
D | blorp_priv.h | 250 struct brw_wm_prog_data *wm_prog_data; member 421 struct brw_wm_prog_data *wm_prog_data);
|
D | blorp_genX_exec.h | 225 params->wm_prog_data ? params->wm_prog_data->num_varying_inputs : 0; in emit_urb_config() 310 params->wm_prog_data ? params->wm_prog_data->num_varying_inputs : 0; in blorp_emit_input_varying_data() 323 if (params->wm_prog_data) { in blorp_emit_input_varying_data() 331 const int input_index = params->wm_prog_data->urb_setup[attr]; in blorp_emit_input_varying_data() 438 params->wm_prog_data ? params->wm_prog_data->num_varying_inputs : 0; in blorp_emit_vertex_elements() 724 const struct brw_wm_prog_data *prog_data = params->wm_prog_data; in blorp_emit_sf_config() 829 const struct brw_wm_prog_data *prog_data = params->wm_prog_data; in blorp_emit_ps_config() 1307 if (params->wm_prog_data) { in blorp_emit_pipeline() 1326 cc.BLEND_STATEChange = params->wm_prog_data ? true : false; in blorp_emit_pipeline()
|
D | blorp_clear.c | 68 ¶ms->wm_prog_kernel, ¶ms->wm_prog_data)) in blorp_params_get_clear_kernel_fs() 107 ¶ms->wm_prog_kernel, ¶ms->wm_prog_data); in blorp_params_get_clear_kernel_fs() 228 if (params->wm_prog_data) in blorp_params_get_layer_offset_vs() 229 blorp_key.num_inputs = params->wm_prog_data->num_varying_inputs; in blorp_params_get_layer_offset_vs() 1298 ¶ms->wm_prog_kernel, ¶ms->wm_prog_data)) in blorp_params_get_mcs_partial_resolve_kernel() 1354 ¶ms->wm_prog_kernel, ¶ms->wm_prog_data); in blorp_params_get_mcs_partial_resolve_kernel()
|
D | blorp_blit.c | 1516 ¶ms->wm_prog_kernel, ¶ms->wm_prog_data)) in brw_blorp_get_blit_kernel_fs() 1543 ¶ms->wm_prog_kernel, ¶ms->wm_prog_data); in brw_blorp_get_blit_kernel_fs()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_fs_visitor.cpp | 92 struct brw_wm_prog_data *wm_prog_data = brw_wm_prog_data(this->prog_data); in emit_dummy_fs() local 93 wm_prog_data->num_varying_inputs = devinfo->ver < 6 ? 1 : 0; in emit_dummy_fs() 94 memset(wm_prog_data->urb_setup, -1, in emit_dummy_fs() 95 sizeof(wm_prog_data->urb_setup[0]) * VARYING_SLOT_MAX); in emit_dummy_fs() 96 brw_compute_urb_setup_index(wm_prog_data); in emit_dummy_fs() 102 wm_prog_data->dispatch_grf_start_reg_16 = 2; in emit_dummy_fs() 103 wm_prog_data->dispatch_grf_start_reg_32 = 2; in emit_dummy_fs() 291 struct brw_wm_prog_data *wm_prog_data = brw_wm_prog_data(prog_data); in emit_interpolation_setup_gfx6() local 296 if (!wm_prog_data->per_coarse_pixel_dispatch) { in emit_interpolation_setup_gfx6() 403 if (wm_prog_data->per_coarse_pixel_dispatch) { in emit_interpolation_setup_gfx6() [all …]
|
D | brw_fs.cpp | 1276 struct brw_wm_prog_data *wm_prog_data = brw_wm_prog_data(this->prog_data); in emit_samplepos_setup() local 1282 if (!wm_prog_data->persample_dispatch) { in emit_samplepos_setup() 1427 struct brw_wm_prog_data *wm_prog_data = brw_wm_prog_data(this->prog_data); in emit_samplemaskin_setup() local 1433 assert(!wm_prog_data->per_coarse_pixel_dispatch); in emit_samplemaskin_setup() 1438 if (wm_prog_data->persample_dispatch) { in emit_samplemaskin_setup() 1474 struct brw_wm_prog_data *wm_prog_data = in emit_shading_rate_setup() local 1480 if (wm_prog_data->per_coarse_pixel_dispatch) { in emit_shading_rate_setup() 1746 brw_compute_urb_setup_index(struct brw_wm_prog_data *wm_prog_data) in brw_compute_urb_setup_index() argument 1756 if (wm_prog_data->urb_setup[attr] >= 0) { in brw_compute_urb_setup_index() 1757 wm_prog_data->urb_setup_attribs[index++] = attr; in brw_compute_urb_setup_index() [all …]
|
D | brw_compiler.h | 1984 const struct brw_wm_prog_data *wm_prog_data = in brw_stage_has_packed_dispatch() local 1987 !wm_prog_data->persample_dispatch && in brw_stage_has_packed_dispatch() 1988 wm_prog_data->uses_vmask; in brw_stage_has_packed_dispatch()
|
D | brw_fs.h | 658 void brw_compute_urb_setup_index(struct brw_wm_prog_data *wm_prog_data);
|
D | brw_fs_nir.cpp | 2165 struct brw_wm_prog_data *wm_prog_data = in emit_pixel_interpolater_send() local 2177 wm_prog_data->uses_nonperspective_interp_modes = true; in emit_pixel_interpolater_send() 2180 wm_prog_data->pulls_bary = true; in emit_pixel_interpolater_send()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_state.c | 1551 struct brw_wm_prog_data *wm_prog_data = (void *) shader->prog_data; in set_blend_entry_bits() local 1553 (!cso_blend->dual_color_blending || wm_prog_data->dual_src_blend); in set_blend_entry_bits() 1570 struct brw_wm_prog_data *wm_prog_data = (void *) shader->prog_data; in set_blend_entry_bits() local 1571 if (idx == 0 && !blend_enabled && wm_prog_data->dual_src_blend) { in set_blend_entry_bits() 1799 const struct brw_wm_prog_data *wm_prog_data = (void *) in want_pma_fix() local 1877 if (wm_prog_data->early_fragment_tests) in want_pma_fix() 1887 bool killpixels = wm_prog_data->uses_kill || wm_prog_data->uses_omask || in want_pma_fix() 1911 return wm_prog_data->computed_depth_mode != PSCDEPTH_OFF || in want_pma_fix() 4561 const struct brw_wm_prog_data *wm_prog_data = (void *) in calculate_attr_overrides() local 4578 const int input_index = wm_prog_data->urb_setup[fs_attr]; in calculate_attr_overrides() [all …]
|
D | crocus_program.c | 2106 …const struct brw_wm_prog_data *wm_prog_data = brw_wm_prog_data(ice->shaders.prog[MESA_SHADER_FRAGM… in crocus_update_compiled_clip() local 2107 if (wm_prog_data) { in crocus_update_compiled_clip() 2108 key.contains_flat_varying = wm_prog_data->contains_flat_varying; in crocus_update_compiled_clip() 2110 wm_prog_data->contains_noperspective_varying; in crocus_update_compiled_clip() 2111 memcpy(key.interp_mode, wm_prog_data->interp_mode, sizeof(key.interp_mode)); in crocus_update_compiled_clip() 2280 …const struct brw_wm_prog_data *wm_prog_data = brw_wm_prog_data(ice->shaders.prog[MESA_SHADER_FRAGM… in crocus_update_compiled_sf() local 2281 if (wm_prog_data) { in crocus_update_compiled_sf() 2282 key.contains_flat_varying = wm_prog_data->contains_flat_varying; in crocus_update_compiled_sf() 2283 memcpy(key.interp_mode, wm_prog_data->interp_mode, sizeof(key.interp_mode)); in crocus_update_compiled_sf() 2293 if (wm_prog_data && wm_prog_data->urb_setup[VARYING_SLOT_PNTC] != -1) in crocus_update_compiled_sf()
|
D | gen4_blorp_exec.h | 105 const struct brw_wm_prog_data *prog_data = params->wm_prog_data; in blorp_emit_wm_state()
|
D | crocus_blorp.c | 381 if (!params->wm_prog_data) in crocus_blorp_exec()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_state.c | 1634 const struct brw_wm_prog_data *wm_prog_data = (void *) in want_pma_fix() local 1711 if (wm_prog_data->early_fragment_tests) in want_pma_fix() 1721 bool killpixels = wm_prog_data->uses_kill || wm_prog_data->uses_omask || in want_pma_fix() 1745 return wm_prog_data->computed_depth_mode != PSCDEPTH_OFF || in want_pma_fix() 4178 const struct brw_wm_prog_data *wm_prog_data = (void *) in iris_emit_sbe_swiz() local 4184 for (uint8_t idx = 0; idx < wm_prog_data->urb_setup_attribs_count; idx++) { in iris_emit_sbe_swiz() 4185 const uint8_t fs_attr = wm_prog_data->urb_setup_attribs[idx]; in iris_emit_sbe_swiz() 4186 const int input_index = wm_prog_data->urb_setup[fs_attr]; in iris_emit_sbe_swiz() 4305 const struct brw_wm_prog_data *wm_prog_data = (void *) in iris_emit_sbe() local 4311 iris_compute_sbe_urb_read_interval(wm_prog_data->inputs, in iris_emit_sbe() [all …]
|
D | iris_blorp.c | 399 if (!params->wm_prog_data) in iris_blorp_exec_render()
|
/third_party/mesa3d/docs/relnotes/ |
D | 22.0.5.rst | 89 - intel/fs: Copy color_outputs_valid into wm_prog_data
|
D | 13.0.1.rst | 101 - intel/blorp: Use wm_prog_data instead of hand-rolling our own
|
D | 22.1.1.rst | 104 - intel/fs: Copy color_outputs_valid into wm_prog_data
|
D | 20.2.0.rst | 2559 - intel/fs: Break wm_prog_data setup into a helper
|