/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() 138 /*008E0*/ EMIT_STATE(VS_HALTI5_OUTPUT(x), ctx->shader_state.VS_OUTPUT[x]); in emit_halti5_only_state() 143 /*008C0*/ EMIT_STATE(VS_HALTI5_INPUT(x), ctx->shader_state.VS_INPUT[x]); in emit_halti5_only_state() 147 … /*00A90*/ EMIT_STATE(PA_VARYING_NUM_COMPONENTS(0), ctx->shader_state.GL_VARYING_NUM_COMPONENTS); in emit_halti5_only_state() 149 … /*01080*/ EMIT_STATE(PS_VARYING_NUM_COMPONENTS(0), ctx->shader_state.GL_VARYING_NUM_COMPONENTS); in emit_halti5_only_state() 150 /*03888*/ EMIT_STATE(GL_HALTI5_SH_SPECIALS, ctx->shader_state.GL_HALTI5_SH_SPECIALS); in emit_halti5_only_state() 165 /*00800*/ EMIT_STATE(VS_END_PC, ctx->shader_state.VS_END_PC); in emit_pre_halti5_state() 169 /*00810*/ EMIT_STATE(VS_OUTPUT(x), ctx->shader_state.VS_OUTPUT[x]); in emit_pre_halti5_state() 174 /*00820*/ EMIT_STATE(VS_INPUT(x), ctx->shader_state.VS_INPUT[x]); in emit_pre_halti5_state() [all …]
|
D | etnaviv_context.h | 154 struct compiled_shader_state shader_state; member
|
D | etnaviv_shader.c | 229 return etna_link_shaders(ctx, &ctx->shader_state, ctx->shader.vs, ctx->shader.fs); in etna_shader_link() 315 return etna_shader_update_vs_inputs(ctx, &ctx->shader_state, ctx->shader.vs, in etna_shader_update_vertex()
|
/external/mesa3d/src/gallium/drivers/vc5/ |
D | vc5_program.c | 197 struct vc5_uncompiled_shader *shader_state = key->shader_state; in vc5_get_compiled_shader() local 198 nir_shader *s = shader_state->base.ir.nir; in vc5_get_compiled_shader() 217 int program_id = shader_state->program_id; in vc5_get_compiled_shader() 219 p_atomic_inc_return(&shader_state->compiled_variant_count); in vc5_get_compiled_shader() 348 key->base.shader_state = vc5->prog.bind_fs; in vc5_update_compiled_fs() 438 key->base.shader_state = vc5->prog.bind_vs; in vc5_update_compiled_vs() 459 struct vc5_uncompiled_shader *shader_state = key->base.shader_state; in vc5_update_compiled_vs() local 460 memcpy(key->fs_inputs, shader_state->tf_outputs, in vc5_update_compiled_vs() 461 sizeof(*key->fs_inputs) * shader_state->num_tf_outputs); in vc5_update_compiled_vs() 462 if (shader_state->num_tf_outputs < key->num_fs_inputs) { in vc5_update_compiled_vs() [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/broadcom/clif/ |
D | v3dx_dump.c | 62 reloc->shader_state.num_attrs = in v3dX() 158 for (int i = 0; i < reloc->shader_state.num_attrs; i++) { in v3dX()
|
D | clif_private.h | 58 } shader_state; member
|
/external/vulkan-validation-layers/layers/ |
D | gpu_validation.cpp | 579 …auto shader_state = GetShaderModuleState(pipeline_state->graphicsPipelineCI.pStages[stage].module); in GpuPostCallRecordCreateGraphicsPipelines() local 585 …if (shader_state && shader_state->has_valid_spirv) { // really checking for presense of SPIR-V co… in GpuPostCallRecordCreateGraphicsPipelines() 586 for (auto insn : *shader_state) { in GpuPostCallRecordCreateGraphicsPipelines() 588 code = shader_state->words; in GpuPostCallRecordCreateGraphicsPipelines() 593 … gpu_state->shader_map[shader_state->gpu_validation_shader_id].pipeline = pipeline_state->pipeline; in GpuPostCallRecordCreateGraphicsPipelines() 596 gpu_state->shader_map[shader_state->gpu_validation_shader_id].shader_module = in GpuPostCallRecordCreateGraphicsPipelines() 598 gpu_state->shader_map[shader_state->gpu_validation_shader_id].pgm = std::move(code); in GpuPostCallRecordCreateGraphicsPipelines()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_draw.c | 227 cl_emit(&job->bcl, GL_SHADER_STATE, shader_state) { in vc4_emit_gl_shader_state() 233 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() 2600 nir_shader *orig_shader = key->shader_state->base.ir.nir; in vc4_get_compiled_shader() 2733 key->base.shader_state = vc4->prog.bind_fs; in vc4_update_compiled_fs() 2806 key->base.shader_state = vc4->prog.bind_vs; in vc4_update_compiled_vs() 2901 if (key->shader_state == so) { in delete_from_cache_if_matches()
|
D | vc4_qir.h | 328 struct vc4_uncompiled_shader *shader_state; member 480 struct pipe_shader_state *shader_state; member
|
/external/mesa3d/src/broadcom/compiler/ |
D | v3d_compiler.h | 294 void *shader_state; member 482 struct pipe_shader_state *shader_state; member
|
/external/mesa3d/src/gallium/drivers/trace/ |
D | tr_context.c | 522 trace_dump_arg(shader_state, state); \
|
/external/mesa3d/src/gallium/drivers/ddebug/ |
D | dd_draw.c | 244 DUMP(shader_state, &dstate->shaders[sh]->state.shader); in dd_dump_shader()
|