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.c35 int first_non_void) in radv_translate_buffer_dataformat() argument
43 if (first_non_void < 0) in radv_translate_buffer_dataformat()
45 type = desc->channel[first_non_void].type; in radv_translate_buffer_dataformat()
58 if (desc->channel[first_non_void].size != desc->channel[i].size) in radv_translate_buffer_dataformat()
62 switch (desc->channel[first_non_void].size) { in radv_translate_buffer_dataformat()
89 !desc->channel[first_non_void].pure_integer) in radv_translate_buffer_dataformat()
109 int first_non_void) in radv_translate_buffer_numformat() argument
114 if (first_non_void < 0) in radv_translate_buffer_numformat()
117 switch (desc->channel[first_non_void].type) { in radv_translate_buffer_numformat()
119 if (desc->channel[first_non_void].normalized) in radv_translate_buffer_numformat()
[all …]
Dradv_image.c169 int first_non_void; in radv_make_buffer_descriptor() local
171 first_non_void = vk_format_get_first_non_void_channel(vk_format); in radv_make_buffer_descriptor()
174 num_format = radv_translate_buffer_numformat(desc, first_non_void); in radv_make_buffer_descriptor()
175 data_format = radv_translate_buffer_dataformat(desc, first_non_void); in radv_make_buffer_descriptor()
263 int first_non_void; in si_make_texture_descriptor() local
275 first_non_void = vk_format_get_first_non_void_channel(vk_format); in si_make_texture_descriptor()
277 num_format = radv_translate_tex_numformat(vk_format, desc, first_non_void); in si_make_texture_descriptor()
282 data_format = radv_translate_tex_dataformat(vk_format, desc, first_non_void); in si_make_texture_descriptor()
Dradv_private.h958 int first_non_void);
960 int first_non_void);
964 int first_non_void);
970 int first_non_void);
973 int first_non_void);
Dradv_pipeline.c1392 int first_non_void; in radv_pipeline_init() local
1395 first_non_void = vk_format_get_first_non_void_channel(desc->format); in radv_pipeline_init()
1397 num_format = radv_translate_buffer_numformat(format_desc, first_non_void); in radv_pipeline_init()
1398 data_format = radv_translate_buffer_dataformat(format_desc, first_non_void); in radv_pipeline_init()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c1351 int first_non_void) in si_translate_texformat() argument
1548 if (first_non_void < 0 || first_non_void > 3) in si_translate_texformat()
1552 switch (desc->channel[first_non_void].size) { in si_translate_texformat()
1706 int first_non_void) in si_translate_buffer_dataformat() argument
1713 assert(first_non_void >= 0); in si_translate_buffer_dataformat()
1724 if (desc->channel[first_non_void].size != desc->channel[i].size) in si_translate_buffer_dataformat()
1728 switch (desc->channel[first_non_void].size) { in si_translate_buffer_dataformat()
1770 int first_non_void) in si_translate_buffer_numformat() argument
1775 assert(first_non_void >= 0); in si_translate_buffer_numformat()
1777 switch (desc->channel[first_non_void].type) { in si_translate_buffer_numformat()
[all …]