Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/common/
Dgfx10_format_table.py183 num_format = 'SRGB'
187 num_format = 'UINT'
190 num_format = 'UINT'
193 num_format = 'UNORM'
195 num_format = 'USCALED'
199 num_format = 'SINT'
202 num_format = 'SINT'
205 num_format = 'SNORM'
207 num_format = 'SSCALED'
210 num_format = 'FLOAT'
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_formats.c522 uint32_t num_format; in radv_is_sampler_format_supported() local
526 num_format = in radv_is_sampler_format_supported()
529 if (num_format == V_008F14_IMG_NUM_FORMAT_USCALED || in radv_is_sampler_format_supported()
530 num_format == V_008F14_IMG_NUM_FORMAT_SSCALED) in radv_is_sampler_format_supported()
533 if (num_format == V_008F14_IMG_NUM_FORMAT_UNORM || num_format == V_008F14_IMG_NUM_FORMAT_SNORM || in radv_is_sampler_format_supported()
534 num_format == V_008F14_IMG_NUM_FORMAT_FLOAT || num_format == V_008F14_IMG_NUM_FORMAT_SRGB) in radv_is_sampler_format_supported()
555 unsigned data_format, num_format; in radv_is_storage_image_format_supported() local
561 num_format = in radv_is_storage_image_format_supported()
564 if (data_format == ~0 || num_format == ~0) in radv_is_storage_image_format_supported()
568 switch (num_format) { in radv_is_storage_image_format_supported()
[all …]
Dradv_image.c719 unsigned num_format, data_format; in radv_make_buffer_descriptor() local
756 num_format = radv_translate_buffer_numformat(desc, first_non_void); in radv_make_buffer_descriptor()
760 assert(num_format != ~0); in radv_make_buffer_descriptor()
762 state[3] |= S_008F0C_NUM_FORMAT(num_format) | S_008F0C_DATA_FORMAT(data_format); in radv_make_buffer_descriptor()
1125 unsigned num_format, data_format, type; in si_make_texture_descriptor() local
1144 num_format = radv_translate_tex_numformat(vk_format, desc, first_non_void); in si_make_texture_descriptor()
1145 if (num_format == ~0) { in si_make_texture_descriptor()
1146 num_format = 0; in si_make_texture_descriptor()
1184 S_008F14_NUM_FORMAT(num_format)); in si_make_texture_descriptor()
1250 num_format = V_008F14_IMG_NUM_FORMAT_FMASK_8_2_2; in si_make_texture_descriptor()
[all …]
Dradv_nir_to_llvm.c399 unsigned num_format = (attrib_format >> 4) & 0x07; in load_vs_input() local
401 num_format != V_008F0C_BUF_NUM_FORMAT_UINT && num_format != V_008F0C_BUF_NUM_FORMAT_SINT; in load_vs_input()
468 ctx->ac.i32_0, 1, chan_format, num_format, 0, true); in load_vs_input()
484 ctx->ac.i32_0, num_channels, data_format, num_format, 0, true); in load_vs_input()
Dradv_pipeline.c1533 unsigned num_format, data_format; in radv_pipeline_init_vertex_input_info() local
1542 radv_translate_vertex_format(pdevice, desc->format, format_desc, &data_format, &num_format, in radv_pipeline_init_vertex_input_info()
1545 info.vertex_attribute_formats[location] = data_format | (num_format << 4); in radv_pipeline_init_vertex_input_info()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_util.c74 fmt->num_format = SQ_TEX_NUM_FORMAT_INT; in pipe2surface()
131 .num_format = SQ_TEX_NUM_FORMAT_FRAC, in fd2_pipe2surface()
Dfd2_util.h39 enum sq_tex_num_format num_format : 1; member
Dfd2_texture.c190 so->tex3 = A2XX_SQ_TEX_3_NUM_FORMAT(fmt.num_format) | in fd2_sampler_view_create()
Dfd2_program.c176 instr->num_format_all = fmt.num_format; in patch_vtx_fetch()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c3963 unsigned num_format, data_format; in si_make_buffer_descriptor() local
3966 num_format = si_translate_buffer_numformat(&screen->b, desc, first_non_void); in si_make_buffer_descriptor()
3969 state[7] |= S_008F0C_NUM_FORMAT(num_format) | S_008F0C_DATA_FORMAT(data_format); in si_make_buffer_descriptor()
4201 unsigned num_format, data_format, type, num_samples; in si_make_texture_descriptor() local
4242 num_format = V_008F14_IMG_NUM_FORMAT_UNORM; in si_make_texture_descriptor()
4256 num_format = V_008F14_IMG_NUM_FORMAT_SRGB; in si_make_texture_descriptor()
4267 num_format = V_008F14_IMG_NUM_FORMAT_SNORM; in si_make_texture_descriptor()
4270 num_format = V_008F14_IMG_NUM_FORMAT_UNORM; in si_make_texture_descriptor()
4274 num_format = V_008F14_IMG_NUM_FORMAT_UNORM; in si_make_texture_descriptor()
4276 num_format = V_008F14_IMG_NUM_FORMAT_FLOAT; in si_make_texture_descriptor()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvenc.c328 guint num_format = 0; in gst_nvenc_get_supported_input_formats() local
384 num_format++; in gst_nvenc_get_supported_input_formats()
391 num_format++; in gst_nvenc_get_supported_input_formats()
397 num_format++; in gst_nvenc_get_supported_input_formats()
403 num_format++; in gst_nvenc_get_supported_input_formats()
411 num_format++; in gst_nvenc_get_supported_input_formats()
421 if (num_format == 0) in gst_nvenc_get_supported_input_formats()
Dgstnvbaseenc.c818 gint num_format = 0; in gst_nv_base_enc_set_filtered_input_formats() local
841 num_format++; in gst_nv_base_enc_set_filtered_input_formats()
848 num_format++; in gst_nv_base_enc_set_filtered_input_formats()
860 num_format++; in gst_nv_base_enc_set_filtered_input_formats()
868 if (num_format == 0) { in gst_nv_base_enc_set_filtered_input_formats()
874 if (num_format > 1) in gst_nv_base_enc_set_filtered_input_formats()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instr_fetch.h69 EVFetchNumFormat num_format,
87 EVFetchNumFormat num_format() const {return m_num_format;} in num_format() function
Dsfn_instr_fetch.cpp45 EVFetchNumFormat num_format, in FetchInstr() argument
55 m_num_format(num_format), in FetchInstr()
Dsfn_instr_mem.cpp756 unsigned num_format = 0; in emit_image_load_or_atomic() local
759 r600_vertex_data_type(format, &fmt, &num_format, &format_comp, &endian); in emit_image_load_or_atomic()
767 (EVFetchNumFormat)num_format, in emit_image_load_or_atomic()
Dsfn_assembler.cpp681 vtx.num_format_all = fetch_instr.num_format(); /* NUM_FORMAT_SCALED */ in visit()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_asm.h356 unsigned *num_format, unsigned *format_comp, unsigned *endian);
Dr600_asm.c2540 unsigned *num_format, unsigned *format_comp, unsigned *endian) in r600_vertex_data_type() argument
2546 *num_format = 0; in r600_vertex_data_type()
2702 *num_format = 0; in r600_vertex_data_type()
2707 *num_format = 1; in r600_vertex_data_type()
2709 *num_format = 2; in r600_vertex_data_type()
2726 unsigned format, num_format, format_comp, endian; in r600_create_vertex_fetch_shader() local
2784 &format, &num_format, &format_comp, &endian); in r600_create_vertex_fetch_shader()
2806 vtx.num_format_all = num_format; in r600_create_vertex_fetch_shader()
Dr600_state.c634 unsigned format, num_format, format_comp, endian; in texture_buffer_sampler_view() local
639 &format, &num_format, &format_comp, in texture_buffer_sampler_view()
650 S_038008_NUM_FORMAT_ALL(num_format) | in texture_buffer_sampler_view()
Devergreen_state.c646 unsigned format, num_format, format_comp, endian; in evergreen_fill_buffer_resource_words() local
651 &format, &num_format, &format_comp, in evergreen_fill_buffer_resource_words()
668 S_030008_NUM_FORMAT_ALL(num_format) | in evergreen_fill_buffer_resource_words()
Dr600_shader.c8923 unsigned format, num_format, format_comp, endian; in tgsi_load_rat() local
8957 &format, &num_format, &format_comp, &endian); in tgsi_load_rat()
8972 vtx.num_format_all = num_format; in tgsi_load_rat()
9253 unsigned format, num_format, format_comp, endian; in tgsi_atomic_op_rat() local
9339 &format, &num_format, &format_comp, &endian); in tgsi_atomic_op_rat()
9343 num_format = 1; in tgsi_atomic_op_rat()
9361 vtx.num_format_all = num_format; in tgsi_atomic_op_rat()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
Dsfn_instr_test.cpp633 EXPECT_EQ(fetch.num_format(), vtx_nf_norm); in TEST_F()
766 EXPECT_EQ(fetch.num_format(), vtx_nf_int); in TEST_F()