Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/vulkan/
Dradv_formats.c37 int first_non_void) in radv_translate_buffer_dataformat() argument
45 if (first_non_void < 0) in radv_translate_buffer_dataformat()
47 type = desc->channel[first_non_void].type; in radv_translate_buffer_dataformat()
60 if (desc->channel[first_non_void].size != desc->channel[i].size) in radv_translate_buffer_dataformat()
64 switch (desc->channel[first_non_void].size) { in radv_translate_buffer_dataformat()
91 !desc->channel[first_non_void].pure_integer) in radv_translate_buffer_dataformat()
111 int first_non_void) in radv_translate_buffer_numformat() argument
116 if (first_non_void < 0) in radv_translate_buffer_numformat()
119 switch (desc->channel[first_non_void].type) { in radv_translate_buffer_numformat()
121 if (desc->channel[first_non_void].normalized) in radv_translate_buffer_numformat()
[all …]
Dradv_image.c211 int first_non_void; in radv_make_buffer_descriptor() local
213 first_non_void = vk_format_get_first_non_void_channel(vk_format); in radv_make_buffer_descriptor()
216 num_format = radv_translate_buffer_numformat(desc, first_non_void); in radv_make_buffer_descriptor()
217 data_format = radv_translate_buffer_dataformat(desc, first_non_void); in radv_make_buffer_descriptor()
396 int first_non_void; in si_make_texture_descriptor() local
408 first_non_void = vk_format_get_first_non_void_channel(vk_format); in si_make_texture_descriptor()
410 num_format = radv_translate_tex_numformat(vk_format, desc, first_non_void); in si_make_texture_descriptor()
415 data_format = radv_translate_tex_dataformat(vk_format, desc, first_non_void); in si_make_texture_descriptor()
Dradv_private.h1316 int first_non_void);
1318 int first_non_void);
1322 int first_non_void);
1328 int first_non_void);
1331 int first_non_void);
Dradv_pipeline.c2663 int first_non_void; in radv_pipeline_init() local
2666 first_non_void = vk_format_get_first_non_void_channel(desc->format); in radv_pipeline_init()
2668 num_format = radv_translate_buffer_numformat(format_desc, first_non_void); in radv_pipeline_init()
2669 data_format = radv_translate_buffer_dataformat(format_desc, first_non_void); in radv_pipeline_init()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c1603 int first_non_void) in si_translate_texformat() argument
1803 if (first_non_void < 0 || first_non_void > 3) in si_translate_texformat()
1807 switch (desc->channel[first_non_void].size) { in si_translate_texformat()
1978 int first_non_void) in si_translate_buffer_dataformat() argument
1985 assert(first_non_void >= 0); in si_translate_buffer_dataformat()
1996 if (desc->channel[first_non_void].size != desc->channel[i].size) in si_translate_buffer_dataformat()
2000 switch (desc->channel[first_non_void].size) { in si_translate_buffer_dataformat()
2055 int first_non_void) in si_translate_buffer_numformat() argument
2060 assert(first_non_void >= 0); in si_translate_buffer_numformat()
2062 switch (desc->channel[first_non_void].type) { in si_translate_buffer_numformat()
[all …]