Home
last modified time | relevance | path

Searched refs:stage_state (Results 1 – 19 of 19) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_constant_state.c44 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 …]
Dbrw_binding_tables.c57 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()
DgenX_state_upload.c1798 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 …]
Dbrw_disk_cache.c166 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()
Dbrw_gs.c59 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()
Dbrw_tes.c43 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()
Dbrw_tcs.c44 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()
Dbrw_state.h138 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,
Dbrw_tes_surface_state.c41 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()
Dbrw_tcs_surface_state.c41 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()
Dbrw_vs_surface_state.c50 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()
Dbrw_gs_surface_state.c41 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()
Dbrw_wm_surface_state.c804 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 …]
Dbrw_program.c427 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()
Dbrw_context.h1371 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/
Dshader_validation.cpp2731 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 …]
Dcore_validation_types.h1150 std::vector<StageState> stage_state;
1185 stage_state.clear();
Dcore_validation.h828 PIPELINE_STATE::StageState* stage_state);
1205 … const PIPELINE_STATE::StageState& stage_state, const SHADER_MODULE_STATE* module,
Dcore_validation.cpp14527 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()