Home
last modified time | relevance | path

Searched refs:shader_state (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_emit.c112 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 …]
Detnaviv_context.h154 struct compiled_shader_state shader_state; member
Detnaviv_shader.c229 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/
Dvc5_program.c197 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/
Dvc4_validate.c253 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 …]
Dvc4_drv.h69 } *shader_state; member
Dvc4_gem.c73 exec->shader_state = temp + exec_size; in vc4_get_bcl()
/external/mesa3d/src/broadcom/clif/
Dv3dx_dump.c62 reloc->shader_state.num_attrs = in v3dX()
158 for (int i = 0; i < reloc->shader_state.num_attrs; i++) { in v3dX()
Dclif_private.h58 } shader_state; member
/external/vulkan-validation-layers/layers/
Dgpu_validation.cpp579 …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/
Dvc4_draw.c227 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()
Dvc4_program.c2226 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()
Dvc4_qir.h328 struct vc4_uncompiled_shader *shader_state; member
480 struct pipe_shader_state *shader_state; member
/external/mesa3d/src/broadcom/compiler/
Dv3d_compiler.h294 void *shader_state; member
482 struct pipe_shader_state *shader_state; member
/external/mesa3d/src/gallium/drivers/trace/
Dtr_context.c522 trace_dump_arg(shader_state, state); \
/external/mesa3d/src/gallium/drivers/ddebug/
Ddd_draw.c244 DUMP(shader_state, &dstate->shaders[sh]->state.shader); in dd_dump_shader()