Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_program.c708 const bool is_cp = prog->type == PIPE_SHADER_COMPUTE; in nvc0_program_alloc_code() local
710 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() local
753 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() local
793 uint32_t size = prog->code_size + (is_cp ? 0 : NVC0_SHADER_HEADER_SIZE); in nvc0_program_upload()