Searched refs:output_patch0_offset (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/amd/vulkan/ |
D | radv_shader.h | 527 unsigned output_patch0_offset = input_patch_size * tcs_num_patches; in calculate_tess_lds_size() local 529 unsigned lds_size = output_patch0_offset + output_patch_size * tcs_num_patches; in calculate_tess_lds_size()
|
D | radv_nir_to_llvm.c | 176 uint32_t output_patch0_offset = input_patch_size; in get_tcs_out_patch0_offset() local 179 output_patch0_offset *= num_patches; in get_tcs_out_patch0_offset() 180 output_patch0_offset /= 4; in get_tcs_out_patch0_offset() 181 return LLVMConstInt(ctx->ac.i32, output_patch0_offset, false); in get_tcs_out_patch0_offset() 190 uint32_t output_patch0_offset = input_patch_size; in get_tcs_out_patch0_patch_data_offset() local 197 output_patch0_offset *= num_patches; in get_tcs_out_patch0_patch_data_offset() 198 output_patch0_offset += pervertex_output_patch_size; in get_tcs_out_patch0_patch_data_offset() 199 output_patch0_offset /= 4; in get_tcs_out_patch0_patch_data_offset() 200 return LLVMConstInt(ctx->ac.i32, output_patch0_offset, false); in get_tcs_out_patch0_patch_data_offset()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_draw.c | 85 unsigned input_patch_size, output_patch_size, output_patch0_offset; in si_emit_derived_tess_state() local 205 output_patch0_offset = input_patch_size * *num_patches; in si_emit_derived_tess_state() 206 perpatch_output_offset = output_patch0_offset + pervertex_output_patch_size; in si_emit_derived_tess_state() 213 assert(((output_patch0_offset / 16) & ~0xffff) == 0); in si_emit_derived_tess_state() 225 tcs_out_offsets = (output_patch0_offset / 16) | ((perpatch_output_offset / 16) << 16); in si_emit_derived_tess_state() 230 lds_size = output_patch0_offset + output_patch_size * *num_patches; in si_emit_derived_tess_state()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | evergreen_state.c | 4517 unsigned output_patch0_offset, perpatch_output_offset, lds_size; in evergreen_setup_tess_constants() local 4563 output_patch0_offset = rctx->tcs_shader ? input_patch_size * *num_patches : 0; in evergreen_setup_tess_constants() 4564 perpatch_output_offset = output_patch0_offset + pervertex_output_patch_size; in evergreen_setup_tess_constants() 4566 lds_size = output_patch0_offset + output_patch_size * *num_patches; in evergreen_setup_tess_constants() 4575 values[6] = output_patch0_offset; in evergreen_setup_tess_constants()
|
/external/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 4186 uint32_t output_patch0_offset = (input_patch_size * ctx->tcs_num_patches); in get_tcs_output_lds_offset() local 4187 offs = offset_add(ctx, offs, std::make_pair(patch_off, output_patch0_offset)); in get_tcs_output_lds_offset()
|