Searched refs:indices (Results 1 - 25 of 327) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_intrinsics.py35 indices, flags, sysval, bit_sizes):
45 - indices: list of constant indicies
55 assert isinstance(indices, list)
56 if indices:
57 assert isinstance(indices[0], str)
70 self.num_indices = len(indices)
71 self.indices = indices
77 # Possible indices:
144 def intrinsic(name, src_comp=[], dest_comp=-1, indices
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/jitter/shader_lib/
H A DScatter.cpp37 OSALIGN(uint32_t, 32) indices[8];
40 SIMD256::store_si((SIMD256::Integer*)indices, vIndices);
47 *(float*)(pBase + indices[index] * scale) = src[index];
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_intrinsics.py46 indices, flags, sysval, bit_sizes):
56 - indices: list of constant indicies
66 assert isinstance(indices, list)
67 if indices:
68 assert isinstance(indices[0], Index)
85 self.num_indices = len(indices)
86 self.indices = indices
118 def intrinsic(name, src_comp=[], dest_comp=-1, indices=[],
122 indices, flag
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/ramdac/
H A Dxf86RamDacPriv.h12 void RamDacLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/
H A Dswr_tex_sample.cpp110 LLVMValueRef indices[4]; local in function:swr_texture_member
117 indices[0] = lp_build_const_int32(gallivm, 0);
122 indices[1] = lp_build_const_int32(gallivm, swr_draw_context_texturesFS);
125 indices[1] = lp_build_const_int32(gallivm, swr_draw_context_texturesVS);
128 indices[1] = lp_build_const_int32(gallivm, swr_draw_context_texturesGS);
131 indices[1] = lp_build_const_int32(gallivm, swr_draw_context_texturesTCS);
134 indices[1] = lp_build_const_int32(gallivm, swr_draw_context_texturesTES);
141 indices[2] = lp_build_const_int32(gallivm, texture_unit);
143 indices[3] = lp_build_const_int32(gallivm, member_index);
145 ptr = LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZ
216 LLVMValueRef indices[4]; local in function:SWR_TEXTURE_MEMBER
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_prim_vbuf.c160 sp_vbuf_draw_elements(struct vbuf_render *vbr, const ushort *indices, uint nr) argument
174 get_vert(vertex_buffer, indices[i-0], stride) );
181 get_vert(vertex_buffer, indices[i-1], stride),
182 get_vert(vertex_buffer, indices[i-0], stride) );
189 get_vert(vertex_buffer, indices[i-1], stride),
190 get_vert(vertex_buffer, indices[i-0], stride) );
197 get_vert(vertex_buffer, indices[i-1], stride),
198 get_vert(vertex_buffer, indices[i-0], stride) );
202 get_vert(vertex_buffer, indices[nr-1], stride),
203 get_vert(vertex_buffer, indices[
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_vbuf.c136 lp_setup_draw_elements(struct vbuf_render *vbr, const ushort *indices, uint nr) argument
153 get_vert(vertex_buffer, indices[i-0], stride) );
160 get_vert(vertex_buffer, indices[i-1], stride),
161 get_vert(vertex_buffer, indices[i-0], stride) );
168 get_vert(vertex_buffer, indices[i-1], stride),
169 get_vert(vertex_buffer, indices[i-0], stride) );
176 get_vert(vertex_buffer, indices[i-1], stride),
177 get_vert(vertex_buffer, indices[i-0], stride) );
181 get_vert(vertex_buffer, indices[nr-1], stride),
182 get_vert(vertex_buffer, indices[
[all...]
H A Dlp_tex_sample.c100 LLVMValueRef indices[4]; local in function:lp_llvm_texture_member
107 indices[0] = lp_build_const_int32(gallivm, 0);
109 indices[1] = lp_build_const_int32(gallivm, LP_JIT_CTX_TEXTURES);
111 indices[2] = lp_build_const_int32(gallivm, texture_unit);
113 indices[3] = lp_build_const_int32(gallivm, member_index);
115 ptr = LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZE(indices), "");
178 LLVMValueRef indices[4]; local in function:LP_LLVM_TEXTURE_MEMBER
185 indices[0] = lp_build_const_int32(gallivm, 0);
187 indices[
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_prim_vbuf.c160 sp_vbuf_draw_elements(struct vbuf_render *vbr, const ushort *indices, uint nr) argument
174 get_vert(vertex_buffer, indices[i-0], stride) );
181 get_vert(vertex_buffer, indices[i-1], stride),
182 get_vert(vertex_buffer, indices[i-0], stride) );
189 get_vert(vertex_buffer, indices[i-1], stride),
190 get_vert(vertex_buffer, indices[i-0], stride) );
197 get_vert(vertex_buffer, indices[i-1], stride),
198 get_vert(vertex_buffer, indices[i-0], stride) );
202 get_vert(vertex_buffer, indices[nr-1], stride),
203 get_vert(vertex_buffer, indices[
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_prim_assembler.c111 unsigned *indices, unsigned num_indices)
119 unsigned idx = indices[i];
157 unsigned indices[1]; local in function:prim_point
162 indices[0] = idx;
165 copy_verts(asmblr, indices, 1);
172 unsigned indices[2]; local in function:prim_line
178 indices[0] = i0;
179 indices[1] = i1;
182 copy_verts(asmblr, indices, 2);
189 unsigned indices[ local in function:prim_tri
110 copy_verts(struct draw_assembler * asmblr,unsigned * indices,unsigned num_indices) argument
209 unsigned indices[4]; local in function:prim_quad
[all...]
H A Ddraw_llvm_sample.c112 LLVMValueRef indices[4]; local in function:draw_llvm_texture_member
119 indices[0] = lp_build_const_int32(gallivm, 0);
121 indices[1] = lp_build_const_int32(gallivm, DRAW_JIT_CTX_TEXTURES);
123 indices[2] = lp_build_const_int32(gallivm, texture_unit);
125 indices[2] = LLVMBuildAdd(gallivm->builder, indices[2], texture_unit_offset, "");
126 LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntULT, indices[2], lp_build_const_int32(gallivm, PIPE_MAX_SHADER_SAMPLER_VIEWS), "");
127 indices[2] = LLVMBuildSelect(gallivm->builder, cond, indices[2], lp_build_const_int32(gallivm, texture_unit), "");
130 indices[
163 LLVMValueRef indices[4]; local in function:draw_llvm_sampler_member
209 LLVMValueRef indices[4]; local in function:draw_llvm_image_member
[all...]
/xsrc/external/mit/xf86-video-xgi/dist/src/
H A Dxgi_dac.h36 void XGILoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/
H A Dswr_tex_sample.cpp109 LLVMValueRef indices[4]; local in function:swr_texture_member
116 indices[0] = lp_build_const_int32(gallivm, 0);
121 indices[1] = lp_build_const_int32(gallivm, swr_draw_context_texturesFS);
124 indices[1] = lp_build_const_int32(gallivm, swr_draw_context_texturesVS);
127 indices[1] = lp_build_const_int32(gallivm, swr_draw_context_texturesGS);
134 indices[2] = lp_build_const_int32(gallivm, texture_unit);
136 indices[3] = lp_build_const_int32(gallivm, member_index);
138 ptr = LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZE(indices), "");
206 LLVMValueRef indices[ local in function:SWR_TEXTURE_MEMBER
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_tex_sample.c120 LLVMValueRef indices[4]; local in function:lp_llvm_texture_member
127 indices[0] = lp_build_const_int32(gallivm, 0);
129 indices[1] = lp_build_const_int32(gallivm, LP_JIT_CTX_TEXTURES);
131 indices[2] = lp_build_const_int32(gallivm, texture_unit);
133 indices[2] = LLVMBuildAdd(gallivm->builder, indices[2], texture_unit_offset, "");
134 LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntULT, indices[2], lp_build_const_int32(gallivm, PIPE_MAX_SHADER_SAMPLER_VIEWS), "");
135 indices[2] = LLVMBuildSelect(gallivm->builder, cond, indices[2], lp_build_const_int32(gallivm, texture_unit), "");
138 indices[
207 LLVMValueRef indices[4]; local in function:LP_LLVM_TEXTURE_MEMBER
273 LLVMValueRef indices[4]; local in function:LP_LLVM_SAMPLER_MEMBER
[all...]
H A Dlp_setup_vbuf.c165 lp_setup_draw_elements(struct vbuf_render *vbr, const ushort *indices, uint nr) argument
185 get_vert(vertex_buffer, indices[i-0], stride) );
192 get_vert(vertex_buffer, indices[i-1], stride),
193 get_vert(vertex_buffer, indices[i-0], stride) );
200 get_vert(vertex_buffer, indices[i-1], stride),
201 get_vert(vertex_buffer, indices[i-0], stride) );
208 get_vert(vertex_buffer, indices[i-1], stride),
209 get_vert(vertex_buffer, indices[i-0], stride) );
213 get_vert(vertex_buffer, indices[nr-1], stride),
214 get_vert(vertex_buffer, indices[
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Ddraw.h63 * confusing as the indices are not neccessarily yet in a non-null
101 const GLvoid *indices);
106 GLenum type, const GLvoid *indices);
111 const GLvoid *indices, GLint basevertex);
117 const GLvoid *indices,
133 const GLvoid *const *indices, GLsizei primcount);
139 const GLvoid * const * indices, GLsizei primcount,
151 GLenum type, const GLvoid * const * indices,
H A Dtexcompress_cpal.c80 const void *indices, GLuint num_pixels, GLubyte *image)
87 const GLubyte *ind = (const GLubyte *) indices;
101 const GLubyte *ind = (const GLubyte *) indices;
155 const GLubyte *indices; local in function:_mesa_cpal_compressed_teximage2d
169 indices = (const GLubyte *) palette + info->palette_size * info->size;
194 paletted_to_color(info, palette, indices, num_texels, image);
203 indices += (num_texels + 1) / 2;
205 indices += num_texels;
79 paletted_to_color(const struct cpal_format_info * info,const GLubyte * palette,const void * indices,GLuint num_pixels,GLubyte * image) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_struct.c51 LLVMValueRef indices[2]; local in function:lp_build_struct_get_ptr
55 indices[0] = lp_build_const_int32(gallivm, 0);
56 indices[1] = lp_build_const_int32(gallivm, member);
57 member_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, ARRAY_SIZE(indices), "");
85 LLVMValueRef indices[2]; local in function:lp_build_array_get_ptr
89 indices[0] = lp_build_const_int32(gallivm, 0);
90 indices[1] = index;
91 element_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, ARRAY_SIZE(indices), "");
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_struct.c51 LLVMValueRef indices[2]; local in function:lp_build_struct_get_ptr
55 indices[0] = lp_build_const_int32(gallivm, 0);
56 indices[1] = lp_build_const_int32(gallivm, member);
57 member_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, ARRAY_SIZE(indices), "");
85 LLVMValueRef indices[2]; local in function:lp_build_array_get_ptr
89 indices[0] = lp_build_const_int32(gallivm, 0);
90 indices[1] = index;
91 element_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, ARRAY_SIZE(indices), "");
[all...]
/xsrc/external/mit/MesaLib/src/compiler/nir/
H A Dnir_intrinsics.c47 .indices = {
79 .indices = {
111 .indices = {
143 .indices = {
175 .indices = {
207 .indices = {
239 .indices = {
271 .indices = {
303 .indices = {
335 .indices
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_llvm_sample.c94 LLVMValueRef indices[4]; local in function:draw_llvm_texture_member
101 indices[0] = lp_build_const_int32(gallivm, 0);
103 indices[1] = lp_build_const_int32(gallivm, DRAW_JIT_CTX_TEXTURES);
105 indices[2] = lp_build_const_int32(gallivm, texture_unit);
107 indices[3] = lp_build_const_int32(gallivm, member_index);
109 ptr = LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZE(indices), "");
140 LLVMValueRef indices[4]; local in function:draw_llvm_sampler_member
147 indices[0] = lp_build_const_int32(gallivm, 0);
149 indices[
[all...]
H A Ddraw_prim_assembler.c92 unsigned *indices, unsigned num_indices)
100 unsigned idx = indices[i];
138 unsigned indices[1]; local in function:prim_point
143 indices[0] = idx;
145 copy_verts(asmblr, indices, 1);
152 unsigned indices[2]; local in function:prim_line
158 indices[0] = i0;
159 indices[1] = i1;
161 copy_verts(asmblr, indices, 2);
168 unsigned indices[ local in function:prim_tri
91 copy_verts(struct draw_assembler * asmblr,unsigned * indices,unsigned num_indices) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dglthread_draw.c64 const GLvoid **indices)
71 _mesa_glthread_upload(ctx, *indices, index_size * count,
74 *indices = (const GLvoid*)(intptr_t)upload_offset;
82 const GLsizei *count, const GLvoid *const *indices,
101 memcpy(upload_ptr + offset, indices[i], size);
568 const GLvoid *indices; member in struct:marshal_cmd_DrawElementsInstancedARB
585 const GLvoid *indices = cmd->indices; local in function:_mesa_unmarshal_DrawElementsInstancedARB
591 (mode, count, type, indices,
606 const GLvoid *indices; member in struct:marshal_cmd_DrawRangeElementsBaseVertex
63 upload_indices(struct gl_context * ctx,unsigned count,unsigned index_size,const GLvoid ** indices) argument
80 upload_multi_indices(struct gl_context * ctx,unsigned total_count,unsigned index_size,unsigned draw_count,const GLsizei * count,const GLvoid * const * indices,const GLvoid ** out_indices) argument
617 const GLvoid *indices = cmd->indices; local in function:_mesa_unmarshal_DrawRangeElementsBaseVertex
629 draw_elements_async(struct gl_context * ctx,GLenum mode,GLsizei count,GLenum type,const GLvoid * indices,GLsizei instance_count,GLint basevertex,GLuint baseinstance,bool index_bounds_valid,GLuint min_index,GLuint max_index) argument
674 const GLvoid *indices; member in struct:marshal_cmd_DrawElementsInstancedBaseVertexBaseInstance
692 const GLvoid *indices = cmd->indices; local in function:_mesa_unmarshal_DrawElementsInstancedBaseVertexBaseInstance
736 draw_elements_async_user(struct gl_context * ctx,GLenum mode,GLsizei count,GLenum type,const GLvoid * indices,GLsizei instance_count,GLint basevertex,GLuint baseinstance,bool index_bounds_valid,GLuint min_index,GLuint max_index,struct gl_buffer_object * index_buffer,unsigned user_buffer_mask,const struct glthread_attrib_binding * buffers) argument
768 draw_elements(GLenum mode,GLsizei count,GLenum type,const GLvoid * indices,GLsizei instance_count,GLint basevertex,GLuint baseinstance,bool index_bounds_valid,GLuint min_index,GLuint max_index,bool compiled_into_dlist) argument
901 const GLvoid *const *indices = (const GLvoid *const *)variable_data; local in function:_mesa_unmarshal_MultiDrawElementsBaseVertex
942 multi_draw_elements_async(struct gl_context * ctx,GLenum mode,const GLsizei * count,GLenum type,const GLvoid * const * indices,GLsizei draw_count,const GLsizei * basevertex,struct gl_buffer_object * index_buffer,unsigned user_buffer_mask,const struct glthread_attrib_binding * buffers) argument
982 _mesa_marshal_MultiDrawElementsBaseVertex(GLenum mode,const GLsizei * count,GLenum type,const GLvoid * const * indices,GLsizei draw_count,const GLsizei * basevertex) argument
1154 _mesa_marshal_DrawElements(GLenum mode,GLsizei count,GLenum type,const GLvoid * indices) argument
1161 _mesa_marshal_DrawRangeElements(GLenum mode,GLuint start,GLuint end,GLsizei count,GLenum type,const GLvoid * indices) argument
1169 _mesa_marshal_DrawElementsInstancedARB(GLenum mode,GLsizei count,GLenum type,const GLvoid * indices,GLsizei instance_count) argument
1176 _mesa_marshal_DrawElementsBaseVertex(GLenum mode,GLsizei count,GLenum type,const GLvoid * indices,GLint basevertex) argument
1183 _mesa_marshal_DrawRangeElementsBaseVertex(GLenum mode,GLuint start,GLuint end,GLsizei count,GLenum type,const GLvoid * indices,GLint basevertex) argument
1191 _mesa_marshal_DrawElementsInstancedBaseVertex(GLenum mode,GLsizei count,GLenum type,const GLvoid * indices,GLsizei instance_count,GLint basevertex) argument
1199 _mesa_marshal_DrawElementsInstancedBaseInstance(GLenum mode,GLsizei count,GLenum type,const GLvoid * indices,GLsizei instance_count,GLuint baseinstance) argument
1207 _mesa_marshal_DrawElementsInstancedBaseVertexBaseInstance(GLenum mode,GLsizei count,GLenum type,const GLvoid * indices,GLsizei instance_count,GLint basevertex,GLuint baseinstance) argument
1216 _mesa_marshal_MultiDrawElementsEXT(GLenum mode,const GLsizei * count,GLenum type,const GLvoid * const * indices,GLsizei draw_count) argument
[all...]
/xsrc/external/mit/mesa-demos/dist/src/egl/opengles1/
H A Dgears.c205 GLushort indices[7]; local in function:draw_gear
210 indices[0] = base + 12;
211 indices[1] = base + 0;
212 indices[2] = base + 2;
213 indices[3] = base + 4;
214 indices[4] = base + 6;
215 indices[5] = base + 8;
216 indices[6] = base + 10;
219 glDrawElements(GL_TRIANGLE_FAN, 7, GL_UNSIGNED_SHORT, indices);
222 indices[
[all...]
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dcva_huge.c46 GLuint *indices; variable in typeref:typename:GLuint *
98 /* indice size * number of strips * number of indices in strip */
99 indices = malloc(sizeof(indices[0]) * (nr_verts_in_row - 1) *
107 indices[idx + 1] = i/2 + strip*nr_verts_in_row;
108 indices[idx] = i/2 + (strip + 1)*nr_verts_in_row;
110 indices[idx2] = i/2 + (strip + 1)*nr_verts_in_row;
111 indices[idx2 + 1] = i/2 + (strip + 2)*nr_verts_in_row;
148 glDrawElements( GL_TRIANGLE_STRIP, nr_indices_in_strip * (nr_verts_in_row - 1) , GL_UNSIGNED_INT, indices );

Completed in 17 milliseconds

1234567891011>>