Searched refs:components (Results 1 - 25 of 406) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/
H A Dpan_format.h35 panfrost_get_default_swizzle(unsigned components);
H A Dpan_format.c30 /* Construct a default swizzle based on the number of components */
77 panfrost_get_default_swizzle(unsigned components) argument
86 assert(components >= 1 && components <= 4);
87 return panfrost_translate_swizzle_4(default_swizzles[components - 1]);
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_nir_clamp_image_1d_2d_array_sizes.c98 nir_ssa_def *components[4]; local in function:brw_nir_clamp_image_1d_2d_array_sizes_instr
99 /* OR all the sizes for all components but the last. */
115 components[i] =
120 components[i] = nir_channel(b, image_size, i);
121 or_components = nir_ior(b, components[i], or_components);
125 nir_vec(b, components, image_size->num_components);
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/
H A Dcopy_constant_to_storage_tests.cpp77 const unsigned red_zone_size = ARRAY_SIZE(storage) - val->type->components();
79 val->type->components(),
85 val->type->components(),
97 const unsigned red_zone_size = ARRAY_SIZE(storage) - val->type->components();
99 val->type->components(),
105 val->type->components(),
117 const unsigned red_zone_size = ARRAY_SIZE(storage) - val->type->components();
119 val->type->components(),
125 val->type->components(),
137 const unsigned red_zone_size = ARRAY_SIZE(storage) - val->type->components();
[all...]
H A Duniform_initializer_utils.cpp81 for (unsigned i = 0; i < type->components(); i++) {
127 for (unsigned i = 0; i < type->components(); i++) {
247 verify_data(storage + (i * element_type->components()), 0,
251 const unsigned components = element_type->components(); local in function:verify_data
255 storage_array_size * components,
260 for (unsigned i = 0; i < val->type->components(); i++) {
303 val->type->components(),
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/tests/
H A Dcopy_constant_to_storage_tests.cpp73 const unsigned red_zone_size = ARRAY_SIZE(storage) - val->type->components();
75 val->type->components(),
81 val->type->components(),
93 const unsigned red_zone_size = ARRAY_SIZE(storage) - val->type->components();
95 val->type->components(),
101 val->type->components(),
113 const unsigned red_zone_size = ARRAY_SIZE(storage) - val->type->components();
115 val->type->components(),
121 val->type->components(),
133 const unsigned red_zone_size = ARRAY_SIZE(storage) - val->type->components();
[all...]
H A Duniform_initializer_utils.cpp81 for (unsigned i = 0; i < type->components(); i++) {
127 for (unsigned i = 0; i < type->components(); i++) {
247 verify_data(storage + (i * element_type->components()), 0,
251 const unsigned components = element_type->components(); local in function:verify_data
255 storage_array_size * components,
260 for (unsigned i = 0; i < val->type->components(); i++) {
303 val->type->components(),
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/va/
H A Dpicture_mjpeg.c42 context->desc.mjpeg.picture_parameter.components[i].component_id =
43 mjpeg->components[i].component_id;
44 context->desc.mjpeg.picture_parameter.components[i].h_sampling_factor =
45 mjpeg->components[i].h_sampling_factor;
46 context->desc.mjpeg.picture_parameter.components[i].v_sampling_factor =
47 mjpeg->components[i].v_sampling_factor;
48 context->desc.mjpeg.picture_parameter.components[i].quantiser_table_selector =
49 mjpeg->components[i].quantiser_table_selector;
51 sf = mjpeg->components[i].h_sampling_factor << 4 | mjpeg->components[
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/va/
H A Dpicture_mjpeg.c42 context->desc.mjpeg.picture_parameter.components[i].component_id =
43 mjpeg->components[i].component_id;
44 context->desc.mjpeg.picture_parameter.components[i].h_sampling_factor =
45 mjpeg->components[i].h_sampling_factor;
46 context->desc.mjpeg.picture_parameter.components[i].v_sampling_factor =
47 mjpeg->components[i].v_sampling_factor;
48 context->desc.mjpeg.picture_parameter.components[i].quantiser_table_selector =
49 mjpeg->components[i].quantiser_table_selector;
51 sf = mjpeg->components[i].h_sampling_factor << 4 | mjpeg->components[
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_format.h66 panfrost_get_default_swizzle(unsigned components) argument
68 switch (components) {
78 unreachable("Invalid number of components");
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_glsl_types.cpp122 return type->components();
126 return DIV_ROUND_UP(type->components(), 2);
129 return DIV_ROUND_UP(type->components(), 4);
137 return type->components() * 2;
/xsrc/external/mit/MesaLib/src/compiler/glsl/
H A Dir_expression_operation_constant.h3 for (unsigned c = 0; c < op[0]->type->components(); c++) {
24 for (unsigned c = 0; c < op[0]->type->components(); c++) {
36 for (unsigned c = 0; c < op[0]->type->components(); c++) {
63 for (unsigned c = 0; c < op[0]->type->components(); c++) {
84 for (unsigned c = 0; c < op[0]->type->components(); c++) {
105 for (unsigned c = 0; c < op[0]->type->components(); c++) {
120 for (unsigned c = 0; c < op[0]->type->components(); c++) {
135 for (unsigned c = 0; c < op[0]->type->components(); c++) {
150 for (unsigned c = 0; c < op[0]->type->components(); c++) {
162 for (unsigned c = 0; c < op[0]->type->components();
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/docs/source/cso/
H A Dvelems.rst14 guaranteed to support 32-bit floating-point vectors of one to four components.
26 very simple set of rules for padding out unspecified components. If an input
27 uses less than four components, it will be padded out with the constant vector
36 Vertex position may be specified with two to four components. Using less than
37 two components is not allowed.
43 three components. Using less than three components is not allowed.
/xsrc/external/mit/MesaLib/dist/docs/gallium/cso/
H A Dvelems.rst14 guaranteed to support 32-bit floating-point vectors of one to four components.
26 very simple set of rules for padding out unspecified components. If an input
27 uses less than four components, it will be padded out with the constant vector
36 Vertex position may be specified with two to four components. Using less than
37 two components is not allowed.
43 three components. Using less than three components is not allowed.
/xsrc/external/mit/MesaLib.old/src/compiler/glsl/
H A Dir_expression_operation_constant.h3 for (unsigned c = 0; c < op[0]->type->components(); c++) {
24 for (unsigned c = 0; c < op[0]->type->components(); c++) {
36 for (unsigned c = 0; c < op[0]->type->components(); c++) {
63 for (unsigned c = 0; c < op[0]->type->components(); c++) {
84 for (unsigned c = 0; c < op[0]->type->components(); c++) {
105 for (unsigned c = 0; c < op[0]->type->components(); c++) {
120 for (unsigned c = 0; c < op[0]->type->components(); c++) {
135 for (unsigned c = 0; c < op[0]->type->components(); c++) {
150 for (unsigned c = 0; c < op[0]->type->components(); c++) {
162 for (unsigned c = 0; c < op[0]->type->components();
[all...]
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_lower_spill.c29 * 1. ldp/stp can only load/store 4 components at a time, but spilling ignores
31 * created for texture setup which can be more than 4 components.
59 unsigned components = MIN2(orig_components - comp, 4); local in function:split_spill
63 clone->srcs[1]->wrmask = MASK(components);
69 clone->srcs[2]->uim_val = components;
94 unsigned components = MIN2(orig_components - comp, 4); local in function:split_reload
98 clone->dsts[0]->wrmask = MASK(components);
104 clone->srcs[2]->uim_val = components;
/xsrc/external/mit/MesaLib.old/dist/src/glx/
H A Dcompsize.c154 int components; local in function:__glImageSize
179 components = __glElementsPerGroup(format, type);
192 return bytes_per_row * height * depth * components;
H A Dpixel.c94 GLint components, groupsPerRow, rowSize, padding, elementsPerRow; local in function:FillBitmap
103 components = __glElementsPerGroup(format, GL_BITMAP);
104 rowSize = (groupsPerRow * components + 7) >> 3;
110 ((skipPixels * components) >> 3);
111 bitOffset = (skipPixels * components) & 7;
114 elementsPerRow = width * components;
176 GLint components, elementSize, rowSize, padding, groupsPerRow, groupSize; local in function:__glFillImage
185 components = __glElementsPerGroup(format, type);
200 groupSize = elementSize * components;
213 elementsPerRow = width * components;
280 GLint components, groupsPerRow, rowSize, padding, elementsPerRow; local in function:EmptyBitmap
402 GLint components, elementSize, rowSize, padding, groupsPerRow, groupSize; local in function:__glEmptyImage
[all...]
/xsrc/external/mit/MesaLib/dist/src/glx/
H A Dcompsize.c154 int components; local in function:__glImageSize
179 components = __glElementsPerGroup(format, type);
192 return bytes_per_row * height * depth * components;
H A Dpixel.c94 GLint components, groupsPerRow, rowSize, padding, elementsPerRow; local in function:FillBitmap
103 components = __glElementsPerGroup(format, GL_BITMAP);
104 rowSize = (groupsPerRow * components + 7) >> 3;
110 ((skipPixels * components) >> 3);
111 bitOffset = (skipPixels * components) & 7;
114 elementsPerRow = width * components;
176 GLint components, elementSize, rowSize, padding, groupsPerRow, groupSize; local in function:__glFillImage
185 components = __glElementsPerGroup(format, type);
200 groupSize = elementSize * components;
213 elementsPerRow = width * components;
280 GLint components, groupsPerRow, rowSize, padding, elementsPerRow; local in function:EmptyBitmap
402 GLint components, elementSize, rowSize, padding, groupsPerRow, groupSize; local in function:__glEmptyImage
[all...]
/xsrc/external/mit/MesaLib/dist/.gitlab-ci/container/
H A Dbuild-virglrenderer.sh7 wget -qO- https://github.com/anholt/libepoxy/releases/download/1.5.8/libepoxy-1.5.8.tar.xz | tar -xJ --strip-components=1
/xsrc/external/mit/MesaLib/dist/src/compiler/
H A Dglsl_types.h389 static const glsl_type *vec(unsigned components, const glsl_type *const ts[]);
390 static const glsl_type *vec(unsigned components);
391 static const glsl_type *f16vec(unsigned components);
392 static const glsl_type *dvec(unsigned components);
393 static const glsl_type *ivec(unsigned components);
394 static const glsl_type *uvec(unsigned components);
395 static const glsl_type *bvec(unsigned components);
396 static const glsl_type *i64vec(unsigned components);
397 static const glsl_type *u64vec(unsigned components);
398 static const glsl_type *i16vec(unsigned components);
511 unsigned components() const function in struct:glsl_type
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/
H A Dglsl_types.h292 static const glsl_type *vec(unsigned components, const glsl_type *const ts[]);
293 static const glsl_type *vec(unsigned components);
294 static const glsl_type *f16vec(unsigned components);
295 static const glsl_type *dvec(unsigned components);
296 static const glsl_type *ivec(unsigned components);
297 static const glsl_type *uvec(unsigned components);
298 static const glsl_type *bvec(unsigned components);
299 static const glsl_type *i64vec(unsigned components);
300 static const glsl_type *u64vec(unsigned components);
301 static const glsl_type *i16vec(unsigned components);
397 unsigned components() const function in struct:glsl_type
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_clip_disable.c84 nir_ssa_def *components[4]; local in function:lower_clip_plane_store
86 /* rewrite components as zeroes for planes that aren't enabled */
90 components[i] = nir_imm_int(b, 0);
92 components[i] = nir_channel(b, nir_ssa_for_src(b, instr->src[1], nir_src_num_components(instr->src[1])), i);
94 components[i] = nir_ssa_undef(b, 1, 32);
96 nir_store_deref(b, deref, nir_vec(b, components, instr->num_components), wrmask);
/xsrc/external/mit/glu/dist/src/libutil/
H A Dmipmap.c102 static void scale_internal(GLint components, GLint widthin, GLint heightin,
107 static void scale_internal_ubyte(GLint components, GLint widthin,
112 static void scale_internal_byte(GLint components, GLint widthin,
117 static void scale_internal_ushort(GLint components, GLint widthin,
123 static void scale_internal_short(GLint components, GLint widthin,
129 static void scale_internal_uint(GLint components, GLint widthin,
135 static void scale_internal_int(GLint components, GLint widthin,
141 static void scale_internal_float(GLint components, GLint widthin,
339 static void halveImage(GLint components, GLuint width, GLuint height, argument
350 delta = width * components;
368 halveImage_ubyte(GLint components,GLuint width,GLuint height,const GLubyte * datain,GLubyte * dataout,GLint element_size,GLint ysize,GLint group_size) argument
410 halve1Dimage_ubyte(GLint components,GLuint width,GLuint height,const GLubyte * dataIn,GLubyte * dataOut,GLint element_size,GLint ysize,GLint group_size) argument
469 halveImage_byte(GLint components,GLuint width,GLuint height,const GLbyte * datain,GLbyte * dataout,GLint element_size,GLint ysize,GLint group_size) argument
511 halve1Dimage_byte(GLint components,GLuint width,GLuint height,const GLbyte * dataIn,GLbyte * dataOut,GLint element_size,GLint ysize,GLint group_size) argument
569 halveImage_ushort(GLint components,GLuint width,GLuint height,const GLushort * datain,GLushort * dataout,GLint element_size,GLint ysize,GLint group_size,GLint myswap_bytes) argument
627 halve1Dimage_ushort(GLint components,GLuint width,GLuint height,const GLushort * dataIn,GLushort * dataOut,GLint element_size,GLint ysize,GLint group_size,GLint myswap_bytes) argument
708 halveImage_short(GLint components,GLuint width,GLuint height,const GLshort * datain,GLshort * dataout,GLint element_size,GLint ysize,GLint group_size,GLint myswap_bytes) argument
773 halve1Dimage_short(GLint components,GLuint width,GLuint height,const GLshort * dataIn,GLshort * dataOut,GLint element_size,GLint ysize,GLint group_size,GLint myswap_bytes) argument
854 halveImage_uint(GLint components,GLuint width,GLuint height,const GLuint * datain,GLuint * dataout,GLint element_size,GLint ysize,GLint group_size,GLint myswap_bytes) argument
919 halve1Dimage_uint(GLint components,GLuint width,GLuint height,const GLuint * dataIn,GLuint * dataOut,GLint element_size,GLint ysize,GLint group_size,GLint myswap_bytes) argument
999 halveImage_int(GLint components,GLuint width,GLuint height,const GLint * datain,GLint * dataout,GLint element_size,GLint ysize,GLint group_size,GLint myswap_bytes) argument
1065 halve1Dimage_int(GLint components,GLuint width,GLuint height,const GLint * dataIn,GLint * dataOut,GLint element_size,GLint ysize,GLint group_size,GLint myswap_bytes) argument
1146 halveImage_float(GLint components,GLuint width,GLuint height,const GLfloat * datain,GLfloat * dataout,GLint element_size,GLint ysize,GLint group_size,GLint myswap_bytes) argument
1211 halve1Dimage_float(GLint components,GLuint width,GLuint height,const GLfloat * dataIn,GLfloat * dataOut,GLint element_size,GLint ysize,GLint group_size,GLint myswap_bytes) argument
1289 scale_internal(GLint components,GLint widthin,GLint heightin,const GLushort * datain,GLint widthout,GLint heightout,GLushort * dataout) argument
1385 scale_internal_ubyte(GLint components,GLint widthin,GLint heightin,const GLubyte * datain,GLint widthout,GLint heightout,GLubyte * dataout,GLint element_size,GLint ysize,GLint group_size) argument
1602 scale_internal_byte(GLint components,GLint widthin,GLint heightin,const GLbyte * datain,GLint widthout,GLint heightout,GLbyte * dataout,GLint element_size,GLint ysize,GLint group_size) argument
1819 scale_internal_ushort(GLint components,GLint widthin,GLint heightin,const GLushort * datain,GLint widthout,GLint heightout,GLushort * dataout,GLint element_size,GLint ysize,GLint group_size,GLint myswap_bytes) argument
2099 scale_internal_short(GLint components,GLint widthin,GLint heightin,const GLshort * datain,GLint widthout,GLint heightout,GLshort * dataout,GLint element_size,GLint ysize,GLint group_size,GLint myswap_bytes) argument
2393 scale_internal_uint(GLint components,GLint widthin,GLint heightin,const GLuint * datain,GLint widthout,GLint heightout,GLuint * dataout,GLint element_size,GLint ysize,GLint group_size,GLint myswap_bytes) argument
2680 scale_internal_int(GLint components,GLint widthin,GLint heightin,const GLint * datain,GLint widthout,GLint heightout,GLint * dataout,GLint element_size,GLint ysize,GLint group_size,GLint myswap_bytes) argument
2976 scale_internal_float(GLint components,GLint widthin,GLint heightin,const GLfloat * datain,GLint widthout,GLint heightout,GLfloat * dataout,GLint element_size,GLint ysize,GLint group_size,GLint myswap_bytes) argument
3503 int components; local in function:gluScaleImage
4861 int components; local in function:image_size
4883 GLint components; local in function:fill_image
5146 GLint components; local in function:empty_image
6015 scaleInternalPackedPixel(int components,void (* extractPackedPixel)(int,const void *,GLfloat[]),void (* shovePackedPixel)(const GLfloat[],int,void *),GLint widthIn,GLint heightIn,const void * dataIn,GLint widthOut,GLint heightOut,void * dataOut,GLint pixelSizeInBytes,GLint rowSizeInBytes,GLint isSwap) argument
6419 halveImagePackedPixel(int components,void (* extractPackedPixel)(int,const void *,GLfloat[]),void (* shovePackedPixel)(const GLfloat[],int,void *),GLint width,GLint height,const void * dataIn,void * dataOut,GLint pixelSizeInBytes,GLint rowSizeInBytes,GLint isSwap) argument
6505 halve1DimagePackedPixel(int components,void (* extractPackedPixel)(int,const void *,GLfloat[]),void (* shovePackedPixel)(const GLfloat[],int,void *),GLint width,GLint height,const void * dataIn,void * dataOut,GLint pixelSizeInBytes,GLint rowSizeInBytes,GLint isSwap) argument
6676 int components= elements_per_group(format,type); local in function:imageSize3D
6691 int components; local in function:fillImage3D
6921 scaleInternal3D(GLint components,GLint widthIn,GLint heightIn,GLint depthIn,const GLushort * dataIn,GLint widthOut,GLint heightOut,GLint depthOut,GLushort * dataOut) argument
7056 int components; local in function:emptyImage3D
7362 int components; local in function:gluScaleImage3D
7466 halveImagePackedPixelSlice(int components,void (* extractPackedPixel)(int,const void *,GLfloat[]),void (* shovePackedPixel)(const GLfloat[],int,void *),GLint width,GLint height,GLint depth,const void * dataIn,void * dataOut,GLint pixelSizeInBytes,GLint rowSizeInBytes,GLint imageSizeInBytes,GLint isSwap) argument
7606 halveImagePackedPixel3D(int components,void (* extractPackedPixel)(int,const void *,GLfloat[]),void (* shovePackedPixel)(const GLfloat[],int,void *),GLint width,GLint height,GLint depth,const void * dataIn,void * dataOut,GLint pixelSizeInBytes,GLint rowSizeInBytes,GLint imageSizeInBytes,GLint isSwap) argument
8664 halveImageSlice(int components,GLdouble (* extract)(int,const void *),void (* shove)(GLdouble,int,void *),GLint width,GLint height,GLint depth,const void * dataIn,void * dataOut,GLint elementSizeInBytes,GLint groupSizeInBytes,GLint rowSizeInBytes,GLint imageSizeInBytes,GLint isSwap) argument
8826 halveImage3D(int components,GLdouble (* extract)(int,const void *),void (* shove)(GLdouble,int,void *),GLint width,GLint height,GLint depth,const void * dataIn,void * dataOut,GLint elementSizeInBytes,GLint groupSizeInBytes,GLint rowSizeInBytes,GLint imageSizeInBytes,GLint isSwap) argument
[all...]

Completed in 29 milliseconds

1234567891011>>