/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | gfx8_depth_state.c | 48 const struct brw_wm_prog_data *wm_prog_data = in pma_fix_enable() local 67 const bool edsc_not_preps = !wm_prog_data->early_fragment_tests; in pma_fix_enable() 102 wm_prog_data->computed_depth_mode != BRW_PSCDEPTH_OFF; in pma_fix_enable() 115 wm_prog_data->uses_kill || in pma_fix_enable() 116 wm_prog_data->uses_omask || in pma_fix_enable()
|
D | brw_sf.c | 144 const struct brw_wm_prog_data *wm_prog_data = in brw_upload_sf_prog() local 146 if (wm_prog_data) { in brw_upload_sf_prog() 147 key.contains_flat_varying = wm_prog_data->contains_flat_varying; in brw_upload_sf_prog() 150 sizeof(wm_prog_data->interp_mode)); in brw_upload_sf_prog() 151 memcpy(key.interp_mode, wm_prog_data->interp_mode, in brw_upload_sf_prog()
|
D | brw_clip.c | 93 const struct brw_wm_prog_data *wm_prog_data = in brw_upload_clip_prog() local 95 if (wm_prog_data) { in brw_upload_clip_prog() 96 key.contains_flat_varying = wm_prog_data->contains_flat_varying; in brw_upload_clip_prog() 98 wm_prog_data->contains_noperspective_varying; in brw_upload_clip_prog() 101 sizeof(wm_prog_data->interp_mode)); in brw_upload_clip_prog() 102 memcpy(key.interp_mode, wm_prog_data->interp_mode, in brw_upload_clip_prog()
|
D | genX_state_upload.c | 1067 const struct brw_wm_prog_data *wm_prog_data = in genX() local 1100 for (uint8_t idx = 0; idx < wm_prog_data->urb_setup_attribs_count; idx++) { in genX() 1101 uint8_t attr = wm_prog_data->urb_setup_attribs[idx]; in genX() 1102 int input_index = wm_prog_data->urb_setup[attr]; in genX() 1386 struct brw_wm_prog_data *wm_prog_data = in genX() local 1392 if (wm_prog_data->barycentric_interp_modes & in genX() 1697 const struct brw_wm_prog_data *wm_prog_data = local 1701 sf.NumberofSFOutputAttributes = wm_prog_data->num_varying_inputs; 1725 sf.ConstantInterpolationEnable = wm_prog_data->flat_inputs; 1792 const struct brw_wm_prog_data *wm_prog_data = local [all …]
|
D | gfx4_blorp_exec.h | 110 const struct brw_wm_prog_data *prog_data = params->wm_prog_data; in blorp_emit_wm_state()
|
D | brw_wm_surface_state.c | 1084 const struct brw_wm_prog_data *wm_prog_data = in update_renderbuffer_read_surfaces() local 1087 if (wm_prog_data->has_render_target_reads && in update_renderbuffer_read_surfaces() 1096 wm_prog_data->binding_table.render_target_read_start + i; in update_renderbuffer_read_surfaces()
|
/third_party/mesa3d/src/intel/blorp/ |
D | blorp.c | 214 struct brw_wm_prog_data *wm_prog_data) in blorp_compile_fs() argument 221 memset(wm_prog_data, 0, sizeof(*wm_prog_data)); in blorp_compile_fs() 223 wm_prog_data->base.nr_params = 0; in blorp_compile_fs() 224 wm_prog_data->base.param = NULL; in blorp_compile_fs() 230 wm_prog_data->base.binding_table.texture_start = BLORP_TEXTURE_BT_INDEX; in blorp_compile_fs() 246 .prog_data = wm_prog_data, in blorp_compile_fs() 352 const struct brw_wm_prog_data *wm_prog_data = params->wm_prog_data; in blorp_ensure_sf_program() local 353 assert(params->wm_prog_data); in blorp_ensure_sf_program() 367 ((1ull << wm_prog_data->num_varying_inputs) - 1) << VARYING_SLOT_VAR0; in blorp_ensure_sf_program() 371 key.key.contains_flat_varying = wm_prog_data->contains_flat_varying; in blorp_ensure_sf_program() [all …]
|
D | blorp_priv.h | 234 struct brw_wm_prog_data *wm_prog_data; member 416 struct brw_wm_prog_data *wm_prog_data);
|
D | blorp_genX_exec.h | 217 params->wm_prog_data ? params->wm_prog_data->num_varying_inputs : 0; in emit_urb_config() 302 params->wm_prog_data ? params->wm_prog_data->num_varying_inputs : 0; in blorp_emit_input_varying_data() 315 if (params->wm_prog_data) { in blorp_emit_input_varying_data() 323 const int input_index = params->wm_prog_data->urb_setup[attr]; in blorp_emit_input_varying_data() 430 params->wm_prog_data ? params->wm_prog_data->num_varying_inputs : 0; in blorp_emit_vertex_elements() 716 const struct brw_wm_prog_data *prog_data = params->wm_prog_data; in blorp_emit_sf_config() 821 const struct brw_wm_prog_data *prog_data = params->wm_prog_data; in blorp_emit_ps_config() 1292 if (params->wm_prog_data) { in blorp_emit_pipeline()
|
D | blorp_clear.c | 65 ¶ms->wm_prog_kernel, ¶ms->wm_prog_data)) in blorp_params_get_clear_kernel_fs() 104 ¶ms->wm_prog_kernel, ¶ms->wm_prog_data); in blorp_params_get_clear_kernel_fs() 222 if (params->wm_prog_data) in blorp_params_get_layer_offset_vs() 223 blorp_key.num_inputs = params->wm_prog_data->num_varying_inputs; in blorp_params_get_layer_offset_vs() 1289 ¶ms->wm_prog_kernel, ¶ms->wm_prog_data)) in blorp_params_get_mcs_partial_resolve_kernel() 1345 ¶ms->wm_prog_kernel, ¶ms->wm_prog_data); in blorp_params_get_mcs_partial_resolve_kernel()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | genX_pipeline.c | 333 const struct brw_wm_prog_data *wm_prog_data = get_wm_prog_data(pipeline); in emit_3dstate_sbe() local 347 .NumberofSFOutputAttributes = wm_prog_data->num_varying_inputs, in emit_3dstate_sbe() 348 .ConstantInterpolationEnable = wm_prog_data->flat_inputs, in emit_3dstate_sbe() 369 int first_slot = brw_compute_first_urb_slot_required(wm_prog_data->inputs, in emit_3dstate_sbe() 374 for (uint8_t idx = 0; idx < wm_prog_data->urb_setup_attribs_count; idx++) { in emit_3dstate_sbe() 375 uint8_t attr = wm_prog_data->urb_setup_attribs[idx]; in emit_3dstate_sbe() 376 int input_index = wm_prog_data->urb_setup[attr]; in emit_3dstate_sbe() 1211 const struct brw_wm_prog_data *wm_prog_data = get_wm_prog_data(pipeline); local 1333 if (!wm_prog_data->dual_src_blend && 1416 const struct brw_wm_prog_data *wm_prog_data = get_wm_prog_data(pipeline); local [all …]
|
D | gfx8_cmd_buffer.c | 260 const struct brw_wm_prog_data *wm_prog_data = get_wm_prog_data(pipeline); in want_depth_pma_fix() local 261 if (wm_prog_data->early_fragment_tests) in want_depth_pma_fix() 290 wm_prog_data->computed_depth_mode != PSCDEPTH_OFF; in want_depth_pma_fix() 370 const struct brw_wm_prog_data *wm_prog_data = get_wm_prog_data(pipeline); in want_stencil_pma_fix() local 371 if (wm_prog_data->early_fragment_tests) in want_stencil_pma_fix() 399 const bool comp_stc_en = stc_test_en && wm_prog_data->computed_stencil; in want_stencil_pma_fix() 414 wm_prog_data->computed_depth_mode != PSCDEPTH_OFF; in want_stencil_pma_fix()
|
D | genX_state.c | 601 const struct brw_wm_prog_data *wm_prog_data = get_wm_prog_data(pipeline); in genX() local 602 const bool cps_enable = wm_prog_data && wm_prog_data->per_coarse_pixel_dispatch; in genX()
|
D | genX_blorp_exec.c | 348 if (!params->wm_prog_data) { in genX()
|
D | anv_pipeline.c | 1322 const struct brw_wm_prog_data *wm_prog_data = in anv_pipeline_add_executables() local 1326 if (wm_prog_data->dispatch_8) { in anv_pipeline_add_executables() 1330 if (wm_prog_data->dispatch_16) { in anv_pipeline_add_executables() 1332 wm_prog_data->prog_offset_16); in anv_pipeline_add_executables() 1335 if (wm_prog_data->dispatch_32) { in anv_pipeline_add_executables() 1337 wm_prog_data->prog_offset_32); in anv_pipeline_add_executables()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_fs_visitor.cpp | 121 struct brw_wm_prog_data *wm_prog_data = brw_wm_prog_data(this->prog_data); in emit_dummy_fs() local 122 wm_prog_data->num_varying_inputs = devinfo->ver < 6 ? 1 : 0; in emit_dummy_fs() 123 memset(wm_prog_data->urb_setup, -1, in emit_dummy_fs() 124 sizeof(wm_prog_data->urb_setup[0]) * VARYING_SLOT_MAX); in emit_dummy_fs() 125 brw_compute_urb_setup_index(wm_prog_data); in emit_dummy_fs() 132 wm_prog_data->dispatch_grf_start_reg_16 = 2; in emit_dummy_fs() 133 wm_prog_data->dispatch_grf_start_reg_32 = 2; in emit_dummy_fs() 286 struct brw_wm_prog_data *wm_prog_data = brw_wm_prog_data(prog_data); in emit_interpolation_setup_gfx6() local 291 if (!wm_prog_data->per_coarse_pixel_dispatch) { in emit_interpolation_setup_gfx6() 398 if (wm_prog_data->per_coarse_pixel_dispatch) { in emit_interpolation_setup_gfx6() [all …]
|
D | brw_compiler.h | 1833 const struct brw_wm_prog_data *wm_prog_data = in brw_stage_has_packed_dispatch() local 1835 return !wm_prog_data->persample_dispatch; in brw_stage_has_packed_dispatch()
|
D | brw_fs.cpp | 1355 struct brw_wm_prog_data *wm_prog_data = brw_wm_prog_data(this->prog_data); in compute_sample_position() local 1358 if (wm_prog_data->persample_dispatch) { in compute_sample_position() 1520 struct brw_wm_prog_data *wm_prog_data = brw_wm_prog_data(this->prog_data); in emit_samplemaskin_setup() local 1526 assert(!wm_prog_data->per_coarse_pixel_dispatch); in emit_samplemaskin_setup() 1531 if (wm_prog_data->persample_dispatch) { in emit_samplemaskin_setup() 1568 struct brw_wm_prog_data *wm_prog_data = in emit_shading_rate_setup() local 1574 if (wm_prog_data->per_coarse_pixel_dispatch) { in emit_shading_rate_setup() 1844 brw_compute_urb_setup_index(struct brw_wm_prog_data *wm_prog_data) in brw_compute_urb_setup_index() argument 1850 if (wm_prog_data->urb_setup[attr] >= 0) { in brw_compute_urb_setup_index() 1851 wm_prog_data->urb_setup_attribs[index++] = attr; in brw_compute_urb_setup_index() [all …]
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_state.c | 1550 struct brw_wm_prog_data *wm_prog_data = (void *) shader->prog_data; in set_blend_entry_bits() local 1552 (!cso_blend->dual_color_blending || wm_prog_data->dual_src_blend); in set_blend_entry_bits() 1569 struct brw_wm_prog_data *wm_prog_data = (void *) shader->prog_data; in set_blend_entry_bits() local 1570 if (idx == 0 && !blend_enabled && wm_prog_data->dual_src_blend) { in set_blend_entry_bits() 1798 const struct brw_wm_prog_data *wm_prog_data = (void *) in want_pma_fix() local 1876 if (wm_prog_data->early_fragment_tests) in want_pma_fix() 1886 bool killpixels = wm_prog_data->uses_kill || wm_prog_data->uses_omask || in want_pma_fix() 1910 return wm_prog_data->computed_depth_mode != PSCDEPTH_OFF || in want_pma_fix() 4556 const struct brw_wm_prog_data *wm_prog_data = (void *) in calculate_attr_overrides() local 4573 const int input_index = wm_prog_data->urb_setup[fs_attr]; in calculate_attr_overrides() [all …]
|
D | crocus_program.c | 2077 …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 2078 if (wm_prog_data) { in crocus_update_compiled_clip() 2079 key.contains_flat_varying = wm_prog_data->contains_flat_varying; in crocus_update_compiled_clip() 2081 wm_prog_data->contains_noperspective_varying; in crocus_update_compiled_clip() 2082 memcpy(key.interp_mode, wm_prog_data->interp_mode, sizeof(key.interp_mode)); in crocus_update_compiled_clip() 2251 …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 2252 if (wm_prog_data) { in crocus_update_compiled_sf() 2253 key.contains_flat_varying = wm_prog_data->contains_flat_varying; in crocus_update_compiled_sf() 2254 memcpy(key.interp_mode, wm_prog_data->interp_mode, sizeof(key.interp_mode)); in crocus_update_compiled_sf() 2264 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 | 374 if (!params->wm_prog_data) in crocus_blorp_exec()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_state.c | 1539 const struct brw_wm_prog_data *wm_prog_data = (void *) in want_pma_fix() local 1616 if (wm_prog_data->early_fragment_tests) in want_pma_fix() 1626 bool killpixels = wm_prog_data->uses_kill || wm_prog_data->uses_omask || in want_pma_fix() 1650 return wm_prog_data->computed_depth_mode != PSCDEPTH_OFF || in want_pma_fix() 4023 const struct brw_wm_prog_data *wm_prog_data = (void *) in iris_emit_sbe_swiz() local 4029 for (uint8_t idx = 0; idx < wm_prog_data->urb_setup_attribs_count; idx++) { in iris_emit_sbe_swiz() 4030 const uint8_t fs_attr = wm_prog_data->urb_setup_attribs[idx]; in iris_emit_sbe_swiz() 4031 const int input_index = wm_prog_data->urb_setup[fs_attr]; in iris_emit_sbe_swiz() 4162 const struct brw_wm_prog_data *wm_prog_data = (void *) in iris_emit_sbe() local 4177 iris_calculate_point_sprite_overrides(wm_prog_data, cso_rast) : 0; in iris_emit_sbe() [all …]
|
D | iris_blorp.c | 369 if (!params->wm_prog_data) in iris_blorp_exec()
|
/third_party/mesa3d/docs/relnotes/ |
D | 13.0.1.rst | 101 - intel/blorp: Use wm_prog_data instead of hand-rolling our own
|