| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| H A D | gen6_clip_state.c | 47 if (brw->gs.base.prog_data) { 49 return brw_gs_prog_data(brw->gs.base.prog_data)->output_topology == 51 } else if (brw->tes.base.prog_data) { 53 return brw_tes_prog_data(brw->tes.base.prog_data)->output_topology == 71 if (brw->gs.base.prog_data) { 73 return brw_gs_prog_data(brw->gs.base.prog_data)->output_topology == 75 } else if (brw->tes.base.prog_data) { 77 return brw_tes_prog_data(brw->tes.base.prog_data)->output_topology ==
|
| H A D | brw_binding_tables.c | 56 const struct brw_stage_prog_data *prog_data, 61 if (prog_data->binding_table.size_bytes == 0) { 72 prog_data->binding_table.shader_time_start], 77 brw_state_batch(brw, prog_data->binding_table.size_bytes, 82 prog_data->binding_table.size_bytes); 108 const struct brw_stage_prog_data *prog_data = brw->vs.base.prog_data; local in function:brw_vs_upload_binding_table 111 prog_data, 133 const struct brw_stage_prog_data *prog_data = brw->wm.base.prog_data; local in function:brw_upload_wm_binding_table 54 brw_upload_binding_table(struct brw_context * brw,uint32_t packet_name,const struct brw_stage_prog_data * prog_data,struct brw_stage_state * stage_state) argument 160 const struct brw_stage_prog_data *prog_data = brw->tcs.base.prog_data; local in function:brw_tcs_upload_binding_table 189 const struct brw_stage_prog_data *prog_data = brw->tes.base.prog_data; local in function:brw_tes_upload_binding_table 217 const struct brw_stage_prog_data *prog_data = brw->gs.base.prog_data; local in function:brw_gs_upload_binding_table [all...] |
| H A D | brw_gs_surface_state.c | 51 const struct brw_stage_prog_data *prog_data = brw->gs.base.prog_data; local in function:brw_upload_gs_pull_constants 56 stage_state, prog_data); 79 struct brw_stage_prog_data *prog_data = brw->gs.base.prog_data; local in function:brw_upload_gs_ubo_surfaces 81 brw_upload_ubo_surfaces(brw, prog, &brw->gs.base, prog_data); 103 brw->gs.base.prog_data);
|
| H A D | brw_tcs_surface_state.c | 51 const struct brw_stage_prog_data *prog_data = brw->tcs.base.prog_data; local in function:brw_upload_tcs_pull_constants 56 stage_state, prog_data); 79 struct brw_stage_prog_data *prog_data = brw->tcs.base.prog_data; local in function:brw_upload_tcs_ubo_surfaces 81 brw_upload_ubo_surfaces(brw, prog, &brw->tcs.base, prog_data); 103 brw->tcs.base.prog_data);
|
| H A D | brw_tes_surface_state.c | 51 const struct brw_stage_prog_data *prog_data = brw->tes.base.prog_data; local in function:brw_upload_tes_pull_constants 56 stage_state, prog_data); 79 struct brw_stage_prog_data *prog_data = brw->tes.base.prog_data; local in function:brw_upload_tes_ubo_surfaces 81 brw_upload_ubo_surfaces(brw, prog, &brw->tes.base, prog_data); 103 brw->tes.base.prog_data);
|
| H A D | gen6_constant_state.c | 128 const struct brw_stage_prog_data *prog_data, 134 bool active = prog_data && 141 if (!active || prog_data->nr_params == 0) { 152 const int size = prog_data->nr_params * sizeof(gl_constant_value); 172 prog_data->param, 173 prog_data->nr_params); 178 for (i = 0; i < prog_data->nr_params; i++) { 181 prog_data->dispatch_grf_start_reg + i / 8); 191 stage_state->push_const_size = ALIGN(prog_data->nr_params, 8) / 8; 231 const struct brw_stage_prog_data *prog_data) 126 gen6_upload_push_constants(struct brw_context * brw,const struct gl_program * prog,const struct brw_stage_prog_data * prog_data,struct brw_stage_state * stage_state) argument 227 brw_upload_pull_constants(struct brw_context * brw,GLbitfield64 brw_new_constbuf,const struct gl_program * prog,struct brw_stage_state * stage_state,const struct brw_stage_prog_data * prog_data) argument 297 const struct brw_stage_prog_data *prog_data = local in function:brw_upload_cs_push_constants [all...] |
| H A D | brw_program_binary.c | 172 struct brw_stage_prog_data *prog_data = local in function:deserialize_gen_program 175 if (!brw_read_blob_program_data(reader, prog, stage, &program, prog_data)) { 176 ralloc_free(prog_data); 183 program, prog_data->program_size, prog_data, 186 ralloc_free(prog_data); 258 void *prog_data = NULL; local in function:serialize_gen_part 260 brw_prog_key_size(stage), &offset, &prog_data, 273 brw_write_blob_program_data(writer, stage, program_map, prog_data); 311 struct brw_stage_prog_data *prog_data) 309 brw_write_blob_program_data(struct blob * binary,gl_shader_stage stage,const void * program,struct brw_stage_prog_data * prog_data) argument 329 brw_read_blob_program_data(struct blob_reader * binary,struct gl_program * prog,gl_shader_stage stage,const uint8_t ** program,struct brw_stage_prog_data * prog_data) argument [all...] |
| H A D | brw_cs.c | 38 struct brw_cs_prog_data *prog_data) 43 prog_data->binding_table.work_groups_start = next_binding_table_offset; 46 brw_assign_common_binding_table_offsets(devinfo, prog, &prog_data->base, 58 struct brw_cs_prog_data prog_data; local in function:brw_codegen_cs_prog 63 memset(&prog_data, 0, sizeof(prog_data)); 75 prog_data.base.total_shared = cp->program.info.cs.shared_size; 78 assign_cs_binding_table_offsets(devinfo, &cp->program, &prog_data); 81 &cp->program, &prog_data.base, true); 95 &prog_data, ni 36 assign_cs_binding_table_offsets(const struct gen_device_info * devinfo,const struct gl_program * prog,struct brw_cs_prog_data * prog_data) argument [all...] |
| H A D | brw_gs.c | 41 struct brw_gs_prog_data *prog_data) 49 &prog_data->base.base, reserved); 60 struct brw_gs_prog_data prog_data; local in function:brw_codegen_gs_prog 64 memset(&prog_data, 0, sizeof(prog_data)); 70 assign_gs_binding_table_offsets(devinfo, &gp->program, &prog_data); 73 &prog_data.base.base, 76 prog_data.base.base.ubo_ranges); 81 &prog_data.base.vue_map, outputs_written, 96 &prog_data, ni 39 assign_gs_binding_table_offsets(const struct gen_device_info * devinfo,const struct gl_program * prog,struct brw_gs_prog_data * prog_data) argument [all...] |
| H A D | brw_vs_surface_state.c | 57 const struct brw_stage_prog_data *prog_data = brw->vs.base.prog_data; local in function:brw_upload_vs_pull_constants 62 stage_state, prog_data); 83 brw_upload_ubo_surfaces(brw, prog, &brw->vs.base, brw->vs.base.prog_data); 105 brw->vs.base.prog_data);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| H A D | gfx6_clip_state.c | 47 if (brw->gs.base.prog_data) { 49 return brw_gs_prog_data(brw->gs.base.prog_data)->output_topology == 51 } else if (brw->tes.base.prog_data) { 53 return brw_tes_prog_data(brw->tes.base.prog_data)->output_topology == 71 if (brw->gs.base.prog_data) { 73 return brw_gs_prog_data(brw->gs.base.prog_data)->output_topology == 75 } else if (brw->tes.base.prog_data) { 77 return brw_tes_prog_data(brw->tes.base.prog_data)->output_topology ==
|
| H A D | brw_binding_tables.c | 56 const struct brw_stage_prog_data *prog_data, 61 if (prog_data->binding_table.size_bytes == 0) { 72 prog_data->binding_table.shader_time_start], 77 brw_state_batch(brw, prog_data->binding_table.size_bytes, 82 prog_data->binding_table.size_bytes); 108 const struct brw_stage_prog_data *prog_data = brw->vs.base.prog_data; local in function:brw_vs_upload_binding_table 111 prog_data, 133 const struct brw_stage_prog_data *prog_data = brw->wm.base.prog_data; local in function:brw_upload_wm_binding_table 54 brw_upload_binding_table(struct brw_context * brw,uint32_t packet_name,const struct brw_stage_prog_data * prog_data,struct brw_stage_state * stage_state) argument 160 const struct brw_stage_prog_data *prog_data = brw->tcs.base.prog_data; local in function:brw_tcs_upload_binding_table 189 const struct brw_stage_prog_data *prog_data = brw->tes.base.prog_data; local in function:brw_tes_upload_binding_table 217 const struct brw_stage_prog_data *prog_data = brw->gs.base.prog_data; local in function:brw_gs_upload_binding_table [all...] |
| H A D | brw_gs_surface_state.c | 51 const struct brw_stage_prog_data *prog_data = brw->gs.base.prog_data; local in function:brw_upload_gs_pull_constants 56 stage_state, prog_data); 79 struct brw_stage_prog_data *prog_data = brw->gs.base.prog_data; local in function:brw_upload_gs_ubo_surfaces 81 brw_upload_ubo_surfaces(brw, prog, &brw->gs.base, prog_data); 103 brw->gs.base.prog_data);
|
| H A D | brw_tcs_surface_state.c | 51 const struct brw_stage_prog_data *prog_data = brw->tcs.base.prog_data; local in function:brw_upload_tcs_pull_constants 56 stage_state, prog_data); 79 struct brw_stage_prog_data *prog_data = brw->tcs.base.prog_data; local in function:brw_upload_tcs_ubo_surfaces 81 brw_upload_ubo_surfaces(brw, prog, &brw->tcs.base, prog_data); 103 brw->tcs.base.prog_data);
|
| H A D | brw_tes_surface_state.c | 51 const struct brw_stage_prog_data *prog_data = brw->tes.base.prog_data; local in function:brw_upload_tes_pull_constants 56 stage_state, prog_data); 79 struct brw_stage_prog_data *prog_data = brw->tes.base.prog_data; local in function:brw_upload_tes_ubo_surfaces 81 brw_upload_ubo_surfaces(brw, prog, &brw->tes.base, prog_data); 103 brw->tes.base.prog_data);
|
| H A D | gfx6_constant_state.c | 133 const struct brw_stage_prog_data *prog_data, 139 bool active = prog_data && 146 if (!active || prog_data->nr_params == 0) { 157 const int size = prog_data->nr_params * sizeof(gl_constant_value); 177 prog_data->param, 178 prog_data->nr_params); 183 for (i = 0; i < prog_data->nr_params; i++) { 186 prog_data->dispatch_grf_start_reg + i / 8); 196 stage_state->push_const_size = ALIGN(prog_data->nr_params, 8) / 8; 236 const struct brw_stage_prog_data *prog_data) 131 gfx6_upload_push_constants(struct brw_context * brw,const struct gl_program * prog,const struct brw_stage_prog_data * prog_data,struct brw_stage_state * stage_state) argument 232 brw_upload_pull_constants(struct brw_context * brw,GLbitfield64 brw_new_constbuf,const struct gl_program * prog,struct brw_stage_state * stage_state,const struct brw_stage_prog_data * prog_data) argument 302 const struct brw_stage_prog_data *prog_data = local in function:brw_upload_cs_push_constants [all...] |
| H A D | brw_gs.c | 41 struct brw_gs_prog_data *prog_data) 49 &prog_data->base.base, reserved); 66 * prog_data->transform_feedback_bindings[]. 92 struct brw_gs_prog_data prog_data; local in function:brw_codegen_gs_prog 96 memset(&prog_data, 0, sizeof(prog_data)); 102 assign_gs_binding_table_offsets(devinfo, &gp->program, &prog_data); 105 &prog_data.base.base, 109 prog_data.base.base.ubo_ranges); 115 &prog_data 39 assign_gs_binding_table_offsets(const struct intel_device_info * devinfo,const struct gl_program * prog,struct brw_gs_prog_data * prog_data) argument [all...] |
| H A D | brw_program_binary.c | 172 struct brw_stage_prog_data *prog_data = local in function:deserialize_intel_program 175 if (!brw_read_blob_program_data(reader, prog, stage, &program, prog_data)) { 176 ralloc_free(prog_data); 183 program, prog_data->program_size, prog_data, 186 ralloc_free(prog_data); 258 void *prog_data = NULL; local in function:serialize_intel_part 260 brw_prog_key_size(stage), &offset, &prog_data, 273 brw_write_blob_program_data(writer, stage, program_map, prog_data); 311 struct brw_stage_prog_data *prog_data) 309 brw_write_blob_program_data(struct blob * binary,gl_shader_stage stage,const void * program,struct brw_stage_prog_data * prog_data) argument 329 brw_read_blob_program_data(struct blob_reader * binary,struct gl_program * prog,gl_shader_stage stage,const uint8_t ** program,struct brw_stage_prog_data * prog_data) argument [all...] |
| H A D | brw_cs.c | 38 struct brw_cs_prog_data *prog_data) 43 prog_data->binding_table.work_groups_start = next_binding_table_offset; 46 brw_assign_common_binding_table_offsets(devinfo, prog, &prog_data->base, 58 struct brw_cs_prog_data prog_data; local in function:brw_codegen_cs_prog 63 memset(&prog_data, 0, sizeof(prog_data)); 76 assign_cs_binding_table_offsets(devinfo, &cp->program, &prog_data); 79 &cp->program, &prog_data.base, true); 93 .prog_data = &prog_data, 36 assign_cs_binding_table_offsets(const struct intel_device_info * devinfo,const struct gl_program * prog,struct brw_cs_prog_data * prog_data) argument [all...] |
| H A D | brw_vs_surface_state.c | 57 const struct brw_stage_prog_data *prog_data = brw->vs.base.prog_data; local in function:brw_upload_vs_pull_constants 62 stage_state, prog_data); 83 brw_upload_ubo_surfaces(brw, prog, &brw->vs.base, brw->vs.base.prog_data); 105 brw->vs.base.prog_data);
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/ |
| H A D | brw_interpolation_map.c | 39 gen4_frag_prog_set_interp_modes(struct brw_wm_prog_data *prog_data, argument 46 if (slot != -1 && prog_data->interp_mode[slot] == INTERP_MODE_NONE) { 47 prog_data->interp_mode[slot] = interp; 49 if (prog_data->interp_mode[slot] == INTERP_MODE_FLAT) { 50 prog_data->contains_flat_varying = true; 51 } else if (prog_data->interp_mode[slot] == INTERP_MODE_NOPERSPECTIVE) { 52 prog_data->contains_noperspective_varying = true; 61 struct brw_wm_prog_data *prog_data) 64 memset(prog_data->interp_mode, 0, sizeof(prog_data 60 brw_setup_vue_interpolation(struct brw_vue_map * vue_map,nir_shader * nir,struct brw_wm_prog_data * prog_data) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| H A D | brw_interpolation_map.c | 39 gfx4_frag_prog_set_interp_modes(struct brw_wm_prog_data *prog_data, argument 46 if (slot != -1 && prog_data->interp_mode[slot] == INTERP_MODE_NONE) { 47 prog_data->interp_mode[slot] = interp; 49 if (prog_data->interp_mode[slot] == INTERP_MODE_FLAT) { 50 prog_data->contains_flat_varying = true; 51 } else if (prog_data->interp_mode[slot] == INTERP_MODE_NOPERSPECTIVE) { 52 prog_data->contains_noperspective_varying = true; 61 struct brw_wm_prog_data *prog_data) 64 memset(prog_data->interp_mode, 0, sizeof(prog_data 60 brw_setup_vue_interpolation(const struct brw_vue_map * vue_map,nir_shader * nir,struct brw_wm_prog_data * prog_data) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/ |
| H A D | iris_disk_cache.c | 89 const struct brw_stage_prog_data *prog_data = shader->prog_data; local in function:iris_disk_cache_store 114 blob_write_bytes(&blob, shader->prog_data, brw_prog_data_size(stage)); 115 blob_write_bytes(&blob, shader->map, shader->prog_data->program_size); 120 blob_write_bytes(&blob, prog_data->relocs, 121 prog_data->num_relocs * sizeof(struct brw_shader_reloc)); 122 blob_write_bytes(&blob, prog_data->param, 123 prog_data->nr_params * sizeof(uint32_t)); 179 struct brw_stage_prog_data *prog_data = ralloc_size(NULL, prog_data_size); local in function:iris_disk_cache_retrieve 188 blob_copy_bytes(&blob, prog_data, prog_data_siz [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/ |
| H A D | crocus_disk_cache.c | 90 const struct brw_stage_prog_data *prog_data = shader->prog_data; local in function:crocus_disk_cache_store 113 blob_write_bytes(&blob, shader->prog_data, brw_prog_data_size(stage)); 114 blob_write_bytes(&blob, map + shader->offset, shader->prog_data->program_size); 118 blob_write_bytes(&blob, prog_data->param, 119 prog_data->nr_params * sizeof(uint32_t)); 165 struct brw_stage_prog_data *prog_data = ralloc_size(NULL, prog_data_size); local in function:crocus_disk_cache_retrieve 173 blob_copy_bytes(&blob, prog_data, prog_data_size); 174 assembly = blob_read_bytes(&blob, prog_data->program_size); 183 prog_data [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/ |
| H A D | anv_nir.h | 61 struct brw_stage_prog_data *prog_data, 65 struct brw_cs_prog_data *prog_data);
|