Searched refs:attrib (Results 1 - 25 of 297) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast_setup/
H A Dss_tritmp.h53 GLfloat ex = v[0]->attrib[VARYING_SLOT_POS][0] - v[2]->attrib[VARYING_SLOT_POS][0];
54 GLfloat ey = v[0]->attrib[VARYING_SLOT_POS][1] - v[2]->attrib[VARYING_SLOT_POS][1];
55 GLfloat fx = v[1]->attrib[VARYING_SLOT_POS][0] - v[2]->attrib[VARYING_SLOT_POS][0];
56 GLfloat fy = v[1]->attrib[VARYING_SLOT_POS][1] - v[2]->attrib[VARYING_SLOT_POS][1];
77 COPY_4V(saved_col0[0], v[0]->attrib[VARYING_SLOT_COL0]);
78 COPY_4V(saved_col0[1], v[1]->attrib[VARYING_SLOT_COL
[all...]
H A Dss_context.c99 map[e].attrib = (ATTR); \
129 EMIT_ATTR( _TNL_ATTRIB_POS, EMIT_4F_VIEWPORT, attrib[VARYING_SLOT_POS] );
135 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4F, attrib[VARYING_SLOT_COL0]);
139 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_4F, attrib[VARYING_SLOT_COL1]);
144 EMIT_ATTR( _TNL_ATTRIB_FOG, emit, attrib[VARYING_SLOT_FOGC]);
152 attrib[VARYING_SLOT_TEX0 + i] );
162 attrib[VARYING_SLOT_VAR0 + i] );
264 * Populate a swrast SWvertex from an attrib-style vertex.
276 dest->attrib[VARYING_SLOT_POS][0] = m[0] * tmp[0] + m[12];
277 dest->attrib[VARYING_SLOT_PO
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast_setup/
H A Dss_tritmp.h53 GLfloat ex = v[0]->attrib[VARYING_SLOT_POS][0] - v[2]->attrib[VARYING_SLOT_POS][0];
54 GLfloat ey = v[0]->attrib[VARYING_SLOT_POS][1] - v[2]->attrib[VARYING_SLOT_POS][1];
55 GLfloat fx = v[1]->attrib[VARYING_SLOT_POS][0] - v[2]->attrib[VARYING_SLOT_POS][0];
56 GLfloat fy = v[1]->attrib[VARYING_SLOT_POS][1] - v[2]->attrib[VARYING_SLOT_POS][1];
77 COPY_4V(saved_col0[0], v[0]->attrib[VARYING_SLOT_COL0]);
78 COPY_4V(saved_col0[1], v[1]->attrib[VARYING_SLOT_COL
[all...]
H A Dss_context.c99 map[e].attrib = (ATTR); \
129 EMIT_ATTR( _TNL_ATTRIB_POS, EMIT_4F_VIEWPORT, attrib[VARYING_SLOT_POS] );
135 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4F, attrib[VARYING_SLOT_COL0]);
139 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_4F, attrib[VARYING_SLOT_COL1]);
144 EMIT_ATTR( _TNL_ATTRIB_FOG, emit, attrib[VARYING_SLOT_FOGC]);
152 attrib[VARYING_SLOT_TEX0 + i] );
162 attrib[VARYING_SLOT_VAR0 + i] );
264 * Populate a swrast SWvertex from an attrib-style vertex.
276 dest->attrib[VARYING_SLOT_POS][0] = m[0] * tmp[0] + m[12];
277 dest->attrib[VARYING_SLOT_PO
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/i915/
H A Di915_prim_emit.c79 const uint j = vinfo->attrib[i].src_index;
80 const float *attrib = vertex->data[j]; local in function:emit_hw_vertex
81 switch (vinfo->attrib[i].emit) {
83 OUT_BATCH( fui(attrib[0]) );
87 OUT_BATCH( fui(attrib[0]) );
88 OUT_BATCH( fui(attrib[1]) );
92 OUT_BATCH( fui(attrib[0]) );
93 OUT_BATCH( fui(attrib[1]) );
94 OUT_BATCH( fui(attrib[2]) );
98 OUT_BATCH( fui(attrib[
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/
H A Di915_prim_emit.c73 const uint32_t j = vinfo->attrib[i].src_index;
74 const float *attrib = vertex->data[j]; local in function:emit_hw_vertex
75 switch (vinfo->attrib[i].emit) {
77 OUT_BATCH(fui(attrib[0]));
81 OUT_BATCH(fui(attrib[0]));
82 OUT_BATCH(fui(attrib[1]));
86 OUT_BATCH(fui(attrib[0]));
87 OUT_BATCH(fui(attrib[1]));
88 OUT_BATCH(fui(attrib[2]));
92 OUT_BATCH(fui(attrib[
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A Dbifrost_isa.py62 if cond.attrib.get('alias', False) and not aliased:
65 if 'left' in cond.attrib:
66 return [cond.tag, cond.attrib['left'], cond.attrib['right']]
71 return [int(obj.attrib['mask'], 0), int(obj.attrib['exact'], 0)]
77 loc = [int(deriv.attrib['start']), int(deriv.attrib['size'])]
92 if mod.attrib.get('pseudo', False) and not include_pseudo:
95 name = mod.attrib['nam
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/
H A Ddriconf_static.py41 self.name = xml.attrib['name']
42 self.value = xml.attrib['value']
47 self.name = xml.attrib['name']
48 self.executable = xml.attrib.get('executable', None)
49 self.executable_regexp = xml.attrib.get('executable_regexp', None)
50 self.sha1 = xml.attrib.get('sha1', None)
51 self.application_name_match = xml.attrib.get('application_name_match', None)
52 self.application_versions = xml.attrib.get('application_versions', None)
61 self.engine_name_match = xml.attrib['engine_name_match']
62 self.engine_versions = xml.attrib
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/r200/
H A Dr200_maos_arrays.c87 GLubyte attrib = vimap_rev[i]; local in function:r200EmitArrays
88 if (attrib != 255) {
91 emitsize = (VB->AttribPtr[attrib]->size);
105 unreachable("r200: vertex weight attrib unsupported");
108 assert(attrib == VERT_ATTRIB_NORMAL);
114 assert(attrib == VERT_ATTRIB_FOG);
119 (char *)VB->AttribPtr[attrib]->data,
121 VB->AttribPtr[attrib]->stride,
126 (char *)VB->AttribPtr[attrib]->data,
127 VB->AttribPtr[attrib]
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/r200/
H A Dr200_maos_arrays.c87 GLubyte attrib = vimap_rev[i]; local in function:r200EmitArrays
88 if (attrib != 255) {
91 emitsize = (VB->AttribPtr[attrib]->size);
105 unreachable("r200: vertex weight attrib unsupported");
108 assert(attrib == VERT_ATTRIB_NORMAL);
114 assert(attrib == VERT_ATTRIB_FOG);
119 (char *)VB->AttribPtr[attrib]->data,
121 VB->AttribPtr[attrib]->stride,
126 (char *)VB->AttribPtr[attrib]->data,
127 VB->AttribPtr[attrib]
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/vulkan/util/
H A Dgen_enum_to_str.py290 if 'value' in elem.attrib:
291 self.add_value(elem.attrib['name'],
292 value=int(elem.attrib['value'], base=0))
293 elif 'alias' in elem.attrib:
294 self.add_value(elem.attrib['name'],
295 value=self.name_to_value[elem.attrib['alias']])
297 error = 'dir' in elem.attrib and elem.attrib['dir'] == '-'
298 if 'extnumber' in elem.attrib:
299 extnum = int(elem.attrib['extnumbe
[all...]
/xsrc/external/mit/MesaLib/dist/src/vulkan/util/
H A Dvk_physical_device_features.py148 if _type.attrib.get('name') != 'VkPhysicalDeviceFeatures':
168 if _extension.attrib.get('provisional') != 'true':
171 provisional_structs.add(p.attrib.get('name'))
175 if _type.attrib.get('category') != 'struct':
177 if _type.attrib.get('structextends') != 'VkPhysicalDeviceFeatures2,VkDeviceCreateInfo':
179 if _type.attrib.get('name') in provisional_structs:
184 if "STRUCTURE_TYPE" in str(elem.attrib):
185 s_type = elem.attrib.get('values')
195 s_type = p.attrib.get('values')
200 feat = Feature(name=_type.attrib
[all...]
H A Dgen_enum_to_str.py320 if 'value' in elem.attrib:
321 self.add_value(elem.attrib['name'],
322 value=int(elem.attrib['value'], base=0))
323 elif 'bitpos' in elem.attrib:
324 self.add_value(elem.attrib['name'],
325 value=(1 << int(elem.attrib['bitpos'], base=0)))
326 elif 'alias' in elem.attrib:
327 self.add_value(elem.attrib['name'], alias=elem.attrib['alias'])
329 error = 'dir' in elem.attrib an
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xfree86/common/
H A Dxf86platformBus.h110 _xf86_get_platform_device_attrib(struct xf86_platform_device *device, int attrib, int (*fake)[0]) argument
112 switch (attrib) {
127 #define xf86_get_platform_device_attrib(device, attrib) _xf86_get_platform_device_attrib(device,attrib,_ODEV_ATTRIB_STRING_CHECK(attrib))
135 _xf86_get_platform_device_int_attrib(struct xf86_platform_device *device, int attrib, int (*fake)[0]) argument
137 switch (attrib) {
150 #define xf86_get_platform_device_int_attrib(device, attrib, def) _xf86_get_platform_device_int_attrib(device,attrib,_ODEV_ATTRIB_INT_CHECK(attrib,de
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/intel/genxml/
H A Dgen_sort_tags.py33 return element.attrib['filename']
36 return element.attrib['name']
39 return int(element.attrib['value'], 0)
42 return int(element.attrib['start'], 0)
62 if 'type' in node.attrib and not is_base_type(node.attrib['type']):
63 t = node.attrib['type']
75 self.name = xml.attrib['name']
113 for a in node.attrib:
116 if a in node.attrib
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/genxml/
H A Dgen_sort_tags.py12 return element.attrib['filename']
15 return element.attrib['name']
18 return int(element.attrib['value'], 0)
21 return int(element.attrib['start'], 0)
41 if 'type' in node.attrib and not is_base_type(node.attrib['type']):
42 t = node.attrib['type']
54 self.name = xml.attrib['name']
92 for a in node.attrib:
95 if a in node.attrib
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_feedback.c39 const GLfloat *vtc = v->attrib[VARYING_SLOT_TEX0];
40 const GLfloat *color = v->attrib[VARYING_SLOT_COL0];
42 win[0] = v->attrib[VARYING_SLOT_POS][0];
43 win[1] = v->attrib[VARYING_SLOT_POS][1];
44 win[2] = v->attrib[VARYING_SLOT_POS][2] / ctx->DrawBuffer->_DepthMaxF;
45 win[3] = 1.0F / v->attrib[VARYING_SLOT_POS][3];
116 _mesa_update_hitflag( ctx, v0->attrib[VARYING_SLOT_POS][2] * zs );
117 _mesa_update_hitflag( ctx, v1->attrib[VARYING_SLOT_POS][2] * zs );
118 _mesa_update_hitflag( ctx, v2->attrib[VARYING_SLOT_POS][2] * zs );
127 _mesa_update_hitflag( ctx, v0->attrib[VARYING_SLOT_PO
[all...]
H A Ds_aatritemp.h42 const GLfloat *p0 = v0->attrib[VARYING_SLOT_POS];
43 const GLfloat *p1 = v1->attrib[VARYING_SLOT_POS];
44 const GLfloat *p2 = v2->attrib[VARYING_SLOT_POS];
70 GLfloat y0 = v0->attrib[VARYING_SLOT_POS][1];
71 GLfloat y1 = v1->attrib[VARYING_SLOT_POS][1];
72 GLfloat y2 = v2->attrib[VARYING_SLOT_POS][1];
97 majDx = vMax->attrib[VARYING_SLOT_POS][0] - vMin->attrib[VARYING_SLOT_POS][0];
98 majDy = vMax->attrib[VARYING_SLOT_POS][1] - vMin->attrib[VARYING_SLOT_PO
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/vbo/
H A Dvbo_context.c56 init_array(struct gl_context *ctx, struct gl_array_attributes *attrib, argument
59 memset(attrib, 0, sizeof(*attrib));
61 vbo_set_vertex_format(&attrib->Format, size, GL_FLOAT);
62 attrib->Stride = 0;
63 attrib->Ptr = pointer;
82 struct gl_array_attributes *attrib = &vbo->current[attr]; local in function:init_legacy_currval
84 init_array(ctx, attrib, check_size(ctx->Current.Attrib[attr]),
98 struct gl_array_attributes *attrib = &vbo->current[attr]; local in function:init_generic_currval
100 init_array(ctx, attrib,
116 struct gl_array_attributes *attrib = &vbo->current[attr]; local in function:init_mat_currval
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_bld_interp.c118 attrib_name(LLVMValueRef val, unsigned attrib, unsigned chan, const char *suffix) argument
120 if(attrib == 0)
123 lp_build_name(val, "input%u.%c%s", attrib - 1, "xyzw"[chan], suffix);
169 unsigned attrib; local in function:coeffs_init_simple
171 for (attrib = 0; attrib < bld->num_attribs; ++attrib) {
183 const unsigned interp = bld->interp[attrib];
185 attrib * TGSI_NUM_CHANNELS);
206 attrib_name(dadxaos, attrib,
248 unsigned attrib; local in function:attribs_update_simple
377 unsigned attrib; local in function:coeffs_init
565 unsigned attrib; local in function:attribs_update
707 unsigned attrib; local in function:lp_build_interp_soa_init
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_feedback.c39 const GLfloat *vtc = v->attrib[VARYING_SLOT_TEX0];
40 const GLfloat *color = v->attrib[VARYING_SLOT_COL0];
42 win[0] = v->attrib[VARYING_SLOT_POS][0];
43 win[1] = v->attrib[VARYING_SLOT_POS][1];
44 win[2] = v->attrib[VARYING_SLOT_POS][2] / ctx->DrawBuffer->_DepthMaxF;
45 win[3] = 1.0F / v->attrib[VARYING_SLOT_POS][3];
116 _mesa_update_hitflag( ctx, v0->attrib[VARYING_SLOT_POS][2] * zs );
117 _mesa_update_hitflag( ctx, v1->attrib[VARYING_SLOT_POS][2] * zs );
118 _mesa_update_hitflag( ctx, v2->attrib[VARYING_SLOT_POS][2] * zs );
127 _mesa_update_hitflag( ctx, v0->attrib[VARYING_SLOT_PO
[all...]
H A Ds_aatritemp.h42 const GLfloat *p0 = v0->attrib[VARYING_SLOT_POS];
43 const GLfloat *p1 = v1->attrib[VARYING_SLOT_POS];
44 const GLfloat *p2 = v2->attrib[VARYING_SLOT_POS];
70 GLfloat y0 = v0->attrib[VARYING_SLOT_POS][1];
71 GLfloat y1 = v1->attrib[VARYING_SLOT_POS][1];
72 GLfloat y2 = v2->attrib[VARYING_SLOT_POS][1];
97 majDx = vMax->attrib[VARYING_SLOT_POS][0] - vMin->attrib[VARYING_SLOT_POS][0];
98 majDy = vMax->attrib[VARYING_SLOT_POS][1] - vMin->attrib[VARYING_SLOT_PO
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/
H A Dvbo_context.c57 init_array(struct gl_context *ctx, struct gl_array_attributes *attrib, argument
60 memset(attrib, 0, sizeof(*attrib));
62 vbo_set_vertex_format(&attrib->Format, size, GL_FLOAT);
63 attrib->Stride = 0;
64 attrib->Ptr = pointer;
84 struct gl_array_attributes *attrib = &vbo->current[attr]; local in function:init_legacy_currval
86 init_array(ctx, attrib, check_size(ctx->Current.Attrib[attr]),
100 struct gl_array_attributes *attrib = &vbo->current[attr]; local in function:init_generic_currval
102 init_array(ctx, attrib,
118 struct gl_array_attributes *attrib = &vbo->current[attr]; local in function:init_mat_currval
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/isaspec/
H A Disa.py60 if 'pos' in field.attrib:
61 assert('low' not in field.attrib)
62 assert('high' not in field.attrib)
63 low = int(field.attrib['pos'])
66 low = int(field.attrib['low'])
67 high = int(field.attrib['high'])
107 self.name = xml.attrib['name']
108 self.type = xml.attrib['type']
111 aas = name = param.attrib['name']
112 if 'as' in param.attrib
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_vertex.h79 } attrib[PIPE_MAX_SHADER_OUTPUTS]; member in struct:vertex_info
85 return offsetof(const struct vertex_info, attrib[a->num_attribs]);
108 * \param src_index indicates which post-transformed vertex attrib slot
125 assert(n < ARRAY_SIZE(vinfo->attrib));
126 vinfo->attrib[n].emit = emit;
127 vinfo->attrib[n].src_index = src_index;

Completed in 17 milliseconds

1234567891011>>