Searched refs:normalized (Results 1 - 25 of 142) sorted by relevance

123456

/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dformat_utils.c279 bool normalized, dst_integer, src_integer, is_signed; local in function:_mesa_format_convert
403 normalized = false;
411 normalized = _mesa_array_format_is_normalized(src_array_format);
422 normalized |= _mesa_array_format_is_normalized(dst_array_format);
435 src2dst, normalized, width);
524 rebased_src2rgba, normalized, width);
547 rgba2dst, normalized, width);
569 rebased_src2rgba, normalized, width);
581 rebase_swizzle, normalized, width);
591 rgba2dst, normalized, widt
671 _mesa_format_to_array(mesa_format format,GLenum * type,int * num_components,uint8_t swizzle[4],bool * normalized) argument
770 swizzle_convert_try_memcpy(void * dst,enum mesa_array_format_datatype dst_type,int num_dst_channels,const void * src,enum mesa_array_format_datatype src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
939 convert_float(void * void_dst,int num_dst_channels,const void * void_src,GLenum src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
1001 convert_half_float(void * void_dst,int num_dst_channels,const void * void_src,GLenum src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
1062 convert_ubyte(void * void_dst,int num_dst_channels,const void * void_src,GLenum src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
1128 convert_byte(void * void_dst,int num_dst_channels,const void * void_src,GLenum src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
1194 convert_ushort(void * void_dst,int num_dst_channels,const void * void_src,GLenum src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
1260 convert_short(void * void_dst,int num_dst_channels,const void * void_src,GLenum src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
1325 convert_uint(void * void_dst,int num_dst_channels,const void * void_src,GLenum src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
1391 convert_int(void * void_dst,int num_dst_channels,const void * void_src,GLenum src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
1505 _mesa_swizzle_and_convert(void * void_dst,enum mesa_array_format_datatype dst_type,int num_dst_channels,const void * void_src,enum mesa_array_format_datatype src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
[all...]
H A Dvarray.h35 GLboolean normalized, GLboolean integer,
66 GLenum format, GLboolean normalized,
205 GLboolean normalized, GLsizei stride,
209 GLboolean normalized, GLsizei stride,
372 GLboolean normalized, GLuint relativeOffset);
376 GLenum type, GLboolean normalized,
H A Dvarray.c246 GLboolean normalized, GLboolean integer,
253 vertex_format->Normalized = normalized;
333 * \param normalized Whether integer types are converted to floats in [-1, 1]
334 * \param integer Integer-valued values (will not be normalized to [-1, 1])
343 GLenum format, GLboolean normalized,
354 normalized, integer, doubles);
371 * \param normalized Whether integer types are converted to floats in [-1, 1]
372 * \param integer Integer-valued values (will not be normalized to [-1, 1])
382 GLint size, GLenum type, GLboolean normalized,
389 assert((int) normalized
244 _mesa_set_vertex_format(struct gl_vertex_format * vertex_format,GLubyte size,GLenum16 type,GLenum16 format,GLboolean normalized,GLboolean integer,GLboolean doubles) argument
340 _mesa_update_array_format(struct gl_context * ctx,struct gl_vertex_array_object * vao,gl_vert_attrib attrib,GLint size,GLenum type,GLenum format,GLboolean normalized,GLboolean integer,GLboolean doubles,GLuint relativeOffset) argument
378 validate_array_format(struct gl_context * ctx,const char * func,struct gl_vertex_array_object * vao,GLuint attrib,GLbitfield legalTypesMask,GLint sizeMin,GLint sizeMax,GLint size,GLenum type,GLboolean normalized,GLboolean integer,GLboolean doubles,GLuint relativeOffset,GLenum format) argument
500 validate_array(struct gl_context * ctx,const char * func,GLuint attrib,GLbitfield legalTypesMask,GLint sizeMin,GLint sizeMax,GLint size,GLenum type,GLsizei stride,GLboolean normalized,GLboolean integer,GLboolean doubles,const GLvoid * ptr) argument
558 validate_array_and_format(struct gl_context * ctx,const char * func,GLuint attrib,GLbitfield legalTypes,GLint sizeMin,GLint sizeMax,GLint size,GLenum type,GLsizei stride,GLboolean normalized,GLboolean integer,GLboolean doubles,GLenum format,const GLvoid * ptr,struct gl_vertex_array_object * vao) argument
590 update_array(struct gl_context * ctx,GLuint attrib,GLenum format,GLint sizeMax,GLint size,GLenum type,GLsizei stride,GLboolean normalized,GLboolean integer,GLboolean doubles,const GLvoid * ptr) argument
941 _mesa_VertexAttribPointer_no_error(GLuint index,GLint size,GLenum type,GLboolean normalized,GLsizei stride,const GLvoid * ptr) argument
959 _mesa_VertexAttribPointer(GLuint index,GLint size,GLenum type,GLboolean normalized,GLsizei stride,const GLvoid * ptr) argument
996 const GLboolean normalized = GL_FALSE; local in function:_mesa_VertexAttribIPointer_no_error
1015 const GLboolean normalized = GL_FALSE; local in function:_mesa_VertexAttribIPointer
2380 vertex_attrib_format(GLuint attribIndex,GLint size,GLenum type,GLboolean normalized,GLboolean integer,GLboolean doubles,GLbitfield legalTypes,GLsizei sizeMax,GLuint relativeOffset,const char * func) argument
2442 _mesa_VertexAttribFormat(GLuint attribIndex,GLint size,GLenum type,GLboolean normalized,GLuint relativeOffset) argument
2473 vertex_array_attrib_format(GLuint vaobj,GLuint attribIndex,GLint size,GLenum type,GLboolean normalized,GLboolean integer,GLboolean doubles,GLbitfield legalTypes,GLsizei sizeMax,GLuint relativeOffset,const char * func) argument
2529 _mesa_VertexArrayAttribFormat(GLuint vaobj,GLuint attribIndex,GLint size,GLenum type,GLboolean normalized,GLuint relativeOffset) argument
[all...]
H A Dformat_utils.h222 uint8_t swizzle[4], bool *normalized);
231 const uint8_t swizzle[4], bool normalized, int count);
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_normalize_cubemap_coords.c64 nir_ssa_def *normalized = nir_fmul(b, orig_coord, nir_frcp(b, norm)); local in function:normalize_cubemap_coords_block
66 /* Array indices don't have to be normalized, so make a new vector
70 normalized = nir_vec4(b,
71 nir_channel(b, normalized, 0),
72 nir_channel(b, normalized, 1),
73 nir_channel(b, normalized, 2),
79 nir_src_for_ssa(normalized));
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_normalize_cubemap_coords.c64 nir_ssa_def *normalized = nir_fmul(b, orig_coord, nir_frcp(b, norm)); local in function:normalize_cubemap_coords_block
66 /* Array indices don't have to be normalized, so make a new vector
70 normalized = nir_vec4(b,
71 nir_channel(b, normalized, 0),
72 nir_channel(b, normalized, 1),
73 nir_channel(b, normalized, 2),
79 nir_src_for_ssa(normalized));
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dformat_utils.h48 uint8_t swizzle[4], bool *normalized);
57 const uint8_t swizzle[4], bool normalized, int count);
H A Dformat_utils.c289 bool normalized, dst_integer, src_integer, is_signed; local in function:_mesa_format_convert
417 normalized = false;
425 normalized = _mesa_array_format_is_normalized(src_array_format);
436 normalized |= _mesa_array_format_is_normalized(dst_array_format);
449 src2dst, normalized, width);
538 rebased_src2rgba, normalized, width);
561 rgba2dst, normalized, width);
583 rebased_src2rgba, normalized, width);
595 rebase_swizzle, normalized, width);
605 rgba2dst, normalized, widt
687 _mesa_format_to_array(mesa_format format,GLenum * type,int * num_components,uint8_t swizzle[4],bool * normalized) argument
798 swizzle_convert_try_memcpy(void * dst,enum mesa_array_format_datatype dst_type,int num_dst_channels,const void * src,enum mesa_array_format_datatype src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
967 convert_float(void * void_dst,int num_dst_channels,const void * void_src,GLenum src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
1029 convert_half_float(void * void_dst,int num_dst_channels,const void * void_src,GLenum src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
1090 convert_ubyte(void * void_dst,int num_dst_channels,const void * void_src,GLenum src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
1156 convert_byte(void * void_dst,int num_dst_channels,const void * void_src,GLenum src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
1222 convert_ushort(void * void_dst,int num_dst_channels,const void * void_src,GLenum src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
1288 convert_short(void * void_dst,int num_dst_channels,const void * void_src,GLenum src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
1353 convert_uint(void * void_dst,int num_dst_channels,const void * void_src,GLenum src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
1419 convert_int(void * void_dst,int num_dst_channels,const void * void_src,GLenum src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
1533 _mesa_swizzle_and_convert(void * void_dst,enum mesa_array_format_datatype dst_type,int num_dst_channels,const void * void_src,enum mesa_array_format_datatype src_type,int num_src_channels,const uint8_t swizzle[4],bool normalized,int count) argument
[all...]
H A Dvarray.h48 GLboolean normalized, GLboolean integer,
79 GLenum format, GLboolean normalized,
221 GLboolean normalized, GLsizei stride,
225 GLboolean normalized, GLsizei stride,
412 GLboolean normalized, GLuint relativeOffset);
416 GLenum type, GLboolean normalized,
421 GLenum type, GLboolean normalized,
536 GLenum type, GLboolean normalized,
H A Dvarray.c277 /* vertex_formats[gltype - GL_BYTE][integer*2 + normalized][size - 1] */
465 bool normalized, bool integer, bool doubles)
483 if (normalized)
488 if (normalized)
499 if (normalized)
504 if (normalized)
518 assert(normalized);
524 unsigned index = integer*2 + normalized;
533 GLboolean normalized, GLboolean integer,
540 vertex_format->Normalized = normalized;
464 vertex_format_to_pipe_format(GLubyte size,GLenum16 type,GLenum16 format,bool normalized,bool integer,bool doubles) argument
531 _mesa_set_vertex_format(struct gl_vertex_format * vertex_format,GLubyte size,GLenum16 type,GLenum16 format,GLboolean normalized,GLboolean integer,GLboolean doubles) argument
632 _mesa_update_array_format(struct gl_context * ctx,struct gl_vertex_array_object * vao,gl_vert_attrib attrib,GLint size,GLenum type,GLenum format,GLboolean normalized,GLboolean integer,GLboolean doubles,GLuint relativeOffset) argument
678 validate_array_format(struct gl_context * ctx,const char * func,struct gl_vertex_array_object * vao,GLuint attrib,GLbitfield legalTypesMask,GLint sizeMin,GLint sizeMax,GLint size,GLenum type,bool normalized,bool integer,bool doubles,GLuint relativeOffset,GLenum format) argument
802 validate_array(struct gl_context * ctx,const char * func,struct gl_vertex_array_object * vao,struct gl_buffer_object * obj,GLuint attrib,GLbitfield legalTypesMask,GLint sizeMin,GLint sizeMax,GLint size,GLenum type,GLsizei stride,GLboolean normalized,GLboolean integer,GLboolean doubles,const GLvoid * ptr) argument
860 validate_array_and_format(struct gl_context * ctx,const char * func,struct gl_vertex_array_object * vao,struct gl_buffer_object * obj,GLuint attrib,GLbitfield legalTypes,GLint sizeMin,GLint sizeMax,GLint size,GLenum type,GLsizei stride,GLboolean normalized,GLboolean integer,GLboolean doubles,GLenum format,const GLvoid * ptr) argument
895 update_array(struct gl_context * ctx,struct gl_vertex_array_object * vao,struct gl_buffer_object * obj,GLuint attrib,GLenum format,GLint sizeMax,GLint size,GLenum type,GLsizei stride,GLboolean normalized,GLboolean integer,GLboolean doubles,const GLvoid * ptr) argument
1616 _mesa_VertexAttribPointer_no_error(GLuint index,GLint size,GLenum type,GLboolean normalized,GLsizei stride,const GLvoid * ptr) argument
1635 _mesa_VertexAttribPointer(GLuint index,GLint size,GLenum type,GLboolean normalized,GLsizei stride,const GLvoid * ptr) argument
1670 _mesa_VertexArrayVertexAttribOffsetEXT(GLuint vaobj,GLuint buffer,GLuint index,GLint size,GLenum type,GLboolean normalized,GLsizei stride,GLintptr offset) argument
1749 const GLboolean normalized = GL_FALSE; local in function:_mesa_VertexAttribIPointer_no_error
1769 const GLboolean normalized = GL_FALSE; local in function:_mesa_VertexAttribIPointer
1812 const GLboolean normalized = GL_FALSE; local in function:_mesa_VertexArrayVertexAttribIOffsetEXT
3347 vertex_attrib_format(GLuint attribIndex,GLint size,GLenum type,GLboolean normalized,GLboolean integer,GLboolean doubles,GLbitfield legalTypes,GLsizei sizeMax,GLuint relativeOffset,const char * func) argument
3409 _mesa_VertexAttribFormat(GLuint attribIndex,GLint size,GLenum type,GLboolean normalized,GLuint relativeOffset) argument
3440 vertex_array_attrib_format(GLuint vaobj,bool isExtDsa,GLuint attribIndex,GLint size,GLenum type,GLboolean normalized,GLboolean integer,GLboolean doubles,GLbitfield legalTypes,GLsizei sizeMax,GLuint relativeOffset,const char * func) argument
3490 _mesa_VertexArrayAttribFormat(GLuint vaobj,GLuint attribIndex,GLint size,GLenum type,GLboolean normalized,GLuint relativeOffset) argument
3502 _mesa_VertexArrayVertexAttribFormatEXT(GLuint vaobj,GLuint attribIndex,GLint size,GLenum type,GLboolean normalized,GLuint relativeOffset) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/
H A Dsfn_nir_lower_alu.cpp76 auto normalized = local in function:r600::LowerSinCos::lower
86 return nir_fsin_r600(b, normalized);
88 return nir_fcos_r600(b, normalized);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/
H A Dpan_format.c223 format |= panfrost_translate_channel_type(chan.type, chan.size, chan.normalized);
231 format |= panfrost_translate_channel_type(chan.type, chan.size, chan.normalized);
/xsrc/external/mit/MesaLib.old/dist/src/glx/
H A Dindirect_vertex_array_priv.h86 GLboolean normalized; member in struct:array_state
/xsrc/external/mit/MesaLib/dist/src/glx/
H A Dindirect_vertex_array_priv.h86 GLboolean normalized; member in struct:array_state
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_atom_array.c53 /* vertex_formats[gltype - GL_BYTE][integer*2 + normalized][size - 1] */
245 const bool normalized = vformat->Normalized; local in function:st_pipe_vertex_format
263 if (normalized)
268 if (normalized)
279 if (normalized)
284 if (normalized)
298 assert(normalized);
304 index = integer*2 + normalized;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_nir_lower_io.c107 if (chan->normalized) {
121 if (chan->normalized) {
134 if (chan->normalized) {
150 if (chan->normalized) {
158 if (chan->normalized) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_nir_lower_io.c108 if (chan->normalized) {
122 if (chan->normalized) {
135 if (chan->normalized) {
151 if (chan->normalized) {
159 if (chan->normalized) {
/xsrc/external/mit/MesaLib.old/dist/src/gallium/docs/source/
H A Dresources.rst83 1D surface accessed with normalized coordinates.
92 - Must use normalized coordinates
114 D3D11: not supported (only PIPE_TEXTURE_2D with normalized coordinates is supported)
118 2D surface accessed with normalized coordinates.
126 - Must use normalized coordinates
148 - Must use normalized coordinates
174 - Must use normalized coordinates
H A Dformat.rst21 - ``SNORM``: N bit signed integer normalized to [-1 ... 1]
27 - ``UNORM``: N bit unsigned integer normalized to [0 ... 1]
/xsrc/external/mit/MesaLib/dist/docs/gallium/
H A Dresources.rst83 1D surface accessed with normalized coordinates.
92 - Must use normalized coordinates
114 D3D11: not supported (only PIPE_TEXTURE_2D with normalized coordinates is supported)
118 2D surface accessed with normalized coordinates.
126 - Must use normalized coordinates
148 - Must use normalized coordinates
174 - Must use normalized coordinates
/xsrc/external/mit/MesaLib.old/dist/src/mesa/vbo/
H A Dvbo_attrib_tmp.h135 * normalized fixed-point data to floating-point data. In the OpenGL 3.2
141 * used for signed normalized fixed-point parameters in GL commands, such
147 * used for signed normalized fixed-point texture or floating point values."
208 #define ATTR_UI(ctx, val, type, normalized, attr, arg) do { \
210 if (normalized) { \
216 if (normalized) { \
230 #define ATTR_UI_INDEX(ctx, val, type, normalized, index, arg) do { \
232 ATTR_UI(ctx, val, (type), normalized, 0, (arg)); \
234 ATTR_UI(ctx, val, (type), normalized, VBO_ATTRIB_GENERIC0 + (index), (arg)); \
1140 TAG(VertexAttribP1ui)(GLuint index, GLenum type, GLboolean normalized,
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/docs/source/cso/
H A Dvelems.rst17 * Integers, signed or unsigned, normalized or non-normalized, 8, 16, or 32
/xsrc/external/mit/MesaLib/dist/docs/gallium/cso/
H A Dvelems.rst17 * Integers, signed or unsigned, normalized or non-normalized, 8, 16, or 32
/xsrc/external/mit/MesaLib/dist/src/broadcom/compiler/
H A Dv3d_nir_lower_image_load_store.c50 return chan->size > 16 || (chan->size == 16 && chan->normalized);
140 } else if (r_chan->normalized &&
144 } else if (r_chan->normalized &&
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_aos.c135 desc->channel[chan].normalized != type.norm) {
232 boolean normalized; local in function:lp_build_unpack_arith_rgba_aos
260 normalized = FALSE;
285 if (desc->channel[i].normalized) {
287 normalized = TRUE;
297 if (desc->block.bits < 32 && normalized) {
310 * We could also use a extra mul when the format isn't normalized and
342 * by powers of two). Next, if the pixel values are normalized
346 if (normalized)
375 boolean normalized; local in function:lp_build_pack_rgba_aos
[all...]

Completed in 41 milliseconds

123456