Home
last modified time | relevance | path

Searched refs:validated_shader (Results 1 - 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
H A Dvc4_validate_shaders.c151 record_texture_sample(struct vc4_validated_shader_info *validated_shader, in record_texture_sample() argument
155 uint32_t s = validated_shader->num_texture_samples; in record_texture_sample()
159 temp_samples = krealloc(validated_shader->texture_samples, in record_texture_sample()
169 validated_shader->num_texture_samples = s + 1; in record_texture_sample()
170 validated_shader->texture_samples = temp_samples; in record_texture_sample()
179 check_tmu_write(struct vc4_validated_shader_info *validated_shader, in check_tmu_write() argument
257 validated_shader->uniforms_size; in check_tmu_write()
268 validated_shader->uniforms_size += 4; in check_tmu_write()
272 if (!record_texture_sample(validated_shader, in check_tmu_write()
283 static bool require_uniform_address_uniform(struct vc4_validated_shader_info *validated_shader) in require_uniform_address_uniform() argument
303 validate_uniform_address_write(struct vc4_validated_shader_info *validated_shader, struct vc4_shader_validation_state *validation_state, bool is_mul) validate_uniform_address_write() argument
376 check_reg_write(struct vc4_validated_shader_info *validated_shader, struct vc4_shader_validation_state *validation_state, bool is_mul) check_reg_write() argument
468 track_live_clamps(struct vc4_validated_shader_info *validated_shader, struct vc4_shader_validation_state *validation_state) track_live_clamps() argument
543 check_instruction_writes(struct vc4_validated_shader_info *validated_shader, struct vc4_shader_validation_state *validation_state) check_instruction_writes() argument
565 check_branch(uint64_t inst, struct vc4_validated_shader_info *validated_shader, struct vc4_shader_validation_state *validation_state, int ip) check_branch() argument
590 check_instruction_reads(struct vc4_validated_shader_info *validated_shader, struct vc4_shader_validation_state *validation_state) check_instruction_reads() argument
775 struct vc4_validated_shader_info *validated_shader = NULL; vc4_validate_shader() local
[all...]
H A Dvc4_validate.c110 if (bo->validated_shader) { in vc4_use_bo()
800 to_vc4_bo(&bo[0]->base)->validated_shader->is_threaded) { in validate_gl_shader_rec()
805 if (to_vc4_bo(&bo[1]->base)->validated_shader->is_threaded || in validate_gl_shader_rec()
806 to_vc4_bo(&bo[2]->base)->validated_shader->is_threaded) { in validate_gl_shader_rec()
812 struct vc4_validated_shader_info *validated_shader; in validate_gl_shader_rec() local
827 validated_shader = to_vc4_bo(&bo[i]->base)->validated_shader; in validate_gl_shader_rec()
828 if (!validated_shader) in validate_gl_shader_rec()
831 if (validated_shader->uniforms_src_size > in validate_gl_shader_rec()
839 validated_shader in validate_gl_shader_rec()
[all...]
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_simulator.c200 if (bo->validated_shader) { in vc4_free_simulator_bo()
201 free(bo->validated_shader->texture_samples); in vc4_free_simulator_bo()
202 free(bo->validated_shader); in vc4_free_simulator_bo()
508 drm_bo->validated_shader = vc4_validate_shader(obj); in vc4_simulator_create_shader_bo_ioctl()
509 if (!drm_bo->validated_shader) in vc4_simulator_create_shader_bo_ioctl()
H A Dvc4_simulator_validate.h97 struct vc4_validated_shader_info *validated_shader; member

Completed in 4 milliseconds