/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | gen6_constant_state.c | 44 const struct brw_stage_state *stage_state, in brw_param_value() argument 91 assert(offset < ARRAY_SIZE(stage_state->image_param)); in brw_param_value() 92 return ((uint32_t *)&stage_state->image_param[idx])[offset]; in brw_param_value() 104 const struct brw_stage_state *stage_state, in brw_populate_constant_data() argument 111 dst[i] = brw_param_value(brw, prog, stage_state, param[i]); in brw_populate_constant_data() 134 struct brw_stage_state *stage_state) in gen6_upload_push_constants() argument 140 (stage_state->stage != MESA_SHADER_TESS_CTRL || in gen6_upload_push_constants() 144 _mesa_shader_write_subroutine_indices(ctx, stage_state->stage); in gen6_upload_push_constants() 147 stage_state->push_const_size = 0; in gen6_upload_push_constants() 161 &stage_state->push_const_bo, in gen6_upload_push_constants() [all …]
|
D | brw_binding_tables.c | 57 struct brw_stage_state *stage_state) in brw_upload_binding_table() argument 63 if (stage_state->bind_bo_offset == 0 && devinfo->gen < 9) in brw_upload_binding_table() 66 stage_state->bind_bo_offset = 0; in brw_upload_binding_table() 71 brw, &stage_state->surf_offset[ in brw_upload_binding_table() 78 32, &stage_state->bind_bo_offset); in brw_upload_binding_table() 81 memcpy(bind, stage_state->surf_offset, in brw_upload_binding_table() 93 OUT_BATCH(stage_state->bind_bo_offset); in brw_upload_binding_table()
|
D | genX_state_upload.c | 1798 UNUSED struct brw_stage_state *stage_state = &brw->wm.base; local 1814 wmcp.ConstantBody.PointertoConstantBuffer0 = stage_state->push_const_offset; 1815 wmcp.ConstantBody.ConstantBuffer0ReadLength = stage_state->push_const_size - 1; 1824 brw_state_emit(brw, GENX(WM_STATE), 64, &stage_state->state_offset, wm) { 1837 wm.KernelStartPointer0 = KSP(brw, stage_state->prog_offset); 1846 wm.KernelStartPointer0 = stage_state->prog_offset + 1848 wm.KernelStartPointer1 = stage_state->prog_offset + 1850 wm.KernelStartPointer2 = stage_state->prog_offset + 1873 wm.KernelStartPointer0 = stage_state->prog_offset + 1875 wm.KernelStartPointer1 = stage_state->prog_offset + [all …]
|
D | brw_disk_cache.c | 166 struct brw_stage_state *stage_state; in read_and_upload() local 171 stage_state = &brw->vs.base; in read_and_upload() 175 stage_state = &brw->tcs.base; in read_and_upload() 179 stage_state = &brw->tes.base; in read_and_upload() 183 stage_state = &brw->gs.base; in read_and_upload() 187 stage_state = &brw->wm.base; in read_and_upload() 191 stage_state = &brw->cs.base; in read_and_upload() 199 brw_alloc_stage_scratch(brw, stage_state, prog_data->total_scratch); in read_and_upload() 216 brw_prog_data_size(stage), &stage_state->prog_offset, in read_and_upload() 217 &stage_state->prog_data); in read_and_upload()
|
D | brw_gs.c | 59 struct brw_stage_state *stage_state = &brw->gs.base; in brw_codegen_gs_prog() local 119 brw_alloc_stage_scratch(brw, stage_state, in brw_codegen_gs_prog() 129 &stage_state->prog_offset, &brw->gs.base.prog_data); in brw_codegen_gs_prog() 160 struct brw_stage_state *stage_state = &brw->gs.base; in brw_upload_gs_prog() local 172 &stage_state->prog_offset, &brw->gs.base.prog_data, in brw_upload_gs_prog()
|
D | brw_tes.c | 43 struct brw_stage_state *stage_state = &brw->tes.base; in brw_codegen_tes_prog() local 104 brw_alloc_stage_scratch(brw, stage_state, in brw_codegen_tes_prog() 114 &stage_state->prog_offset, &brw->tes.base.prog_data); in brw_codegen_tes_prog() 156 struct brw_stage_state *stage_state = &brw->tes.base; in brw_upload_tes_prog() local 170 &stage_state->prog_offset, &brw->tes.base.prog_data, in brw_upload_tes_prog()
|
D | brw_tcs.c | 44 struct brw_stage_state *stage_state = &brw->tcs.base; in brw_codegen_tcs_prog() local 142 brw_alloc_stage_scratch(brw, stage_state, in brw_codegen_tcs_prog() 152 &stage_state->prog_offset, &brw->tcs.base.prog_data); in brw_codegen_tcs_prog() 203 struct brw_stage_state *stage_state = &brw->tcs.base; in brw_upload_tcs_prog() local 221 &stage_state->prog_offset, &brw->tcs.base.prog_data, in brw_upload_tcs_prog()
|
D | brw_state.h | 138 struct brw_stage_state *stage_state); 264 const struct brw_stage_state *stage_state, 272 struct brw_stage_state *stage_state, 278 struct brw_stage_state *stage_state); 283 const struct brw_stage_state *stage_state,
|
D | brw_tcs_surface_state.c | 41 struct brw_stage_state *stage_state = &brw->tcs.base; in brw_upload_tcs_pull_constants() local 56 stage_state, prog_data); in brw_upload_tcs_pull_constants()
|
D | brw_tes_surface_state.c | 41 struct brw_stage_state *stage_state = &brw->tes.base; in brw_upload_tes_pull_constants() local 56 stage_state, prog_data); in brw_upload_tes_pull_constants()
|
D | brw_vs_surface_state.c | 50 struct brw_stage_state *stage_state = &brw->vs.base; in brw_upload_vs_pull_constants() local 62 stage_state, prog_data); in brw_upload_vs_pull_constants()
|
D | brw_gs_surface_state.c | 41 struct brw_stage_state *stage_state = &brw->gs.base; in brw_upload_gs_pull_constants() local 56 stage_state, prog_data); in brw_upload_gs_pull_constants()
|
D | brw_wm_surface_state.c | 804 struct brw_stage_state *stage_state = &brw->wm.base; in brw_upload_wm_pull_constants() local 815 stage_state, prog_data); in brw_upload_wm_pull_constants() 1160 struct brw_stage_state *stage_state, in update_stage_texture_surfaces() argument 1168 uint32_t *surf_offset = stage_state->surf_offset; in update_stage_texture_surfaces() 1172 surf_offset += stage_state->prog_data->binding_table.gather_texture_start; in update_stage_texture_surfaces() 1174 surf_offset += stage_state->prog_data->binding_table.plane_start[plane]; in update_stage_texture_surfaces() 1353 struct brw_stage_state *stage_state, in brw_upload_ubo_surfaces() argument 1366 &stage_state->surf_offset[prog_data->binding_table.ubo_start]; in brw_upload_ubo_surfaces() 1379 &stage_state->surf_offset[prog_data->binding_table.ssbo_start]; in brw_upload_ubo_surfaces() 1398 stage_state->push_constants_dirty = true; in brw_upload_ubo_surfaces() [all …]
|
D | brw_program.c | 427 struct brw_stage_state *stage_state, in brw_alloc_stage_scratch() argument 430 if (stage_state->per_thread_scratch >= per_thread_size) in brw_alloc_stage_scratch() 433 stage_state->per_thread_scratch = per_thread_size; in brw_alloc_stage_scratch() 435 if (stage_state->scratch_bo) in brw_alloc_stage_scratch() 436 brw_bo_unreference(stage_state->scratch_bo); in brw_alloc_stage_scratch() 440 switch(stage_state->stage) { in brw_alloc_stage_scratch() 527 stage_state->scratch_bo = in brw_alloc_stage_scratch()
|
D | brw_context.h | 1371 struct brw_stage_state *stage_state, 1419 struct brw_stage_state *stage_state, 1423 struct brw_stage_state *stage_state, 1628 struct brw_stage_state *stage_state);
|
/external/vulkan-validation-layers/layers/ |
D | shader_validation.cpp | 2731 PIPELINE_STATE::StageState *stage_state) { in RecordPipelineShaderStage() argument 2741 stage_state->accessible_ids = MarkAccessibleIds(module, entrypoint); in RecordPipelineShaderStage() 2744 stage_state->descriptor_uses = in RecordPipelineShaderStage() 2745 …CollectInterfaceByDescriptorSlot(report_data, module, stage_state->accessible_ids, &stage_state->h… in RecordPipelineShaderStage() 2747 for (auto use : stage_state->descriptor_uses) { in RecordPipelineShaderStage() 2755 … const PIPELINE_STATE::StageState &stage_state, const SHADER_MODULE_STATE *module, in ValidatePipelineShaderStage() argument 2775 auto &accessible_ids = stage_state.accessible_ids; in ValidatePipelineShaderStage() 2778 bool has_writable_descriptor = stage_state.has_writable_descriptor; in ValidatePipelineShaderStage() 2779 auto &descriptor_uses = stage_state.descriptor_uses; in ValidatePipelineShaderStage() 2994 …skip |= ValidatePipelineShaderStage(pStage, pipeline, pipeline->stage_state[i], shaders[stage_id],… in ValidateGraphicsPipelineShaderState() [all …]
|
D | core_validation_types.h | 1150 std::vector<StageState> stage_state; 1185 stage_state.clear();
|
D | core_validation.h | 828 PIPELINE_STATE::StageState* stage_state); 1205 … const PIPELINE_STATE::StageState& stage_state, const SHADER_MODULE_STATE* module,
|
D | core_validation.cpp | 14527 stage_state.resize(pCreateInfo->stageCount); in initGraphicsPipeline() 14532 state_data->RecordPipelineShaderStage(pPSSCI, this, &stage_state[i]); in initGraphicsPipeline() 14567 stage_state.resize(1); in initComputePipeline() 14568 state_data->RecordPipelineShaderStage(&pCreateInfo->stage, this, &stage_state[0]); in initComputePipeline() 14581 stage_state.resize(pCreateInfo->stageCount); in initRayTracingPipelineNV() 14607 state_data->RecordPipelineShaderStage(&shader_stage, this, &stage_state[stage_index]); in initRayTracingPipelineNV()
|