mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
radv: Remove unused functions.
Grep shows no usage. Found by manual inspection. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18284>
This commit is contained in:
parent
7833c5139a
commit
400881e6c7
2 changed files with 0 additions and 32 deletions
|
|
@ -92,12 +92,6 @@ typedef void *drmDevicePtr;
|
|||
|
||||
static VkResult radv_queue_submit(struct vk_queue *vqueue, struct vk_queue_submit *submission);
|
||||
|
||||
uint64_t
|
||||
radv_get_current_time(void)
|
||||
{
|
||||
return os_time_get_nano();
|
||||
}
|
||||
|
||||
static void
|
||||
parse_hex(char *out, const char *in, unsigned length)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2932,32 +2932,6 @@ uint32_t radv_get_indirect_cmdbuf_size(const VkGeneratedCommandsInfoNV *cmd_info
|
|||
void radv_prepare_dgc(struct radv_cmd_buffer *cmd_buffer,
|
||||
const VkGeneratedCommandsInfoNV *pGeneratedCommandsInfo);
|
||||
|
||||
uint64_t radv_get_current_time(void);
|
||||
|
||||
static inline uint32_t
|
||||
si_conv_gl_prim_to_vertices(enum shader_prim gl_prim)
|
||||
{
|
||||
switch (gl_prim) {
|
||||
case SHADER_PRIM_POINTS:
|
||||
return 1;
|
||||
case SHADER_PRIM_LINES:
|
||||
case SHADER_PRIM_LINE_STRIP:
|
||||
return 2;
|
||||
case SHADER_PRIM_TRIANGLES:
|
||||
case SHADER_PRIM_TRIANGLE_STRIP:
|
||||
return 3;
|
||||
case SHADER_PRIM_LINES_ADJACENCY:
|
||||
return 4;
|
||||
case SHADER_PRIM_TRIANGLES_ADJACENCY:
|
||||
return 6;
|
||||
case SHADER_PRIM_QUADS:
|
||||
return V_028A6C_TRISTRIP;
|
||||
default:
|
||||
assert(0);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
static inline uint32_t
|
||||
si_conv_prim_to_gs_out(uint32_t topology)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue