Searched refs:is_cp (Results 1 – 1 of 1) sorted by relevance
708 const bool is_cp = prog->type == PIPE_SHADER_COMPUTE; in nvc0_program_alloc_code() local710 uint32_t size = prog->code_size + (is_cp ? 0 : NVC0_SHADER_HEADER_SIZE); in nvc0_program_alloc_code()717 size = size + (is_cp ? 0x40 : 0x70); in nvc0_program_alloc_code()725 if (!is_cp) { in nvc0_program_alloc_code()752 const bool is_cp = prog->type == PIPE_SHADER_COMPUTE; in nvc0_program_upload_code() local753 uint32_t code_pos = prog->code_base + (is_cp ? 0 : NVC0_SHADER_HEADER_SIZE); in nvc0_program_upload_code()777 if (!is_cp) in nvc0_program_upload_code()791 const bool is_cp = prog->type == PIPE_SHADER_COMPUTE; in nvc0_program_upload() local793 uint32_t size = prog->code_size + (is_cp ? 0 : NVC0_SHADER_HEADER_SIZE); in nvc0_program_upload()