Home
last modified time | relevance | path

Searched refs:wm_prog_data (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/intel/blorp/
Dblorp.c190 struct brw_wm_prog_data *wm_prog_data) in blorp_compile_fs() argument
197 memset(wm_prog_data, 0, sizeof(*wm_prog_data)); in blorp_compile_fs()
199 wm_prog_data->base.nr_params = 0; in blorp_compile_fs()
200 wm_prog_data->base.param = NULL; in blorp_compile_fs()
206 wm_prog_data->base.binding_table.texture_start = BLORP_TEXTURE_BT_INDEX; in blorp_compile_fs()
221 wm_prog_data, nir, -1, -1, -1, false, use_repclear, in blorp_compile_fs()
268 const struct brw_wm_prog_data *wm_prog_data = params->wm_prog_data; in blorp_ensure_sf_program() local
269 assert(params->wm_prog_data); in blorp_ensure_sf_program()
283 ((1ull << wm_prog_data->num_varying_inputs) - 1) << VARYING_SLOT_VAR0; in blorp_ensure_sf_program()
287 key.key.contains_flat_varying = wm_prog_data->contains_flat_varying; in blorp_ensure_sf_program()
[all …]
Dblorp_priv.h217 struct brw_wm_prog_data *wm_prog_data; member
372 struct brw_wm_prog_data *wm_prog_data);
Dblorp_genX_exec.h206 params->wm_prog_data ? params->wm_prog_data->num_varying_inputs : 0; in emit_urb_config()
290 params->wm_prog_data ? params->wm_prog_data->num_varying_inputs : 0; in blorp_emit_input_varying_data()
303 if (params->wm_prog_data) { in blorp_emit_input_varying_data()
311 const int input_index = params->wm_prog_data->urb_setup[attr]; in blorp_emit_input_varying_data()
414 params->wm_prog_data ? params->wm_prog_data->num_varying_inputs : 0; in blorp_emit_vertex_elements()
692 const struct brw_wm_prog_data *prog_data = params->wm_prog_data; in blorp_emit_sf_config()
797 const struct brw_wm_prog_data *prog_data = params->wm_prog_data; in blorp_emit_ps_config()
1269 if (params->wm_prog_data) { in blorp_emit_pipeline()
Dblorp_clear.c61 &params->wm_prog_kernel, &params->wm_prog_data)) in blorp_params_get_clear_kernel()
108 &params->wm_prog_kernel, &params->wm_prog_data); in blorp_params_get_clear_kernel()
137 if (params->wm_prog_data) in blorp_params_get_layer_offset_vs()
138 blorp_key.num_inputs = params->wm_prog_data->num_varying_inputs; in blorp_params_get_layer_offset_vs()
1140 &params->wm_prog_kernel, &params->wm_prog_data)) in blorp_params_get_mcs_partial_resolve_kernel()
1199 &params->wm_prog_kernel, &params->wm_prog_data); in blorp_params_get_mcs_partial_resolve_kernel()
Dblorp_blit.c1487 &params->wm_prog_kernel, &params->wm_prog_data)) in brw_blorp_get_blit_kernel()
1513 &params->wm_prog_kernel, &params->wm_prog_data); in brw_blorp_get_blit_kernel()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen8_depth_state.c48 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()
Dbrw_sf.c144 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()
Dbrw_clip.c93 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()
DgenX_state_upload.c1068 const struct brw_wm_prog_data *wm_prog_data = in genX() local
1101 for (uint8_t idx = 0; idx < wm_prog_data->urb_setup_attribs_count; idx++) { in genX()
1102 uint8_t attr = wm_prog_data->urb_setup_attribs[idx]; in genX()
1103 int input_index = wm_prog_data->urb_setup[attr]; in genX()
1387 struct brw_wm_prog_data *wm_prog_data = in genX() local
1393 if (wm_prog_data->barycentric_interp_modes & in genX()
1698 const struct brw_wm_prog_data *wm_prog_data = local
1702 sf.NumberofSFOutputAttributes = wm_prog_data->num_varying_inputs;
1726 sf.ConstantInterpolationEnable = wm_prog_data->flat_inputs;
1793 const struct brw_wm_prog_data *wm_prog_data = local
[all …]
Dgen4_blorp_exec.h110 const struct brw_wm_prog_data *prog_data = params->wm_prog_data; in blorp_emit_wm_state()
Dbrw_wm_surface_state.c1074 const struct brw_wm_prog_data *wm_prog_data = in update_renderbuffer_read_surfaces() local
1077 if (wm_prog_data->has_render_target_reads && in update_renderbuffer_read_surfaces()
1086 wm_prog_data->binding_table.render_target_read_start + i; in update_renderbuffer_read_surfaces()
/external/mesa3d/src/intel/vulkan/
DgenX_pipeline.c329 const struct brw_wm_prog_data *wm_prog_data = get_wm_prog_data(pipeline); in emit_3dstate_sbe() local
346 .NumberofSFOutputAttributes = wm_prog_data->num_varying_inputs, in emit_3dstate_sbe()
347 .ConstantInterpolationEnable = wm_prog_data->flat_inputs, in emit_3dstate_sbe()
364 int first_slot = brw_compute_first_urb_slot_required(wm_prog_data->inputs, in emit_3dstate_sbe()
369 for (uint8_t idx = 0; idx < wm_prog_data->urb_setup_attribs_count; idx++) { in emit_3dstate_sbe()
370 uint8_t attr = wm_prog_data->urb_setup_attribs[idx]; in emit_3dstate_sbe()
371 int input_index = wm_prog_data->urb_setup[attr]; in emit_3dstate_sbe()
1123 const struct brw_wm_prog_data *wm_prog_data = get_wm_prog_data(pipeline); local
1235 if (!wm_prog_data->dual_src_blend &&
1311 const struct brw_wm_prog_data *wm_prog_data = get_wm_prog_data(pipeline); local
[all …]
Dgen8_cmd_buffer.c260 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()
Danv_pipeline.c1225 const struct brw_wm_prog_data *wm_prog_data = in anv_pipeline_add_executables() local
1229 if (wm_prog_data->dispatch_8) { in anv_pipeline_add_executables()
1233 if (wm_prog_data->dispatch_16) { in anv_pipeline_add_executables()
1235 wm_prog_data->prog_offset_16); in anv_pipeline_add_executables()
1238 if (wm_prog_data->dispatch_32) { in anv_pipeline_add_executables()
1240 wm_prog_data->prog_offset_32); in anv_pipeline_add_executables()
/external/mesa3d/src/intel/compiler/
Dbrw_fs_visitor.cpp121 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->gen < 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()
335 struct brw_wm_prog_data *wm_prog_data = brw_wm_prog_data(prog_data); in emit_interpolation_setup_gen6() local
342 uint32_t centroid_modes = wm_prog_data->barycentric_interp_modes & in emit_interpolation_setup_gen6()
Dbrw_compiler.h1625 const struct brw_wm_prog_data *wm_prog_data = in brw_stage_has_packed_dispatch() local
1627 return !wm_prog_data->persample_dispatch; in brw_stage_has_packed_dispatch()
Dbrw_fs.cpp1345 struct brw_wm_prog_data *wm_prog_data = brw_wm_prog_data(this->prog_data); in compute_sample_position() local
1348 if (wm_prog_data->persample_dispatch) { in compute_sample_position()
1510 struct brw_wm_prog_data *wm_prog_data = brw_wm_prog_data(this->prog_data); in emit_samplemaskin_setup() local
1518 if (wm_prog_data->persample_dispatch) { in emit_samplemaskin_setup()
1711 brw_compute_urb_setup_index(struct brw_wm_prog_data *wm_prog_data) in brw_compute_urb_setup_index() argument
1717 if (wm_prog_data->urb_setup[attr] >= 0) { in brw_compute_urb_setup_index()
1718 wm_prog_data->urb_setup_attribs[index++] = attr; in brw_compute_urb_setup_index()
1721 wm_prog_data->urb_setup_attribs_count = index; in brw_compute_urb_setup_index()
8331 gen9_ps_header_only_workaround(struct brw_wm_prog_data *wm_prog_data) in gen9_ps_header_only_workaround() argument
8333 if (wm_prog_data->num_varying_inputs) in gen9_ps_header_only_workaround()
[all …]
Dbrw_fs.h657 void brw_compute_urb_setup_index(struct brw_wm_prog_data *wm_prog_data);
Dbrw_fs_nir.cpp2067 struct brw_wm_prog_data *wm_prog_data = in emit_pixel_interpolater_send() local
2075 wm_prog_data->pulls_bary = true; in emit_pixel_interpolater_send()
3207 const struct brw_wm_prog_data *wm_prog_data = in emit_non_coherent_fb_read() local
3214 wm_prog_data->binding_table.render_target_read_start - in emit_non_coherent_fb_read()
3215 wm_prog_data->base.binding_table.texture_start; in emit_non_coherent_fb_read()
/external/mesa3d/src/gallium/drivers/iris/
Diris_state.c1478 const struct brw_wm_prog_data *wm_prog_data = (void *) in want_pma_fix() local
1555 if (wm_prog_data->early_fragment_tests) in want_pma_fix()
1565 bool killpixels = wm_prog_data->uses_kill || wm_prog_data->uses_omask || in want_pma_fix()
1589 return wm_prog_data->computed_depth_mode != PSCDEPTH_OFF || in want_pma_fix()
3973 const struct brw_wm_prog_data *wm_prog_data = (void *) in iris_emit_sbe_swiz() local
3980 for (uint8_t idx = 0; idx < wm_prog_data->urb_setup_attribs_count; idx++) { in iris_emit_sbe_swiz()
3981 const uint8_t fs_attr = wm_prog_data->urb_setup_attribs[idx]; in iris_emit_sbe_swiz()
3982 const int input_index = wm_prog_data->urb_setup[fs_attr]; in iris_emit_sbe_swiz()
4112 const struct brw_wm_prog_data *wm_prog_data = (void *) in iris_emit_sbe() local
4125 iris_calculate_point_sprite_overrides(wm_prog_data, cso_rast) : 0; in iris_emit_sbe()
[all …]
Diris_blorp.c357 if (!params->wm_prog_data) in iris_blorp_exec()
/external/mesa3d/docs/relnotes/
D13.0.1.rst101 - intel/blorp: Use wm_prog_data instead of hand-rolling our own
D20.2.0.rst2559 - intel/fs: Break wm_prog_data setup into a helper