Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/vulkan/
Dradv_shader.h522 unsigned input_patch_size = tcs_num_input_vertices * input_vertex_size; in calculate_tess_lds_size() local
527 unsigned output_patch0_offset = input_patch_size * tcs_num_patches; in calculate_tess_lds_size()
553 uint32_t input_patch_size = tcs_num_input_vertices * input_vertex_size; in get_tcs_num_patches() local
576 if (input_patch_size + output_patch_size) in get_tcs_num_patches()
577 num_patches = MIN2(num_patches, hardware_lds_size / (input_patch_size + output_patch_size)); in get_tcs_num_patches()
Dradv_nir_to_llvm.c143 uint32_t input_patch_size = ctx->args->options->key.tcs.input_vertices * input_vertex_size; in get_tcs_in_patch_stride() local
145 input_patch_size /= 4; in get_tcs_in_patch_stride()
146 return LLVMConstInt(ctx->ac.i32, input_patch_size, false); in get_tcs_in_patch_stride()
175 uint32_t input_patch_size = ctx->args->options->key.tcs.input_vertices * input_vertex_size; in get_tcs_out_patch0_offset() local
176 uint32_t output_patch0_offset = input_patch_size; in get_tcs_out_patch0_offset()
189 uint32_t input_patch_size = ctx->args->options->key.tcs.input_vertices * input_vertex_size; in get_tcs_out_patch0_patch_data_offset() local
190 uint32_t output_patch0_offset = input_patch_size; in get_tcs_out_patch0_patch_data_offset()
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderTCTE.hpp480 unsigned int input_patch_size; member
490 input_patch_size = 0; in _test_descriptor()
501 unsigned int input_patch_size);
DesextcTessellationShaderTCTE.cpp3901 unsigned int input_patch_size) in initTestDescriptor() argument
3903 out_test_ptr->input_patch_size = input_patch_size; in initTestDescriptor()
3963 vertices_stringstream << input_patch_size; in initTestDescriptor()
4120 gl.patchParameteri(m_glExtTokens.PATCH_VERTICES, test_iterator->input_patch_size); in iterate()
4123 n_patch_vertices = test_iterator->input_patch_size; in iterate()
4167 if (te_PatchVerticesInSize != test_iterator->input_patch_size) in iterate()
4171 << " expected:" << test_iterator->input_patch_size in iterate()
/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
134 input_patch_size = num_tcs_input_cp * input_vertex_size; in si_emit_derived_tess_state()
154 *num_patches = MIN2(*num_patches, hardware_lds_size / (input_patch_size + output_patch_size)); in si_emit_derived_tess_state()
205 output_patch0_offset = input_patch_size * *num_patches; in si_emit_derived_tess_state()
211 assert(((input_patch_size / 4) & ~0x1fff) == 0); in si_emit_derived_tess_state()
222 tcs_in_layout = S_VS_STATE_LS_OUT_PATCH_SIZE(input_patch_size / 4) | in si_emit_derived_tess_state()
/external/mesa3d/src/gallium/drivers/r600/
Devergreen_state.c4516 unsigned input_patch_size, pervertex_output_patch_size, output_patch_size; in evergreen_setup_tess_constants() local
4558 input_patch_size = num_tcs_input_cp * input_vertex_size; in evergreen_setup_tess_constants()
4563 output_patch0_offset = rctx->tcs_shader ? input_patch_size * *num_patches : 0; in evergreen_setup_tess_constants()
4568 values[0] = input_patch_size; in evergreen_setup_tess_constants()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp4168 … uint32_t input_patch_size = ctx->args->options->key.tcs.input_vertices * ctx->tcs_num_inputs * 16; in get_tcs_output_lds_offset() local
4186 uint32_t output_patch0_offset = (input_patch_size * ctx->tcs_num_patches); in get_tcs_output_lds_offset()
4189 …uint32_t output_patch0_patch_data_offset = (input_patch_size * ctx->tcs_num_patches + pervertex_ou… in get_tcs_output_lds_offset()