Lines Matching refs:ip
51 uint32_t ip; member
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()
578 int ip) in check_branch() argument
592 validation_state->ip); in check_branch()
603 uint64_t inst = validation_state->shader[validation_state->ip]; in check_instruction_reads()
638 int ip; in vc4_validate_branches() local
641 for (ip = 0; ip < validation_state->max_ip; ip++) { in vc4_validate_branches()
642 uint64_t inst = validation_state->shader[ip]; in vc4_validate_branches()
645 uint32_t after_delay_ip = ip + 4; in vc4_validate_branches()
655 validation_state->max_ip = ip + 3; in vc4_validate_branches()
662 if (ip - last_branch < 4) { in vc4_validate_branches()
663 DRM_DEBUG("Branch at %d during delay slots\n", ip); in vc4_validate_branches()
666 last_branch = ip; in vc4_validate_branches()
692 ip, branch_target_ip, in vc4_validate_branches()
704 ip, after_delay_ip, validation_state->max_ip); in vc4_validate_branches()
747 uint32_t ip = validation_state->ip; in vc4_handle_branch_target() local
749 if (!test_bit(ip, validation_state->branch_targets)) in vc4_handle_branch_target()
785 uint32_t ip; in vc4_validate_shader() local
811 for (ip = 0; ip < validation_state.max_ip; ip++) { in vc4_validate_shader()
812 uint64_t inst = validation_state.shader[ip]; in vc4_validate_shader()
815 validation_state.ip = ip; in vc4_validate_shader()
820 if (ip == last_thread_switch_ip + 3) { in vc4_validate_shader()
844 DRM_DEBUG("Bad write at ip %d\n", ip); in vc4_validate_shader()
854 shader_end_ip = ip; in vc4_validate_shader()
861 if (ip < last_thread_switch_ip + 3) { in vc4_validate_shader()
863 "last switch at ip %d\n", ip); in vc4_validate_shader()
866 last_thread_switch_ip = ip; in vc4_validate_shader()
874 DRM_DEBUG("Bad LOAD_IMM write at ip %d\n", ip); in vc4_validate_shader()
881 &validation_state, ip)) in vc4_validate_shader()
884 if (ip < last_thread_switch_ip + 3) { in vc4_validate_shader()
886 ip); in vc4_validate_shader()
893 "instruction %d\n", sig, ip); in vc4_validate_shader()
900 if (found_shader_end && ip == shader_end_ip + 2) in vc4_validate_shader()
904 if (ip == validation_state.max_ip) { in vc4_validate_shader()