/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_esgs_io_to_mem.c | 217 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/ |
D | vk_cmd_enqueue.c | 111 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/ |
D | ir3_nir_lower_tess.c | 156 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/ |
D | d3d12_compute_transforms.cpp | 125 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/ |
D | dzn_nir.h | 45 int32_t vertex_offset; member
|
D | dzn_cmd_buffer.c | 3915 .vertex_offset = vertexOffset, in dzn_CmdDrawIndexed()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cVertexAttrib64BitTest.cpp | 2439 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()
|
D | gl4cGPUShaderFP64Tests.cpp | 15165 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/ |
D | esextcGPUShader5TextureGatherOffset.cpp | 1148 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/ |
D | esextcGeometryShaderInput.cpp | 425 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/ |
D | tu_cmd_buffer.h | 250 uint32_t vertex_offset; member
|
D | tu_cmd_buffer.c | 4641 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/ |
D | radv_device_generated_commands.c | 788 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()
|
D | radv_cmd_buffer.c | 6836 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/ |
D | brw_nir.c | 141 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/ |
D | vbo_save_api.c | 552 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/ |
D | panvk_vX_cmd_buffer.c | 219 unsigned base_vertex = draw->index_size ? draw->vertex_offset : 0; in panvk_cmd_prepare_draw_sysvals() 887 .vertex_offset = vertexOffset, in panvk_per_arch()
|
D | panvk_private.h | 604 int vertex_offset; member
|
D | panvk_vX_cs.c | 450 cfg.base_vertex_offset = draw->vertex_offset - draw->offset_start; in panvk_emit_tiler_primitive()
|
/third_party/skia/third_party/externals/imgui/backends/ |
D | imgui_impl_vulkan.cpp | 389 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/ |
D | lvp_execute.c | 2688 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/ |
D | overlay.cpp | 1272 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()
|