Searched refs:type (Results 1 - 25 of 5599) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/compiler/
H A Dnir_types.cpp32 glsl_get_type_name(const glsl_type *type) argument
34 return type->name;
38 glsl_get_array_element(const glsl_type* type) argument
40 if (type->is_matrix())
41 return type->column_type();
42 else if (type->is_vector())
43 return type->get_scalar_type();
44 return type->fields.array;
48 glsl_without_array(const glsl_type *type) argument
50 return type
54 glsl_without_array_or_matrix(const glsl_type * type) argument
63 glsl_get_bare_type(const glsl_type * type) argument
69 glsl_get_struct_field(const glsl_type * type,unsigned index) argument
75 glsl_get_struct_field_offset(const struct glsl_type * type,unsigned index) argument
82 glsl_get_struct_field_data(const struct glsl_type * type,unsigned index) argument
90 glsl_get_explicit_stride(const struct glsl_type * type) argument
96 glsl_get_function_return_type(const glsl_type * type) argument
102 glsl_get_function_param(const glsl_type * type,unsigned index) argument
108 glsl_get_column_type(const struct glsl_type * type) argument
114 glsl_get_gl_type(const struct glsl_type * type) argument
120 glsl_get_base_type(const struct glsl_type * type) argument
126 glsl_get_vector_elements(const struct glsl_type * type) argument
132 glsl_get_components(const struct glsl_type * type) argument
138 glsl_get_matrix_columns(const struct glsl_type * type) argument
144 glsl_get_length(const struct glsl_type * type) argument
150 glsl_get_aoa_size(const struct glsl_type * type) argument
156 glsl_count_attribute_slots(const struct glsl_type * type,bool is_gl_vertex_input) argument
163 glsl_get_component_slots(const struct glsl_type * type) argument
169 glsl_varying_count(const struct glsl_type * type) argument
175 glsl_get_struct_elem_name(const struct glsl_type * type,unsigned index) argument
181 glsl_get_sampler_dim(const struct glsl_type * type) argument
188 glsl_get_sampler_result_type(const struct glsl_type * type) argument
195 glsl_get_sampler_target(const struct glsl_type * type) argument
202 glsl_get_sampler_coordinate_components(const struct glsl_type * type) argument
209 glsl_get_struct_location_offset(const struct glsl_type * type,unsigned length) argument
216 glsl_type_is_16bit(const glsl_type * type) argument
222 glsl_type_is_32bit(const glsl_type * type) argument
228 glsl_type_is_64bit(const glsl_type * type) argument
234 glsl_type_is_void(const glsl_type * type) argument
240 glsl_type_is_error(const glsl_type * type) argument
246 glsl_type_is_vector(const struct glsl_type * type) argument
252 glsl_type_is_scalar(const struct glsl_type * type) argument
258 glsl_type_is_vector_or_scalar(const struct glsl_type * type) argument
264 glsl_type_is_matrix(const struct glsl_type * type) argument
270 glsl_matrix_type_is_row_major(const struct glsl_type * type) argument
277 glsl_type_is_array(const struct glsl_type * type) argument
283 glsl_type_is_array_of_arrays(const struct glsl_type * type) argument
289 glsl_type_is_array_or_matrix(const struct glsl_type * type) argument
295 glsl_type_is_struct(const struct glsl_type * type) argument
301 glsl_type_is_interface(const struct glsl_type * type) argument
307 glsl_type_is_struct_or_ifc(const struct glsl_type * type) argument
313 glsl_type_is_sampler(const struct glsl_type * type) argument
319 glsl_type_is_image(const struct glsl_type * type) argument
325 glsl_sampler_type_is_shadow(const struct glsl_type * type) argument
332 glsl_sampler_type_is_array(const struct glsl_type * type) argument
339 glsl_type_is_dual_slot(const struct glsl_type * type) argument
345 glsl_type_is_numeric(const struct glsl_type * type) argument
351 glsl_type_is_boolean(const struct glsl_type * type) argument
356 glsl_type_is_integer(const struct glsl_type * type) argument
362 glsl_type_contains_64bit(const struct glsl_type * type) argument
558 glsl_transposed_type(const struct glsl_type * type) argument
591 glsl_get_natural_size_align_bytes(const struct glsl_type * type,unsigned * size,unsigned * align) argument
660 glsl_atomic_size(const struct glsl_type * type) argument
666 glsl_contains_atomic(const struct glsl_type * type) argument
672 glsl_get_cl_size(const struct glsl_type * type) argument
678 glsl_get_cl_alignment(const struct glsl_type * type) argument
684 glsl_type_get_sampler_count(const struct glsl_type * type) argument
705 glsl_type_get_image_count(const struct glsl_type * type) argument
[all...]
H A Dnir_types.h44 const char *glsl_get_type_name(const struct glsl_type *type);
46 const struct glsl_type *glsl_get_struct_field(const struct glsl_type *type,
49 int glsl_get_struct_field_offset(const struct glsl_type *type,
53 glsl_get_struct_field_data(const struct glsl_type *type, unsigned index);
55 unsigned glsl_get_explicit_stride(const struct glsl_type *type);
56 const struct glsl_type *glsl_get_array_element(const struct glsl_type *type);
57 const struct glsl_type *glsl_without_array(const struct glsl_type *type);
58 const struct glsl_type *glsl_without_array_or_matrix(const struct glsl_type *type);
59 const struct glsl_type *glsl_get_bare_type(const struct glsl_type *type);
61 const struct glsl_type *glsl_get_column_type(const struct glsl_type *type);
106 glsl_get_bit_size(const struct glsl_type * type) argument
[all...]
/xsrc/external/mit/libdrm/dist/tests/util/
H A Dkms.h29 const char *util_lookup_encoder_type_name(unsigned int type);
30 const char *util_lookup_connector_status_name(unsigned int type);
/xsrc/external/mit/MesaLib/dist/src/compiler/
H A Dnir_types.cpp32 glsl_get_type_name(const glsl_type *type) argument
34 return type->name;
38 glsl_array_size(const struct glsl_type *type) argument
40 return type->array_size();
44 glsl_get_array_element(const glsl_type* type) argument
46 if (type->is_matrix())
47 return type->column_type();
48 else if (type->is_vector())
49 return type->get_scalar_type();
50 return type
54 glsl_without_array(const glsl_type * type) argument
60 glsl_without_array_or_matrix(const glsl_type * type) argument
69 glsl_get_bare_type(const glsl_type * type) argument
75 glsl_get_struct_field(const glsl_type * type,unsigned index) argument
81 glsl_get_struct_field_offset(const struct glsl_type * type,unsigned index) argument
88 glsl_get_struct_field_data(const struct glsl_type * type,unsigned index) argument
96 glsl_get_explicit_stride(const struct glsl_type * type) argument
102 glsl_get_function_return_type(const glsl_type * type) argument
108 glsl_get_function_param(const glsl_type * type,unsigned index) argument
114 glsl_get_column_type(const struct glsl_type * type) argument
120 glsl_get_gl_type(const struct glsl_type * type) argument
126 glsl_get_base_type(const struct glsl_type * type) argument
132 glsl_get_vector_elements(const struct glsl_type * type) argument
138 glsl_get_components(const struct glsl_type * type) argument
144 glsl_get_matrix_columns(const struct glsl_type * type) argument
150 glsl_get_length(const struct glsl_type * type) argument
156 glsl_get_aoa_size(const struct glsl_type * type) argument
162 glsl_count_vec4_slots(const struct glsl_type * type,bool is_gl_vertex_input,bool is_bindless) argument
169 glsl_count_dword_slots(const struct glsl_type * type,bool is_bindless) argument
175 glsl_count_attribute_slots(const struct glsl_type * type,bool is_gl_vertex_input) argument
182 glsl_get_component_slots(const struct glsl_type * type) argument
188 glsl_varying_count(const struct glsl_type * type) argument
194 glsl_get_struct_elem_name(const struct glsl_type * type,unsigned index) argument
200 glsl_get_sampler_dim(const struct glsl_type * type) argument
207 glsl_get_sampler_result_type(const struct glsl_type * type) argument
214 glsl_get_sampler_target(const struct glsl_type * type) argument
221 glsl_get_sampler_coordinate_components(const struct glsl_type * type) argument
228 glsl_get_struct_location_offset(const struct glsl_type * type,unsigned length) argument
235 glsl_type_is_16bit(const glsl_type * type) argument
241 glsl_type_is_32bit(const glsl_type * type) argument
247 glsl_type_is_64bit(const glsl_type * type) argument
253 glsl_type_is_void(const glsl_type * type) argument
259 glsl_type_is_error(const glsl_type * type) argument
265 glsl_type_is_vector(const struct glsl_type * type) argument
271 glsl_type_is_scalar(const struct glsl_type * type) argument
277 glsl_type_is_vector_or_scalar(const struct glsl_type * type) argument
283 glsl_type_is_matrix(const struct glsl_type * type) argument
289 glsl_matrix_type_is_row_major(const struct glsl_type * type) argument
296 glsl_type_is_array(const struct glsl_type * type) argument
302 glsl_type_is_unsized_array(const struct glsl_type * type) argument
308 glsl_type_is_array_of_arrays(const struct glsl_type * type) argument
314 glsl_type_is_array_or_matrix(const struct glsl_type * type) argument
320 glsl_type_is_struct(const struct glsl_type * type) argument
326 glsl_type_is_interface(const struct glsl_type * type) argument
332 glsl_type_is_struct_or_ifc(const struct glsl_type * type) argument
338 glsl_type_is_sampler(const struct glsl_type * type) argument
344 glsl_type_is_image(const struct glsl_type * type) argument
350 glsl_sampler_type_is_shadow(const struct glsl_type * type) argument
357 glsl_sampler_type_is_array(const struct glsl_type * type) argument
364 glsl_struct_type_is_packed(const struct glsl_type * type) argument
371 glsl_type_is_dual_slot(const struct glsl_type * type) argument
377 glsl_type_is_numeric(const struct glsl_type * type) argument
383 glsl_type_is_boolean(const struct glsl_type * type) argument
388 glsl_type_is_integer(const struct glsl_type * type) argument
394 glsl_type_contains_64bit(const struct glsl_type * type) argument
654 glsl_transposed_type(const struct glsl_type * type) argument
687 glsl_float16_type(const struct glsl_type * type) argument
693 glsl_int16_type(const struct glsl_type * type) argument
699 glsl_uint16_type(const struct glsl_type * type) argument
705 glsl_size_align_handle_array_and_structs(const struct glsl_type * type,glsl_type_size_align_func size_align,unsigned * size,unsigned * align) argument
730 glsl_get_natural_size_align_bytes(const struct glsl_type * type,unsigned * size,unsigned * align) argument
788 glsl_get_vec4_size_align_bytes(const struct glsl_type * type,unsigned * size,unsigned * align) argument
843 glsl_atomic_size(const struct glsl_type * type) argument
849 glsl_contains_atomic(const struct glsl_type * type) argument
855 glsl_contains_opaque(const struct glsl_type * type) argument
861 glsl_get_cl_size(const struct glsl_type * type) argument
867 glsl_get_cl_alignment(const struct glsl_type * type) argument
873 glsl_get_cl_type_size_align(const struct glsl_type * type,unsigned * size,unsigned * align) argument
881 glsl_type_get_sampler_count(const struct glsl_type * type) argument
905 glsl_type_get_image_count(const struct glsl_type * type) argument
929 glsl_get_internal_ifc_packing(const struct glsl_type * type,bool std430_supported) argument
936 glsl_get_ifc_packing(const struct glsl_type * type) argument
942 glsl_get_std140_base_alignment(const struct glsl_type * type,bool row_major) argument
948 glsl_get_std140_size(const struct glsl_type * type,bool row_major) argument
954 glsl_get_std430_base_alignment(const struct glsl_type * type,bool row_major) argument
960 glsl_get_std430_size(const struct glsl_type * type,bool row_major) argument
966 glsl_get_explicit_size(const struct glsl_type * type,bool align_to_stride) argument
972 glsl_get_explicit_alignment(const struct glsl_type * type) argument
978 glsl_type_is_packed(const struct glsl_type * type) argument
984 glsl_type_is_leaf(const struct glsl_type * type) argument
997 glsl_get_explicit_type_for_size_align(const struct glsl_type * type,glsl_type_size_align_func type_info,unsigned * size,unsigned * align) argument
1005 glsl_type_replace_vec3_with_vec4(const struct glsl_type * type) argument
[all...]
H A Dnir_types.h44 const char *glsl_get_type_name(const struct glsl_type *type);
46 const struct glsl_type *glsl_get_struct_field(const struct glsl_type *type,
49 int glsl_get_struct_field_offset(const struct glsl_type *type,
53 glsl_get_struct_field_data(const struct glsl_type *type, unsigned index);
56 glsl_get_internal_ifc_packing(const struct glsl_type *type,
59 glsl_get_ifc_packing(const struct glsl_type *type);
61 unsigned glsl_get_std140_base_alignment(const struct glsl_type *type,
63 unsigned glsl_get_std140_size(const struct glsl_type *type, bool row_major);
64 unsigned glsl_get_std430_base_alignment(const struct glsl_type *type,
66 unsigned glsl_get_std430_size(const struct glsl_type *type, boo
128 glsl_get_bit_size(const struct glsl_type * type) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_glsl_types.cpp30 * Returns the number of places to offset the uniform index, given the type of
35 st_glsl_storage_type_size(const struct glsl_type *type, bool is_bindless) argument
40 switch (type->base_type) {
45 if (type->is_matrix()) {
46 return type->matrix_columns;
57 if (type->is_matrix()) {
58 if (type->vector_elements <= 2)
59 return type->matrix_columns;
61 return type->matrix_columns * 2;
66 if (type
113 st_glsl_type_dword_size(const struct glsl_type * type,bool bindless) argument
169 st_glsl_uniforms_type_size(const struct glsl_type * type,bool bindless) argument
[all...]
H A Dst_glsl_types.h36 int st_glsl_storage_type_size(const struct glsl_type *type,
39 int st_glsl_uniforms_type_size(const struct glsl_type *type, bool bindless);
41 int st_glsl_type_dword_size(const struct glsl_type *type, bool bindless);
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dir_validate.cpp104 if (ir->var->type->without_array() != ir->type->without_array()) {
105 printf("ir_dereference_variable type is not equal to variable type: ");
126 if (!ir->array->type->is_array() && !ir->array->type->is_matrix() &&
127 !ir->array->type->is_vector()) {
136 if (ir->array->type->is_array()) {
137 if (ir->array->type->fields.array != ir->type) {
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_const.c48 lp_mantissa(struct lp_type type) argument
50 assert(type.floating);
52 if(type.floating) {
53 switch(type.width) {
66 if(type.sign)
67 return type.width - 1;
69 return type.width;
80 lp_const_shift(struct lp_type type) argument
82 if(type.floating)
84 else if(type
94 lp_const_offset(struct lp_type type) argument
112 lp_const_scale(struct lp_type type) argument
130 lp_const_min(struct lp_type type) argument
168 lp_const_max(struct lp_type type) argument
202 lp_const_eps(struct lp_type type) argument
225 lp_build_undef(struct gallivm_state * gallivm,struct lp_type type) argument
233 lp_build_zero(struct gallivm_state * gallivm,struct lp_type type) argument
249 lp_build_one(struct gallivm_state * gallivm,struct lp_type type) argument
299 lp_build_const_elem(struct gallivm_state * gallivm,struct lp_type type,double val) argument
325 lp_build_const_vec(struct gallivm_state * gallivm,struct lp_type type,double val) argument
342 lp_build_const_int_vec(struct gallivm_state * gallivm,struct lp_type type,long long val) argument
362 lp_build_const_aos(struct gallivm_state * gallivm,struct lp_type type,double r,double g,double b,double a,const unsigned char * swizzle) argument
395 lp_build_const_mask_aos(struct gallivm_state * gallivm,struct lp_type type,unsigned mask,unsigned channels) argument
422 lp_build_const_mask_aos_swizzled(struct gallivm_state * gallivm,struct lp_type type,unsigned mask,unsigned channels,const unsigned char * swizzle) argument
[all...]
H A Dlp_bld_type.h79 * The LLVM type system can't conveniently express all the things we care about
125 * Vector length. If length==1, this is a scalar (float/int) type.
148 struct lp_type type; member in struct:lp_build_context
150 /** Same as lp_build_elem_type(type) */
153 /** Same as lp_build_vec_type(type) */
156 /** Same as lp_build_int_elem_type(type) */
159 /** Same as lp_build_int_vec_type(type) */
162 /** Same as lp_build_undef(type) */
165 /** Same as lp_build_zero(type) */
168 /** Same as lp_build_one(type) */
181 lp_type_from_format_desc(struct lp_type * type,const struct util_format_description * format_desc) argument
197 lp_type_from_format(struct lp_type * type,enum pipe_format format) argument
204 lp_type_width(struct lp_type type) argument
374 struct lp_type type; local in function:lp_float32_vec4_type
390 struct lp_type type; local in function:lp_int32_vec4_type
406 struct lp_type type; local in function:lp_unorm8_vec4_type
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_const.c48 lp_mantissa(struct lp_type type) argument
50 assert(type.floating);
52 if(type.floating) {
53 switch(type.width) {
66 if(type.sign)
67 return type.width - 1;
69 return type.width;
80 lp_const_shift(struct lp_type type) argument
82 if(type.floating)
84 else if(type
94 lp_const_offset(struct lp_type type) argument
112 lp_const_scale(struct lp_type type) argument
130 lp_const_min(struct lp_type type) argument
168 lp_const_max(struct lp_type type) argument
202 lp_const_eps(struct lp_type type) argument
225 lp_build_undef(struct gallivm_state * gallivm,struct lp_type type) argument
233 lp_build_zero(struct gallivm_state * gallivm,struct lp_type type) argument
249 lp_build_one(struct gallivm_state * gallivm,struct lp_type type) argument
299 lp_build_const_elem(struct gallivm_state * gallivm,struct lp_type type,double val) argument
325 lp_build_const_vec(struct gallivm_state * gallivm,struct lp_type type,double val) argument
342 lp_build_const_int_vec(struct gallivm_state * gallivm,struct lp_type type,long long val) argument
362 lp_build_const_aos(struct gallivm_state * gallivm,struct lp_type type,double r,double g,double b,double a,const unsigned char * swizzle) argument
395 lp_build_const_mask_aos(struct gallivm_state * gallivm,struct lp_type type,unsigned mask,unsigned channels) argument
422 lp_build_const_mask_aos_swizzled(struct gallivm_state * gallivm,struct lp_type type,unsigned mask,unsigned channels,const unsigned char * swizzle) argument
[all...]
H A Dlp_bld_type.h79 * The LLVM type system can't conveniently express all the things we care about
125 * Vector length. If length==1, this is a scalar (float/int) type.
148 struct lp_type type; member in struct:lp_build_context
150 /** Same as lp_build_elem_type(type) */
153 /** Same as lp_build_vec_type(type) */
156 /** Same as lp_build_int_elem_type(type) */
159 /** Same as lp_build_int_vec_type(type) */
162 /** Same as lp_build_undef(type) */
165 /** Same as lp_build_zero(type) */
168 /** Same as lp_build_one(type) */
181 lp_type_from_format_desc(struct lp_type * type,const struct util_format_description * format_desc) argument
197 lp_type_from_format(struct lp_type * type,enum pipe_format format) argument
204 lp_type_width(struct lp_type type) argument
374 struct lp_type type; local in function:lp_float32_vec4_type
390 struct lp_type type; local in function:lp_int32_vec4_type
406 struct lp_type type; local in function:lp_unorm8_vec4_type
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/
H A Dsfn_callstack.h38 int push(unsigned type);
39 void pop(unsigned type);
40 int update_max_depth(unsigned type);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dir_validate.cpp113 if (!ir->array->type->is_array() && !ir->array->type->is_matrix() &&
114 !ir->array->type->is_vector()) {
123 if (!ir->array_index->type->is_scalar()) {
125 (void *) ir, ir->array_index->type->name);
129 if (!ir->array_index->type->is_integer()) {
131 (void *) ir, ir->array_index->type->name);
141 if (ir->condition && ir->condition->type != glsl_type::bool_type) {
142 printf("ir_discard condition %s type instead of bool.\n",
143 ir->condition->type
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xwin/glx/
H A Dwgl_ext_api.c42 #define RESOLVE_DECL(type) \
43 static type type##proc = NULL;
45 #define PRERESOLVE(type, symbol) \
46 type##proc = (type)wglGetProcAddress(symbol); \
47 if (type##proc == NULL) \
52 #define RESOLVE_RET(type, symbol, retval) \
53 if (type##proc == NULL) { \
60 #define RESOLVED_PROC(type) typ
[all...]
/xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/
H A Ddxil_enums.c31 enum dxil_prog_sig_comp_type dxil_get_prog_sig_comp_type(const struct glsl_type *type) argument
33 type = glsl_without_array(type);
35 switch (glsl_get_base_type(type)) {
47 debug_printf("unexpected type: %s\n", glsl_get_type_name(type));
52 enum dxil_component_type dxil_get_comp_type(const struct glsl_type *type) argument
54 type = glsl_without_array(type);
56 enum glsl_base_type base_type = glsl_get_base_type(type);
77 dxil_get_resource_kind(const struct glsl_type * type) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/util/
H A Dcompat.hpp34 >::type type; typedef in struct:clover::invoke_result
38 >::type type;
/xsrc/external/mit/xorg-server/dist/hw/xwin/glx/
H A Dwgl_ext_api.c42 #define RESOLVE_DECL(type) \
43 static type type##proc = NULL;
45 #define PRERESOLVE(type, symbol) \
46 type##proc = (type)wglGetProcAddress(symbol);
48 #define RESOLVE_RET(type, symbol, retval) \
49 if (type##proc == NULL) { \
57 #define RESOLVED_PROC(type) type##pro
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_tracepoints.py52 args=[ArgStruct(type='const struct pipe_surface *', var='psurf')],
53 tp_struct=[Arg(type='uint16_t', name='width', var='psurf->width', c_format='%u'),
54 Arg(type='uint16_t', name='height', var='psurf->height', c_format='%u'),
55 Arg(type='uint8_t', name='nr_samples', var='psurf->nr_samples', c_format='%u'),
56 Arg(type='const char *', name='format', var='util_format_short_name(psurf->format)', c_format='%s')],
66 args=[ArgStruct(type='const struct pipe_framebuffer_state *', var='pfb')],
67 tp_struct=[Arg(type='uint16_t', name='width', var='pfb->width', c_format='%u'),
68 Arg(type='uint16_t', name='height', var='pfb->height', c_format='%u'),
69 Arg(type='uint8_t', name='layers', var='pfb->layers', c_format='%u'),
70 Arg(type
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_test_main.c48 struct lp_type type)
51 type.sign ? (type.floating || type.fixed ? "" : "s") : "u",
52 type.floating ? "f" : (type.fixed ? "h" : "i"),
53 type.width,
54 type.norm ? "n" : "",
55 type.length);
60 read_elem(struct lp_type type, cons argument
47 dump_type(FILE * fp,struct lp_type type) argument
123 write_elem(struct lp_type type,void * dst,unsigned index,double value) argument
193 random_elem(struct lp_type type,void * dst,unsigned index) argument
229 read_vec(struct lp_type type,const void * src,double * dst) argument
238 write_vec(struct lp_type type,void * dst,const double * src) argument
254 random_vec(struct lp_type type,void * dst) argument
263 compare_vec_with_eps(struct lp_type type,const void * res,const void * ref,double eps) argument
285 compare_vec(struct lp_type type,const void * res,const void * ref) argument
293 dump_vec(FILE * fp,struct lp_type type,const void * src) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_test_main.c48 struct lp_type type)
51 type.sign ? (type.floating || type.fixed ? "" : "s") : "u",
52 type.floating ? "f" : (type.fixed ? "h" : "i"),
53 type.width,
54 type.norm ? "n" : "",
55 type.length);
60 read_elem(struct lp_type type, cons argument
47 dump_type(FILE * fp,struct lp_type type) argument
123 write_elem(struct lp_type type,void * dst,unsigned index,double value) argument
193 random_elem(struct lp_type type,void * dst,unsigned index) argument
229 read_vec(struct lp_type type,const void * src,double * dst) argument
238 write_vec(struct lp_type type,void * dst,const double * src) argument
254 random_vec(struct lp_type type,void * dst) argument
263 compare_vec_with_eps(struct lp_type type,const void * res,const void * ref,double eps) argument
285 compare_vec(struct lp_type type,const void * res,const void * ref) argument
293 dump_vec(FILE * fp,struct lp_type type,const void * src) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_tracepoints.py54 args=[TracepointArg(type='struct fd_batch *', var='batch', c_format='%x'),
55 TracepointArg(type='uint16_t', var='cleared', c_format='%x'),
56 TracepointArg(type='uint16_t', var='gmem_reason', c_format='%x'),
57 TracepointArg(type='uint16_t', var='num_draws', c_format='%u')],
63 args=[TracepointArg(type='uint16_t', var='nbins_x', c_format='%u'),
64 TracepointArg(type='uint16_t', var='nbins_y', c_format='%u'),
65 TracepointArg(type='uint16_t', var='bin_w', c_format='%u'),
66 TracepointArg(type='uint16_t', var='bin_h', c_format='%u')],
76 args=[TracepointArg(type='uint32_t', var='submit_id', c_format='%u'),
77 TracepointArg(type
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Du_dynarray.h154 #define util_dynarray_append(buf, type, v) do {type __v = (v); memcpy(util_dynarray_grow((buf), sizeof(type)), &__v, sizeof(type));} while(0)
155 #define util_dynarray_top_ptr(buf, type) (type*)((char*)(buf)->data + (buf)->size - sizeof(type))
156 #define util_dynarray_top(buf, type) *util_dynarray_top_ptr(buf, type)
157 #define util_dynarray_pop_ptr(buf, type) (typ
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/codegen/
H A Dgen_llvm_types.py29 def gen_llvm_type(type, name, idx, is_pointer, is_pointer_pointer, is_array, is_array_array, array_count, array_count1, is_llvm_struct, is_llvm_enum, is_llvm_pfn, output_file):
37 llvm_type = 'ArrayType::get(Type::getInt8Ty(ctx), sizeof(%s))' % type
43 if type == 'BYTE' or type == 'char' or type == 'uint8_t' or type == 'int8_t' or type == 'bool':
45 elif type == 'UINT64' or type == 'INT64' or type
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/codegen/
H A Dgen_llvm_types.py28 def gen_llvm_type(type, name, idx, is_pointer, is_pointer_pointer, is_array, is_array_array, array_count, array_count1, is_llvm_struct, is_llvm_enum, is_llvm_pfn, output_file):
36 llvm_type = 'ArrayType::get(Type::getInt8Ty(ctx), sizeof(%s))' % type
42 if type == 'BYTE' or type == 'char' or type == 'uint8_t' or type == 'int8_t' or type == 'bool':
44 elif type == 'UINT64' or type == 'INT64' or type
[all...]

Completed in 30 milliseconds

1234567891011>>