/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_emit.c | 112 size += ctx->shader_state.vs_inst_mem_size + 1; in required_stream_size() 113 size += ctx->shader_state.ps_inst_mem_size + 1; in required_stream_size() 135 /*007C4*/ EMIT_STATE(FE_HALTI5_ID_CONFIG, ctx->shader_state.FE_HALTI5_ID_CONFIG); in emit_halti5_only_state() 139 /*008E0*/ EMIT_STATE(VS_HALTI5_OUTPUT(x), ctx->shader_state.VS_OUTPUT[x]); in emit_halti5_only_state() 144 /*008C0*/ EMIT_STATE(VS_HALTI5_INPUT(x), ctx->shader_state.VS_INPUT[x]); in emit_halti5_only_state() 148 …/*00A90*/ EMIT_STATE(PA_VARYING_NUM_COMPONENTS(0), ctx->shader_state.GL_VARYING_NUM_COMPONENTS[0]); in emit_halti5_only_state() 149 …/*00A94*/ EMIT_STATE(PA_VARYING_NUM_COMPONENTS(1), ctx->shader_state.GL_VARYING_NUM_COMPONENTS[1]); in emit_halti5_only_state() 151 …/*01080*/ EMIT_STATE(PS_VARYING_NUM_COMPONENTS(0), ctx->shader_state.GL_VARYING_NUM_COMPONENTS[0]); in emit_halti5_only_state() 152 …/*01084*/ EMIT_STATE(PS_VARYING_NUM_COMPONENTS(1), ctx->shader_state.GL_VARYING_NUM_COMPONENTS[1]); in emit_halti5_only_state() 153 /*03888*/ EMIT_STATE(GL_HALTI5_SH_SPECIALS, ctx->shader_state.GL_HALTI5_SH_SPECIALS); in emit_halti5_only_state() [all …]
|
D | etnaviv_state.c | 682 struct compiled_shader_state *shader_state = &ctx->shader_state; in etna_update_zsa() local 695 !shader_state->writes_z && in etna_update_zsa() 696 !shader_state->uses_discard) in etna_update_zsa() 705 !shader_state->writes_z) in etna_update_zsa()
|
D | etnaviv_context.h | 161 struct compiled_shader_state shader_state; member
|
D | etnaviv_shader.c | 296 return etna_link_shaders(ctx, &ctx->shader_state, ctx->shader.vs, ctx->shader.fs); in etna_shader_link() 399 return etna_shader_update_vs_inputs(&ctx->shader_state, ctx->shader.vs, in etna_shader_update_vertex()
|
/external/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_program.c | 212 .base.shader_state = so, in v3d_shader_precompile() 230 .base.shader_state = so, in v3d_shader_precompile() 254 .base.shader_state = so, in v3d_shader_precompile() 375 struct v3d_uncompiled_shader *shader_state = key->shader_state; in v3d_get_compiled_shader() local 376 nir_shader *s = shader_state->base.ir.nir; in v3d_get_compiled_shader() 386 int program_id = shader_state->program_id; in v3d_get_compiled_shader() 388 p_atomic_inc_return(&shader_state->compiled_variant_count); in v3d_get_compiled_shader() 541 key->base.shader_state = v3d->prog.bind_fs; in v3d_update_compiled_fs() 671 key->base.shader_state = v3d->prog.bind_gs; in v3d_update_compiled_gs() 696 struct v3d_uncompiled_shader *shader_state = key->base.shader_state; in v3d_update_compiled_gs() local [all …]
|
/external/mesa3d/src/gallium/drivers/vc4/kernel/ |
D | vc4_validate.c | 253 struct vc4_shader_state *shader_state; in validate_indexed_prim_list() local 260 shader_state = &exec->shader_state[exec->shader_state_count - 1]; in validate_indexed_prim_list() 262 if (max_index > shader_state->max_index) in validate_indexed_prim_list() 263 shader_state->max_index = max_index; in validate_indexed_prim_list() 287 struct vc4_shader_state *shader_state; in validate_gl_array_primitive() local 294 shader_state = &exec->shader_state[exec->shader_state_count - 1]; in validate_gl_array_primitive() 302 if (max_index > shader_state->max_index) in validate_gl_array_primitive() 303 shader_state->max_index = max_index; in validate_gl_array_primitive() 318 exec->shader_state[i].addr = *(uint32_t *)untrusted; in validate_gl_shader_state() 319 exec->shader_state[i].max_index = 0; in validate_gl_shader_state() [all …]
|
D | vc4_drv.h | 69 } *shader_state; member
|
D | vc4_gem.c | 73 exec->shader_state = temp + exec_size; in vc4_get_bcl()
|
/external/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_context.c | 648 struct panfrost_shader_state *shader_state = &cso->variants[i]; in panfrost_delete_shader_state() local 649 panfrost_bo_unreference(shader_state->bo); in panfrost_delete_shader_state() 651 if (shader_state->upload.rsrc) in panfrost_delete_shader_state() 652 pipe_resource_reference(&shader_state->upload.rsrc, NULL); in panfrost_delete_shader_state() 654 shader_state->bo = NULL; in panfrost_delete_shader_state() 840 struct panfrost_shader_state *shader_state = &variants->variants[variant]; in panfrost_bind_shader_state() local 841 assert(panfrost_variant_matches(ctx, shader_state, type)); in panfrost_bind_shader_state() 845 if (!shader_state->compiled) { in panfrost_bind_shader_state() 853 shader_state, in panfrost_bind_shader_state() 856 shader_state->compiled = true; in panfrost_bind_shader_state() [all …]
|
/external/vulkan-validation-layers/layers/ |
D | gpu_validation.cpp | 622 const SHADER_MODULE_STATE *shader_state = nullptr; in GpuPostCallRecordPipelineCreations() local 624 … shader_state = GetShaderModuleState(pipeline_state->graphicsPipelineCI.pStages[stage].module); in GpuPostCallRecordPipelineCreations() 627 shader_state = GetShaderModuleState(pipeline_state->computePipelineCI.stage.module); in GpuPostCallRecordPipelineCreations() 629 … shader_state = GetShaderModuleState(pipeline_state->raytracingPipelineCI.pStages[stage].module); in GpuPostCallRecordPipelineCreations() 639 …if (shader_state && shader_state->has_valid_spirv) { // really checking for presense of SPIR-V co… in GpuPostCallRecordPipelineCreations() 640 for (auto insn : *shader_state) { in GpuPostCallRecordPipelineCreations() 642 code = shader_state->words; in GpuPostCallRecordPipelineCreations() 647 …gpu_validation_state->shader_map[shader_state->gpu_validation_shader_id].pipeline = pipeline_state… in GpuPostCallRecordPipelineCreations() 661 …gpu_validation_state->shader_map[shader_state->gpu_validation_shader_id].shader_module = shader_mo… in GpuPostCallRecordPipelineCreations() 662 … gpu_validation_state->shader_map[shader_state->gpu_validation_shader_id].pgm = std::move(code); in GpuPostCallRecordPipelineCreations()
|
/external/mesa3d/src/broadcom/clif/ |
D | clif_private.h | 77 } shader_state; member
|
D | v3dx_dump.c | 90 reloc->shader_state.num_attrs = in v3dX()
|
D | clif_dump.c | 176 for (int i = 0; i < reloc->shader_state.num_attrs; i++) { in clif_dump_gl_shader_state_record()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_draw.c | 230 cl_emit(&job->bcl, GL_SHADER_STATE, shader_state) { in vc4_emit_gl_shader_state() 236 shader_state.number_of_attribute_arrays = in vc4_emit_gl_shader_state()
|
D | vc4_program.c | 2226 c->shader_state = &key->shader_state->base; in vc4_shader_ntq() 2227 c->program_id = key->shader_state->program_id; in vc4_shader_ntq() 2229 p_atomic_inc_return(&key->shader_state->compiled_variant_count); in vc4_shader_ntq() 2251 c->s = nir_shader_clone(c, key->shader_state->base.ir.nir); in vc4_shader_ntq() 2616 nir_shader *orig_shader = key->shader_state->base.ir.nir; in vc4_get_compiled_shader() 2717 key->base.shader_state = vc4->prog.bind_fs; in vc4_update_compiled_fs() 2791 key->base.shader_state = vc4->prog.bind_vs; in vc4_update_compiled_vs() 2886 if (key->shader_state == so) { in delete_from_cache_if_matches()
|
D | vc4_qir.h | 304 struct vc4_uncompiled_shader *shader_state; member 449 struct pipe_shader_state *shader_state; member
|
/external/mesa3d/src/broadcom/compiler/ |
D | v3d_compiler.h | 344 void *shader_state; member 666 struct pipe_shader_state *shader_state; member
|
/external/mesa3d/src/gallium/auxiliary/driver_trace/ |
D | tr_context.c | 522 trace_dump_arg(shader_state, state); \
|
/external/mesa3d/src/gallium/auxiliary/driver_ddebug/ |
D | dd_draw.c | 309 DUMP(shader_state, &dstate->shaders[sh]->state.shader); in dd_dump_shader()
|
/external/mesa3d/docs/relnotes/ |
D | 20.3.0.rst | 248 - v3dv/cmd_buffer: emit shader_state packets
|