Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/common/
Dac_nir_lower_esgs_io_to_mem.c217 nir_ssa_def *vertex_offset = gs_get_vertex_offset(b, st, 0); in gs_per_vertex_input_vertex_offset_gfx6() local
222 vertex_offset = nir_bcsel(b, cond, elem, vertex_offset); in gs_per_vertex_input_vertex_offset_gfx6()
225 return vertex_offset; in gs_per_vertex_input_vertex_offset_gfx6()
238 nir_ssa_def *vertex_offset = gs_get_vertex_offset(b, st, 0); in gs_per_vertex_input_vertex_offset_gfx9() local
246 vertex_offset = nir_bcsel(b, cond, elem, vertex_offset); in gs_per_vertex_input_vertex_offset_gfx9()
249 return nir_iand_imm(b, vertex_offset, 0xffffu); in gs_per_vertex_input_vertex_offset_gfx9()
258 nir_ssa_def *vertex_offset = st->gfx_level >= GFX9 in gs_per_vertex_input_offset() local
264 nir_ssa_def *off = nir_iadd(b, io_off, vertex_offset); in gs_per_vertex_input_offset()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_cmd_enqueue.c111 cmd->u.draw_multi_indexed_ext.vertex_offset = in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
113 sizeof(*cmd->u.draw_multi_indexed_ext.vertex_offset), 8, in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
116 memcpy(cmd->u.draw_multi_indexed_ext.vertex_offset, pVertexOffset, in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
117 sizeof(*cmd->u.draw_multi_indexed_ext.vertex_offset)); in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tess.c156 nir_ssa_def *vertex_offset = nir_imul24(b, vertex, vertex_stride); in build_local_offset() local
159 b, nir_iadd(b, primitive_offset, vertex_offset), in build_local_offset()
425 nir_ssa_def *vertex_offset; in build_per_vertex_offset() local
442 vertex_offset = nir_ishl(b, vertex, nir_imm_int(b, 2)); in build_per_vertex_offset()
448 vertex_offset = nir_imm_int(b, 0); in build_per_vertex_offset()
451 return nir_iadd(b, nir_iadd(b, patch_offset, attr_offset), vertex_offset); in build_per_vertex_offset()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_compute_transforms.cpp125 nir_ssa_def *vertex_offset = nir_imul(&b, nir_imm_int(&b, key->fake_so_buffer_copy_back.stride), in get_fake_so_buffer_copy_back() local
128 nir_ssa_def *output_offset_base = nir_iadd(&b, original_so_filled_size, vertex_offset); in get_fake_so_buffer_copy_back()
129 nir_ssa_def *input_offset_base = nir_imul(&b, vertex_offset, fake_so_multiplier); in get_fake_so_buffer_copy_back()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_nir.h45 int32_t vertex_offset; member
Ddzn_cmd_buffer.c3915 .vertex_offset = vertexOffset, in dzn_CmdDrawIndexed()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cVertexAttrib64BitTest.cpp2439 GLuint vertex_offset = vertex * configuration.m_vertex_length; in setAttributes_a_scalar() local
2441 const GLint group_offset = calculateAttributeGroupOffset(configuration, n_type) + vertex_offset; in setAttributes_a_scalar()
2467 GLuint vertex_offset = vertex * configuration.m_vertex_length; in setAttributes_a_vec() local
2469 const GLint group_offset = calculateAttributeGroupOffset(configuration, n_type) + vertex_offset; in setAttributes_a_vec()
2500 GLuint vertex_offset = vertex * configuration.m_vertex_length; in setAttributes_b() local
2502 const GLint group_offset = calculateAttributeGroupOffset(configuration, n_type) + vertex_offset; in setAttributes_b()
2541 GLuint vertex_offset = vertex * configuration.m_vertex_length; in setAttributes_c() local
2543 const GLint group_offset = calculateAttributeGroupOffset(configuration, n_type) + vertex_offset; in setAttributes_c()
2973 const GLuint vertex_offset = vertex * m_n_varyings; in verifyResult() local
2975 if (1 != buffer_data[vertex_offset + instance_offset]) in verifyResult()
Dgl4cGPUShaderFP64Tests.cpp15165 const glw::GLuint vertex_offset = arguments_stride * vertex; in testBegin() local
15193 …const glw::GLdouble* uniform_src = (glw::GLdouble*)&m_argument_data[vertex_offset + argument_offs… in testBegin()
15277 const glw::GLuint vertex_offset = arguments_stride * vertex; in isResultEdgeCase() local
15280 const glw::GLuint argument_1_index = argument_1_offset + vertex_offset; in isResultEdgeCase()
15281 const glw::GLuint argument_2_index = argument_2_offset + vertex_offset; in isResultEdgeCase()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5TextureGatherOffset.cpp1148 const unsigned int vertex_offset = m_n_coordinates_components * index; in setCoordinatesData() local
1150 m_coordinates_buffer_data[vertex_offset + 0] = x; in setCoordinatesData()
1151 m_coordinates_buffer_data[vertex_offset + 1] = y; in setCoordinatesData()
1164 const unsigned int vertex_offset = m_n_coordinates_components * index; in setCoordinatesData() local
1166 m_coordinates_buffer_data[vertex_offset + 0] = x; in setCoordinatesData()
1167 m_coordinates_buffer_data[vertex_offset + 1] = y; in setCoordinatesData()
1168 m_coordinates_buffer_data[vertex_offset + 2] = z; in setCoordinatesData()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderInput.cpp425 const unsigned int vertex_offset = vertex_id * m_n_bytes_emitted_per_vertex; in iterate() local
426 const unsigned int ivec4_offset = vertex_offset + ivec4_offset_from_vertex; in iterate()
427 const unsigned int vec2_offset = vertex_offset + vec2_offset_from_vertex; in iterate()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_cmd_buffer.h250 uint32_t vertex_offset; member
Dtu_cmd_buffer.c4641 uint32_t vertex_offset, in tu6_emit_vs_params() argument
4648 vertex_offset == cmd->state.last_vs_params.vertex_offset && in tu6_emit_vs_params()
4663 A6XX_VFD_INDEX_OFFSET(vertex_offset), in tu6_emit_vs_params()
4677 tu_cs_emit(&cs, vertex_offset); in tu6_emit_vs_params()
4682 cmd->state.last_vs_params.vertex_offset = vertex_offset; in tu6_emit_vs_params()
/third_party/mesa3d/src/amd/vulkan/
Dradv_device_generated_commands.c788 nir_ssa_def *vertex_offset = nir_channel(&b, draw_data0, 2); in build_dgc_prepare_shader() local
793 … dgc_emit_userdata_vertex(&b, &cmd_buf, vtx_base_sgpr, vertex_offset, first_instance, sequence_id); in build_dgc_prepare_shader()
878 nir_ssa_def *vertex_offset = nir_channel(&b, draw_data0, 3); in build_dgc_prepare_shader() local
883 … dgc_emit_userdata_vertex(&b, &cmd_buf, vtx_base_sgpr, vertex_offset, first_instance, sequence_id); in build_dgc_prepare_shader()
Dradv_cmd_buffer.c6836 const struct radv_draw_info *info, const uint32_t vertex_offset) in radv_emit_userdata_vertex_internal() argument
6845 radeon_emit(cs, vertex_offset); in radv_emit_userdata_vertex_internal()
6846 state->last_vertex_offset = vertex_offset; in radv_emit_userdata_vertex_internal()
6859 const uint32_t vertex_offset) in radv_emit_userdata_vertex() argument
6868 if (vertex_offset != state->last_vertex_offset) { in radv_emit_userdata_vertex()
6869 radv_emit_userdata_vertex_internal(cmd_buffer, info, vertex_offset); in radv_emit_userdata_vertex()
6871 radv_emit_userdata_vertex_internal(cmd_buffer, info, vertex_offset); in radv_emit_userdata_vertex()
6873 radv_emit_userdata_vertex_internal(cmd_buffer, info, vertex_offset); in radv_emit_userdata_vertex()
6878 radv_emit_userdata_vertex_drawid(struct radv_cmd_buffer *cmd_buffer, uint32_t vertex_offset, uint32… in radv_emit_userdata_vertex_drawid() argument
6883 radeon_emit(cs, vertex_offset); in radv_emit_userdata_vertex_drawid()
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir.c141 nir_ssa_def *vertex_offset = in remap_patch_urb_offsets() local
150 nir_iadd(b, vertex_offset, in remap_patch_urb_offsets()
/third_party/mesa3d/src/mesa/vbo/
Dvbo_save_api.c552 unsigned vertex_offset = 0; in compile_vertex_list() local
555 vertex_offset = (node->cold->vertex_count - 1) * stride; in compile_vertex_list()
557 memcpy(node->cold->current_data, buffer + vertex_offset + attr_offset, in compile_vertex_list()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_cmd_buffer.c219 unsigned base_vertex = draw->index_size ? draw->vertex_offset : 0; in panvk_cmd_prepare_draw_sysvals()
887 .vertex_offset = vertexOffset, in panvk_per_arch()
Dpanvk_private.h604 int vertex_offset; member
Dpanvk_vX_cs.c450 cfg.base_vertex_offset = draw->vertex_offset - draw->offset_start; in panvk_emit_tiler_primitive()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_vulkan.cpp389 VkDeviceSize vertex_offset[1] = { 0 }; in ImGui_ImplVulkan_SetupRenderState() local
390 vkCmdBindVertexBuffers(command_buffer, 0, 1, vertex_buffers, vertex_offset); in ImGui_ImplVulkan_SetupRenderState()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c2688 draw.index_bias = cmd->u.draw_indexed.vertex_offset; in handle_draw_indexed()
2692 state->info.index_bias_varies = !cmd->u.draw_indexed.vertex_offset; in handle_draw_indexed()
2721 cmd->u.draw_multi_indexed_ext.vertex_offset) in handle_draw_multi_indexed()
2722 draws[0].index_bias = *cmd->u.draw_multi_indexed_ext.vertex_offset; in handle_draw_multi_indexed()
2728 state->info.index_bias_varies = !cmd->u.draw_multi_indexed_ext.vertex_offset; in handle_draw_multi_indexed()
/third_party/mesa3d/src/vulkan/overlay-layer/
Doverlay.cpp1272 VkDeviceSize vertex_offset[1] = { 0 }; in render_swapchain_display() local
1273 …evice_data->vtable.CmdBindVertexBuffers(draw->command_buffer, 0, 1, vertex_buffers, vertex_offset); in render_swapchain_display()