Home
last modified time | relevance | path

Searched refs:VB (Results 1 – 25 of 260) sorted by relevance

1234567891011

/external/mesa3d/src/mesa/tnl/
Dt_vb_program.c130 struct vertex_buffer *VB = &tnl->vb; in do_ndc_cliptest() local
140 VB->NdcPtr = in do_ndc_cliptest()
141 _mesa_clip_tab[VB->ClipPtr->size]( VB->ClipPtr, in do_ndc_cliptest()
149 VB->NdcPtr = NULL; in do_ndc_cliptest()
150 _mesa_clip_np_tab[VB->ClipPtr->size]( VB->ClipPtr, in do_ndc_cliptest()
170 VB->ClipPtr, in do_ndc_cliptest()
180 VB->ClipAndMask = store->andmask; in do_ndc_cliptest()
181 VB->ClipOrMask = store->ormask; in do_ndc_cliptest()
182 VB->ClipMask = store->clipmask; in do_ndc_cliptest()
294 struct vertex_buffer *VB = &tnl->vb; in run_vp() local
[all …]
Dt_vb_vertex.c142 struct vertex_buffer *VB = &tnl->vb; in run_vertex_stage() local
154 VB->EyePtr = VB->AttribPtr[_TNL_ATTRIB_POS]; in run_vertex_stage()
156 VB->EyePtr = TransformRaw( &store->eye, in run_vertex_stage()
158 VB->AttribPtr[_TNL_ATTRIB_POS]); in run_vertex_stage()
161 VB->ClipPtr = TransformRaw( &store->clip, in run_vertex_stage()
163 VB->AttribPtr[_TNL_ATTRIB_POS] ); in run_vertex_stage()
167 switch (VB->ClipPtr->size) { in run_vertex_stage()
171 _mesa_vector4f_clean_elem( VB->ClipPtr, VB->Count, 2 ); in run_vertex_stage()
174 _mesa_vector4f_clean_elem( VB->ClipPtr, VB->Count, 3 ); in run_vertex_stage()
188 VB->NdcPtr = in run_vertex_stage()
[all …]
Dt_vb_render.c75 #define EDGEFLAG_GET(idx) VB->EdgeFlag[idx]
76 #define EDGEFLAG_SET(idx, val) VB->EdgeFlag[idx] = val
122 struct vertex_buffer *VB = &tnl->vb; \
123 const GLuint * const elt = VB->Elts; \
124 const GLubyte *mask = VB->ClipMask; \
125 const GLuint sz = VB->ClipPtr->size; \
158 struct vertex_buffer *VB = &tnl->vb; in clip_elt_triangles() local
159 const GLuint * const elt = VB->Elts; in clip_elt_triangles()
160 GLubyte *mask = VB->ClipMask; in clip_elt_triangles()
190 #define EDGEFLAG_GET(idx) VB->EdgeFlag[idx]
[all …]
Dt_vb_fog.c146 struct vertex_buffer *VB = &tnl->vb; in run_fog_stage() local
160 VB->AttribPtr[_TNL_ATTRIB_FOG] = &store->fogcoord; in run_fog_stage()
178 _mesa_dotprod_tab[VB->AttribPtr[_TNL_ATTRIB_POS]->size] in run_fog_stage()
181 VB->AttribPtr[_TNL_ATTRIB_POS], plane ); in run_fog_stage()
183 input->count = VB->AttribPtr[_TNL_ATTRIB_POS]->count; in run_fog_stage()
197 if (VB->EyePtr->size < 2) in run_fog_stage()
198 _mesa_vector4f_clean_elem( VB->EyePtr, VB->Count, 2 ); in run_fog_stage()
201 input->count = VB->EyePtr->count; in run_fog_stage()
202 coord = VB->EyePtr->start; in run_fog_stage()
203 for (i = 0 ; i < VB->EyePtr->count; i++) { in run_fog_stage()
[all …]
Dt_draw.c180 struct vertex_buffer *VB = &tnl->vb; in _tnl_import_array() local
231 VB->AttribPtr[attrib] = &tnl->tmp_inputs[attrib]; in _tnl_import_array()
232 VB->AttribPtr[attrib]->data = (GLfloat (*)[4])ptr; in _tnl_import_array()
233 VB->AttribPtr[attrib]->start = (GLfloat *)ptr; in _tnl_import_array()
234 VB->AttribPtr[attrib]->count = count; in _tnl_import_array()
235 VB->AttribPtr[attrib]->stride = stride; in _tnl_import_array()
236 VB->AttribPtr[attrib]->size = input->Size; in _tnl_import_array()
240 VB->AttribPtr[attrib]->flags = (((1<<input->Size)-1) | in _tnl_import_array()
244 VB->AttribPtr[attrib]->storage = NULL; in _tnl_import_array()
276 struct vertex_buffer *VB = &tnl->vb; in bind_inputs() local
[all …]
Dt_vb_light.c47 struct vertex_buffer *VB,
224 struct vertex_buffer *VB, struct light_stage_data *store) in prepare_materials() argument
239 VB->AttribPtr[_TNL_ATTRIB_MAT_FRONT_AMBIENT + i] = in prepare_materials()
240 VB->AttribPtr[_TNL_ATTRIB_COLOR0]; in prepare_materials()
250 if (VB->AttribPtr[i]->stride) { in prepare_materials()
253 store->mat[j].ptr = VB->AttribPtr[i]->start; in prepare_materials()
254 store->mat[j].stride = VB->AttribPtr[i]->stride; in prepare_materials()
255 store->mat[j].size = VB->AttribPtr[i]->size; in prepare_materials()
333 struct vertex_buffer *VB = &tnl->vb; in run_lighting() local
334 GLvector4f *input = ctx->_NeedEyeCoords ? VB->EyePtr : VB->AttribPtr[_TNL_ATTRIB_POS]; in run_lighting()
[all …]
Dt_vb_lighttmp.h47 struct vertex_buffer *VB, in TAG()
58 const GLuint nstride = VB->AttribPtr[_TNL_ATTRIB_NORMAL]->stride; in TAG()
59 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; in TAG()
68 const GLuint nr = VB->Count; in TAG()
74 VB->AttribPtr[_TNL_ATTRIB_COLOR0] = &store->LitColor[0]; in TAG()
75 VB->AttribPtr[_TNL_ATTRIB_COLOR1] = &store->LitSecondary[0]; in TAG()
79 VB->BackfaceColorPtr = &store->LitColor[1]; in TAG()
80 VB->BackfaceSecondaryColorPtr = &store->LitSecondary[1]; in TAG()
232 struct vertex_buffer *VB, in TAG()
244 const GLuint nstride = VB->AttribPtr[_TNL_ATTRIB_NORMAL]->stride; in TAG()
[all …]
Dt_vb_texgen.c253 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in texgen_reflection_map_nv() local
254 GLvector4f *in = VB->AttribPtr[VERT_ATTRIB_TEX0 + unit]; in texgen_reflection_map_nv()
257 build_f_tab[VB->EyePtr->size]( out->start, in texgen_reflection_map_nv()
259 VB->AttribPtr[_TNL_ATTRIB_NORMAL], in texgen_reflection_map_nv()
260 VB->EyePtr ); in texgen_reflection_map_nv()
263 out->count = VB->Count; in texgen_reflection_map_nv()
275 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in texgen_normal_map_nv() local
276 GLvector4f *in = VB->AttribPtr[VERT_ATTRIB_TEX0 + unit]; in texgen_normal_map_nv()
278 GLvector4f *normal = VB->AttribPtr[_TNL_ATTRIB_NORMAL]; in texgen_normal_map_nv()
280 GLuint count = VB->Count; in texgen_normal_map_nv()
[all …]
Dt_vb_points.c55 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in run_point_stage() local
56 const GLfloat *eyeCoord = (GLfloat *) VB->EyePtr->data + 2; in run_point_stage()
57 const GLint eyeCoordStride = VB->EyePtr->stride / sizeof(GLfloat); in run_point_stage()
65 for (i = 0; i < VB->Count; i++) { in run_point_stage()
73 VB->AttribPtr[_TNL_ATTRIB_POINTSIZE] = &store->PointSize; in run_point_stage()
83 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in alloc_point_data() local
90 _mesa_vector4f_alloc( &store->PointSize, 0, VB->Size, 32 ); in alloc_point_data()
Dt_vertex_generic.c1016 struct vertex_buffer *VB = &tnl->vb; in _tnl_generic_interp() local
1027 const GLfloat *dstclip = VB->ClipPtr->data[edst]; in _tnl_generic_interp()
1041 a[0].insert[4-1]( &a[0], vdst, VB->ClipPtr->data[edst] ); in _tnl_generic_interp()
1090 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in _tnl_generic_interp_extras() local
1097 if (VB->BackfaceColorPtr && VB->BackfaceColorPtr->stride) { in _tnl_generic_interp_extras()
1098 assert(VB->BackfaceColorPtr->stride == 4 * sizeof(GLfloat)); in _tnl_generic_interp_extras()
1101 VB->BackfaceColorPtr->data[dst], in _tnl_generic_interp_extras()
1102 VB->BackfaceColorPtr->data[out], in _tnl_generic_interp_extras()
1103 VB->BackfaceColorPtr->data[in] ); in _tnl_generic_interp_extras()
1106 if (VB->BackfaceSecondaryColorPtr) { in _tnl_generic_interp_extras()
[all …]
Dt_vb_cliptmp.h121 struct vertex_buffer *VB = &tnl->vb; in TAG() local
123 GLfloat (*coord)[4] = VB->ClipPtr->data; in TAG()
124 GLuint newvert = VB->Count; in TAG()
150 if (VB->ClipMask[v0]) { in TAG()
164 if (VB->ClipMask[v1]) { in TAG()
189 struct vertex_buffer *VB = &tnl->vb; in TAG() local
191 GLuint newvert = VB->Count; in TAG()
192 GLfloat (*coord)[4] = VB->ClipPtr->data; in TAG()
240 assert( inlist[0] >= VB->Count ); in TAG()
268 struct vertex_buffer *VB = &tnl->vb; in TAG() local
[all …]
Dt_vb_normals.c52 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in run_normal_stage() local
64 lengths = VB->NormalLengthPtr; in run_normal_stage()
68 VB->AttribPtr[_TNL_ATTRIB_NORMAL], /* input normals */ in run_normal_stage()
72 if (VB->AttribPtr[_TNL_ATTRIB_NORMAL]->count > 1) { in run_normal_stage()
79 VB->AttribPtr[_TNL_ATTRIB_NORMAL] = &store->normal; in run_normal_stage()
81 VB->NormalLengthPtr = NULL; /* no longer valid */ in run_normal_stage()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_maos_vbtmp.h42 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in TAG() local
59 coord = (GLuint (*)[4])VB->AttribPtr[_TNL_ATTRIB_POS]->data; in TAG()
60 coord_stride = VB->AttribPtr[_TNL_ATTRIB_POS]->stride; in TAG()
63 if (VB->AttribPtr[_TNL_ATTRIB_TEX2]) { in TAG()
65 tc2 = (GLuint (*)[4])VB->AttribPtr[_TNL_ATTRIB_TEX0 + t2]->data; in TAG()
66 tc2_stride = VB->AttribPtr[_TNL_ATTRIB_TEX0 + t2]->stride; in TAG()
67 if (DO_PTEX && VB->AttribPtr[_TNL_ATTRIB_TEX0 + t2]->size < 3) { in TAG()
70 else if (DO_PTEX && VB->AttribPtr[_TNL_ATTRIB_TEX0 + t2]->size < 4) { in TAG()
80 if (VB->AttribPtr[_TNL_ATTRIB_TEX1]) { in TAG()
82 tc1 = (GLuint (*)[4])VB->AttribPtr[_TNL_ATTRIB_TEX0 + t1]->data; in TAG()
[all …]
Dradeon_maos_arrays.c147 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; in radeonEmitArrays() local
150 GLuint count = VB->Count; in radeonEmitArrays()
162 (char *)VB->AttribPtr[_TNL_ATTRIB_POS]->data, in radeonEmitArrays()
163 VB->AttribPtr[_TNL_ATTRIB_POS]->size, in radeonEmitArrays()
164 VB->AttribPtr[_TNL_ATTRIB_POS]->stride, in radeonEmitArrays()
167 switch( VB->AttribPtr[_TNL_ATTRIB_POS]->size ) { in radeonEmitArrays()
182 (char *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data, in radeonEmitArrays()
184 VB->AttribPtr[_TNL_ATTRIB_NORMAL]->stride, in radeonEmitArrays()
193 if (VB->AttribPtr[_TNL_ATTRIB_COLOR0]->size == 4 && in radeonEmitArrays()
194 (VB->AttribPtr[_TNL_ATTRIB_COLOR0]->stride != 0 || in radeonEmitArrays()
[all …]
Dradeon_maos_verts.c314 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in radeonEmitArrays() local
329 if (VB->AttribPtr[_TNL_ATTRIB_POS]->size == 4) { in radeonEmitArrays()
351 if (VB->AttribPtr[_TNL_ATTRIB_TEX0 + unit]->size >= 3) { in radeonEmitArrays()
357 else if ((VB->AttribPtr[_TNL_ATTRIB_TEX0 + unit]->size >= 3) && in radeonEmitArrays()
360 GLuint swaptexmatcol = (VB->AttribPtr[_TNL_ATTRIB_TEX0 + unit]->size - 3); in radeonEmitArrays()
387 VB->Count * setup_tab[i].vertex_size * 4, in radeonEmitArrays()
394 if (VB->AttribPtr[_TNL_ATTRIB_POS]->size < 3 || in radeonEmitArrays()
395 (VB->AttribPtr[_TNL_ATTRIB_POS]->size == 3 && in radeonEmitArrays()
399 VB->AttribPtr[_TNL_ATTRIB_POS]->data, in radeonEmitArrays()
400 VB->AttribPtr[_TNL_ATTRIB_POS]->stride, in radeonEmitArrays()
[all …]
Dradeon_tcl.c289 struct vertex_buffer *VB = &tnl->vb; in radeonEnsureEmitSize() local
321 for (i = 0; i < VB->PrimitiveCount; ++i) in radeonEnsureEmitSize()
330 if (!VB->Primitive[i].count) in radeonEnsureEmitSize()
332 if ( (!VB->Elts && VB->Primitive[i].count >= MAX_CONVERSION_SIZE) in radeonEnsureEmitSize()
337 space_required += VB->Primitive[i].count * 3; in radeonEnsureEmitSize()
361 struct vertex_buffer *VB = &tnl->vb; in radeon_run_tcl_render() local
371 if (VB->Count == 0) in radeon_run_tcl_render()
404 rmesa->tcl.Elts = VB->Elts; in radeon_run_tcl_render()
406 for (i = 0 ; i < VB->PrimitiveCount ; i++) in radeon_run_tcl_render()
408 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]); in radeon_run_tcl_render()
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_maos_arrays.c79 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; in r200EmitArrays() local
82 GLuint count = VB->Count; in r200EmitArrays()
91 emitsize = (VB->AttribPtr[attrib]->size); in r200EmitArrays()
119 (char *)VB->AttribPtr[attrib]->data, in r200EmitArrays()
121 VB->AttribPtr[attrib]->stride, in r200EmitArrays()
126 (char *)VB->AttribPtr[attrib]->data, in r200EmitArrays()
127 VB->AttribPtr[attrib]->stride, in r200EmitArrays()
137 if (VB->AttribPtr[attrib]->size == 4 && in r200EmitArrays()
138 (VB->AttribPtr[attrib]->stride != 0 || in r200EmitArrays()
139 VB->AttribPtr[attrib]->data[0][3] != 1.0)) emitsize = 4; in r200EmitArrays()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dvec_xxpermdi.ll68 define <2 x double> @test_le_vec_xxpermdi_v2f64_v2f64_0(<2 x double> %VA, <2 x double> %VB) {
70 %0 = shufflevector <2 x double> %VA, <2 x double> %VB,<2 x i32> <i32 3, i32 1>
77 define <2 x double> @test_le_vec_xxpermdi_v2f64_v2f64_1(<2 x double> %VA, <2 x double> %VB) {
79 %0 = shufflevector <2 x double> %VA, <2 x double> %VB,<2 x i32> <i32 2, i32 1>
86 define <2 x double> @test_le_vec_xxpermdi_v2f64_v2f64_2(<2 x double> %VA, <2 x double> %VB) {
88 %0 = shufflevector <2 x double> %VA, <2 x double> %VB,<2 x i32> <i32 3, i32 0>
95 define <2 x double> @test_le_vec_xxpermdi_v2f64_v2f64_3(<2 x double> %VA, <2 x double> %VB) {
97 %0 = shufflevector <2 x double> %VA, <2 x double> %VB,<2 x i32> <i32 2, i32 0>
104 define <2 x double> @test_le_swap_vec_xxpermdi_v2f64_v2f64_0(<2 x double> %VA, <2 x double> %VB) {
106 %0 = shufflevector <2 x double> %VA, <2 x double> %VB,<2 x i32> <i32 1, i32 3>
[all …]
Dvec_sldwi.ll68 define <4 x i32> @check_le_vec_sldwi_va_vb_0(<4 x i32> %VA, <4 x i32> %VB) {
70 %0 = shufflevector <4 x i32> %VA, <4 x i32> %VB, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
76 define <4 x i32> @check_le_vec_sldwi_va_vb_1(<4 x i32> %VA, <4 x i32> %VB) {
78 %0 = shufflevector <4 x i32> %VA, <4 x i32> %VB, <4 x i32> <i32 7, i32 0, i32 1, i32 2>
85 define <4 x i32> @check_le_vec_sldwi_va_vb_2(<4 x i32> %VA, <4 x i32> %VB) {
87 %0 = shufflevector <4 x i32> %VA, <4 x i32> %VB, <4 x i32> <i32 6, i32 7, i32 0, i32 1>
94 define <4 x i32> @check_le_vec_sldwi_va_vb_3(<4 x i32> %VA, <4 x i32> %VB) {
96 %0 = shufflevector <4 x i32> %VA, <4 x i32> %VB, <4 x i32> <i32 5, i32 6, i32 7, i32 0>
103 define <4 x i32> @check_le_swap_vec_sldwi_va_vb_0(<4 x i32> %VA, <4 x i32> %VB) {
105 %0 = shufflevector <4 x i32> %VA, <4 x i32> %VB, <4 x i32> <i32 4, i32 5, i32 6, i32 7>
[all …]
/external/clang/test/SemaCXX/
Ddestructor.cpp206 struct VB { struct
208 virtual ~VB();
211 struct VD: VB {};
213 struct VF final: VB {};
238 void use(VB&);
244 VB vb; use(vb); in nowarnstack()
271 VB* vb = new VB[4]; in nowarnarray()
298 VB* vb = new VB(); in nowarn0()
302 VB* vb = new VD(); in nowarn0()
315 void nowarn0_explicit_dtor(F* f, VB* vb, VD* vd, VF* vf) { in nowarn0_explicit_dtor()
[all …]
/external/mesa3d/src/mesa/tnl_dd/
Dt_dd_tritmp.h116 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; in TAG() local
180 GLfloat (*vbcolor)[4] = VB->BackfaceColorPtr->data; in TAG()
189 if (VB->BackfaceColorPtr->stride) { in TAG()
190 assert(VB->BackfaceColorPtr->stride == 4*sizeof(GLfloat)); in TAG()
206 if (HAVE_SPEC && VB->BackfaceSecondaryColorPtr) { in TAG()
207 GLfloat (*vbspec)[4] = VB->BackfaceSecondaryColorPtr->data; in TAG()
208 assert(VB->BackfaceSecondaryColorPtr->stride == 4*sizeof(GLfloat)); in TAG()
251 if (HAVE_SPEC && VB->AttribPtr[_TNL_ATTRIB_COLOR1]) { in TAG()
329 if (HAVE_SPEC && VB->AttribPtr[_TNL_ATTRIB_COLOR1]) { in TAG()
342 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; in TAG() local
[all …]
/external/mesa3d/src/mesa/swrast_setup/
Dss_tritmp.h35 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in TAG() local
68 if (VB->BackfaceColorPtr) { in TAG()
69 GLfloat (*vbcolor)[4] = VB->BackfaceColorPtr->data; in TAG()
82 if (VB->BackfaceColorPtr->stride) { in TAG()
109 if (VB->BackfaceSecondaryColorPtr) { in TAG()
110 GLfloat (*vbspec)[4] = VB->BackfaceSecondaryColorPtr->data; in TAG()
116 if (VB->BackfaceSecondaryColorPtr->stride) { in TAG()
190 if (VB->BackfaceColorPtr) { in TAG()
203 if (VB->BackfaceSecondaryColorPtr) { in TAG()
220 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in TAG() local
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_render.c173 choose_render(struct intel_context *intel, struct vertex_buffer *VB) in choose_render() argument
184 for (i = 0; i < VB->PrimitiveCount; i++) { in choose_render()
185 GLuint prim = VB->Primitive[i].mode; in choose_render()
186 GLuint length = VB->Primitive[i].count; in choose_render()
226 struct vertex_buffer *VB = &tnl->vb; in intel_run_render() local
234 !intel_validate_render(ctx, VB) || !choose_render(intel, VB)) { in intel_run_render()
242 for (i = 0; i < VB->PrimitiveCount; i++) { in intel_run_render()
243 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]); in intel_run_render()
244 GLuint start = VB->Primitive[i].start; in intel_run_render()
245 GLuint length = VB->Primitive[i].count; in intel_run_render()
/external/libpng/projects/visualc71/
Dlibpng.sln20 DLL VB = DLL VB
29 {0008960E-E0DD-41A6-8265-00B31DDB4C21}.DLL VB.ActiveCfg = DLL VB|Win32
30 {0008960E-E0DD-41A6-8265-00B31DDB4C21}.DLL VB.Build.0 = DLL VB|Win32
39 {FD1C2F86-9EEF-47BD-95A4-530917E17FDA}.DLL VB.ActiveCfg = DLL VB|Win32
40 {FD1C2F86-9EEF-47BD-95A4-530917E17FDA}.DLL VB.Build.0 = DLL VB|Win32
49 {2D4F8105-7D21-454C-9932-B47CAB71A5C0}.DLL VB.ActiveCfg = DLL Release|Win32
50 {2D4F8105-7D21-454C-9932-B47CAB71A5C0}.DLL VB.Build.0 = DLL Release|Win32
/external/capstone/bindings/vb6/
DForm1.frm3 Begin VB.Form Form1
13 Begin VB.CommandButton Command2
21 Begin VB.CommandButton Command1
30 Begin VB.CommandButton Command1
39 Begin VB.CommandButton Command1
48 Begin VB.CommandButton Command1
57 Begin VB.CommandButton Command1
98 Begin VB.ListBox List1
114 Begin VB.TextBox Text1

1234567891011