Lines Matching full:shader
25 * DOC: Shader validator for VC4.
34 * The shader validator walks over a shader's BO, ensuring that its
39 * Shader BO are immutable for their lifetimes (enforced by not
53 /* IP at the end of the BO, do not read shader[max_ip] */
56 uint64_t *shader; member
87 * stream, even if the shader didn't need to read uniforms in later
94 * a threaded shader, then the other shader running on our
187 uint64_t inst = validation_state->shader[validation_state->ip]; in check_tmu_write()
311 uint64_t inst = validation_state->shader[validation_state->ip]; in validate_uniform_address_write()
390 uint64_t inst = validation_state->shader[validation_state->ip]; in check_reg_write()
481 uint64_t inst = validation_state->shader[validation_state->ip]; in track_live_clamps()
556 uint64_t inst = validation_state->shader[validation_state->ip]; in check_instruction_writes()
603 uint64_t inst = validation_state->shader[validation_state->ip]; in check_instruction_reads()
631 /* Make sure that all branches are absolute and point within the shader, and
642 uint64_t inst = validation_state->shader[ip]; in vc4_validate_branches()
682 * end of the shader object. in vc4_validate_branches()
691 DRM_DEBUG("Branch at %d outside of shader (ip %d/%d)\n", in vc4_validate_branches()
699 * the shader. in vc4_validate_branches()
702 DRM_DEBUG("Branch at %d continues past shader end " in vc4_validate_branches()
719 /* Resets any known state for the shader, used when we may be branched to from
720 * multiple locations in the program (or at shader start).
793 validation_state.shader = shader_obj->vaddr; in vc4_validate_shader()
812 uint64_t inst = validation_state.shader[ip]; in vc4_validate_shader()
905 DRM_DEBUG("shader failed to terminate before " in vc4_validate_shader()
906 "shader BO end at %zd\n", in vc4_validate_shader()
914 DRM_DEBUG("Shader uses threading, but uses the upper " in vc4_validate_shader()