Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/vulkan/
Dradv_shader.h527 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()
Dradv_nir_to_llvm.c176 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/
Dsi_state_draw.c85 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/
Devergreen_state.c4517 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/
Daco_instruction_selection.cpp4186 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()