Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/common/
Dgfx10_format_table.py181 num_format = 'SRGB'
185 num_format = 'UINT'
188 num_format = 'UINT'
191 num_format = 'UNORM'
193 num_format = 'USCALED'
196 num_format = 'SINT'
199 num_format = 'SINT'
202 num_format = 'SNORM'
204 num_format = 'SSCALED'
206 num_format = 'FLOAT'
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_formats.c484 uint32_t num_format; in radv_is_sampler_format_supported() local
488 num_format = radv_translate_tex_numformat(format, desc, in radv_is_sampler_format_supported()
491 if (num_format == V_008F14_IMG_NUM_FORMAT_USCALED || in radv_is_sampler_format_supported()
492 num_format == V_008F14_IMG_NUM_FORMAT_SSCALED) in radv_is_sampler_format_supported()
495 if (num_format == V_008F14_IMG_NUM_FORMAT_UNORM || in radv_is_sampler_format_supported()
496 num_format == V_008F14_IMG_NUM_FORMAT_SNORM || in radv_is_sampler_format_supported()
497 num_format == V_008F14_IMG_NUM_FORMAT_FLOAT || in radv_is_sampler_format_supported()
498 num_format == V_008F14_IMG_NUM_FORMAT_SRGB) in radv_is_sampler_format_supported()
511 unsigned data_format, num_format; in radv_is_storage_image_format_supported() local
517 num_format = radv_translate_tex_numformat(format, desc, in radv_is_storage_image_format_supported()
[all …]
Dradv_image.c576 unsigned num_format, data_format; in radv_make_buffer_descriptor() local
614 num_format = radv_translate_buffer_numformat(desc, first_non_void); in radv_make_buffer_descriptor()
618 assert(num_format != ~0); in radv_make_buffer_descriptor()
620 state[3] |= S_008F0C_NUM_FORMAT(num_format) | in radv_make_buffer_descriptor()
950 unsigned num_format, data_format, type; in si_make_texture_descriptor() local
958 num_format = radv_translate_tex_numformat(vk_format, desc, first_non_void); in si_make_texture_descriptor()
959 if (num_format == ~0) { in si_make_texture_descriptor()
960 num_format = 0; in si_make_texture_descriptor()
991 S_008F14_NUM_FORMAT(num_format)); in si_make_texture_descriptor()
1047 uint32_t fmask_format, num_format; in si_make_texture_descriptor() local
[all …]
Dradv_nir_to_llvm.c1129 unsigned num_format = (attrib_format >> 4) & 0x07; in handle_vs_input_decl() local
1130 bool is_float = num_format != V_008F0C_BUF_NUM_FORMAT_UINT && in handle_vs_input_decl()
1131 num_format != V_008F0C_BUF_NUM_FORMAT_SINT; in handle_vs_input_decl()
1220 chan_format, num_format, 0, true); in handle_vs_input_decl()
1242 data_format, num_format, 0, true); in handle_vs_input_decl()
Dradv_pipeline.c2477 unsigned num_format, data_format; in radv_generate_graphics_pipeline_key() local
2488 num_format = radv_translate_buffer_numformat(format_desc, first_non_void); in radv_generate_graphics_pipeline_key()
2491 key.vertex_attribute_formats[location] = data_format | (num_format << 4); in radv_generate_graphics_pipeline_key()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_fetch.h40 EVFetchNumFormat num_format,
72 EVFetchNumFormat num_format);
86 EVFetchNumFormat num_format() const { return m_num_format;} in num_format() function
Dsfn_instruction_fetch.cpp82 EVFetchNumFormat num_format, in FetchInstruction() argument
104 m_num_format(num_format), in FetchInstruction()
131 EVFetchNumFormat num_format): in FetchInstruction() argument
136 m_num_format(num_format), in FetchInstruction()
Dsfn_emitssboinstruction.cpp531 unsigned num_format = 0; in fetch_return_value() local
543 r600_vertex_data_type(format, &fmt, &num_format, &format_comp, &endian); in fetch_return_value()
550 (EVFetchNumFormat)num_format, in fetch_return_value()
Dsfn_ir_to_assembly.cpp762 vtx.num_format_all = fetch_instr.num_format(); /* NUM_FORMAT_SCALED */ in emit_vtx()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c3598 unsigned num_format, data_format; in si_make_buffer_descriptor() local
3601 num_format = si_translate_buffer_numformat(&screen->b, desc, first_non_void); in si_make_buffer_descriptor()
3604 state[7] |= S_008F0C_NUM_FORMAT(num_format) | S_008F0C_DATA_FORMAT(data_format); in si_make_buffer_descriptor()
3823 unsigned num_format, data_format, type, num_samples; in si_make_texture_descriptor() local
3864 num_format = V_008F14_IMG_NUM_FORMAT_UNORM; in si_make_texture_descriptor()
3878 num_format = V_008F14_IMG_NUM_FORMAT_SRGB; in si_make_texture_descriptor()
3889 num_format = V_008F14_IMG_NUM_FORMAT_SNORM; in si_make_texture_descriptor()
3892 num_format = V_008F14_IMG_NUM_FORMAT_UNORM; in si_make_texture_descriptor()
3896 num_format = V_008F14_IMG_NUM_FORMAT_UNORM; in si_make_texture_descriptor()
3898 num_format = V_008F14_IMG_NUM_FORMAT_FLOAT; in si_make_texture_descriptor()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_util.c74 fmt->num_format = SQ_TEX_NUM_FORMAT_INT; in pipe2surface()
127 .num_format = SQ_TEX_NUM_FORMAT_FRAC, in fd2_pipe2surface()
Dfd2_util.h39 enum sq_tex_num_format num_format : 1; member
Dfd2_texture.c199 A2XX_SQ_TEX_3_NUM_FORMAT(fmt.num_format) | in fd2_sampler_view_create()
Dfd2_program.c175 instr->num_format_all = fmt.num_format; in patch_vtx_fetch()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_asm.h352 unsigned *num_format, unsigned *format_comp, unsigned *endian);
Dr600_asm.c2453 unsigned *num_format, unsigned *format_comp, unsigned *endian) in r600_vertex_data_type() argument
2459 *num_format = 0; in r600_vertex_data_type()
2615 *num_format = 0; in r600_vertex_data_type()
2620 *num_format = 1; in r600_vertex_data_type()
2622 *num_format = 2; in r600_vertex_data_type()
2639 unsigned format, num_format, format_comp, endian; in r600_create_vertex_fetch_shader() local
2696 &format, &num_format, &format_comp, &endian); in r600_create_vertex_fetch_shader()
2723 vtx.num_format_all = num_format; in r600_create_vertex_fetch_shader()
Dr600_state.c629 unsigned format, num_format, format_comp, endian; in texture_buffer_sampler_view() local
634 &format, &num_format, &format_comp, in texture_buffer_sampler_view()
645 S_038008_NUM_FORMAT_ALL(num_format) | in texture_buffer_sampler_view()
Devergreen_state.c641 unsigned format, num_format, format_comp, endian; in evergreen_fill_buffer_resource_words() local
646 &format, &num_format, &format_comp, in evergreen_fill_buffer_resource_words()
663 S_030008_NUM_FORMAT_ALL(num_format) | in evergreen_fill_buffer_resource_words()
Dr600_shader.c8889 unsigned format, num_format, format_comp, endian; in tgsi_load_rat() local
8926 &format, &num_format, &format_comp, &endian); in tgsi_load_rat()
8941 vtx.num_format_all = num_format; in tgsi_load_rat()
9212 unsigned format, num_format, format_comp, endian; in tgsi_atomic_op_rat() local
9301 &format, &num_format, &format_comp, &endian); in tgsi_atomic_op_rat()
9305 num_format = 1; in tgsi_atomic_op_rat()
9323 vtx.num_format_all = num_format; in tgsi_atomic_op_rat()