Commit Graph

13275 Commits

Author SHA1 Message Date
Brian cfe9e66f2b gallium: use _mesa_tex_target_to_face() 2008-02-11 09:46:50 -07:00
Brian b52ce6341f added _mesa_tex_target_to_face() 2008-02-11 09:46:49 -07:00
Brian 789f2f15e8 gallium: update comment about buffer map flags 2008-02-11 09:46:49 -07:00
Brian 2e4077db16 gallium: fix fragment/vertex typo 2008-02-11 09:46:49 -07:00
Brian 3bae27fcc5 refactor code, export _mesa_generate_mipmap_level() 2008-02-11 09:46:49 -07:00
Brian 42eac65da4 move _mesa_format_to_type_and_comps() to texformat.c 2008-02-11 09:46:49 -07:00
Brian 9ddb7d794b reorder cases in do_row() 2008-02-11 09:46:49 -07:00
Brian 30dff589a4 re-indent do_row() 2008-02-11 09:46:49 -07:00
Brian ed6e72e855 checkpoint- consolidation in do_row() 2008-02-11 09:46:49 -07:00
Brian aa9d9d9c40 checkpoint- remove dependencies on gl_texture_format to make code re-usable by state tracker 2008-02-11 09:46:49 -07:00
Zack Rusin 084e6c92e0 remove seperate llvm vs entry points
they're not necessary anymore. we use the same paths
as sse and tgsi code
2008-02-11 10:47:28 -05:00
Zack Rusin e761161d01 start genering soa type code in llvm paths 2008-02-11 09:43:59 -05:00
Zack Rusin 1712a5380a disable llvm for fragment shaders for now 2008-02-10 23:07:18 -05:00
Zack Rusin 137edf7533 rewrite the way cpu engine is handled 2008-02-10 23:07:18 -05:00
Zack Rusin 7d69090e27 rewrite the way we handle ir in llvm code
introduce intermediate step gallivm_ir before compiling it
down to the final llvm ir.
2008-02-10 23:07:18 -05:00
Zack Rusin f625c6d1d0 add a stub of a lowering pass 2008-02-10 23:07:17 -05:00
Brian 479b5e9b5d gallium: include st_cb_drawpixels.h 2008-02-08 15:13:49 -07:00
Brian 9f9c3b752a fix comment typos 2008-02-08 15:13:49 -07:00
Brian 62abcb9aac gallium: initial implemenation of auto mipmap generation in state tracker
Use hardware rendering to compute/render mipmap levels.
The fallback path (which will be used for non-renderable texture formats)
isn't working yet.
2008-02-08 15:13:49 -07:00
Brian 0b64ee6960 gallium: added inClipCoords param to st_draw_vertices() to indicate coord system of vertices
Also, export st_make_passthrough_vertex_shader() from st_cb_drawpixels.c
2008-02-08 15:13:48 -07:00
Brian 864abce57d gallium: added draw_flush() call in softpipe_bind_sampler_state() 2008-02-08 15:13:48 -07:00
Brian c3395f4473 Remove unused texunit parameter to ctx->Driver.GenerateMipmap() 2008-02-08 15:13:48 -07:00
Jerome Glisse 21e9396e65 intel_winsys: remove leftover code 2008-02-08 18:47:25 +01:00
Jerome Glisse 2b6a31bfda failover: several fixes to failover pipe module 2008-02-08 18:25:49 +01:00
Michel Dänzer 909c703bfb tgsi: Fall back to interpreter instead of assert(0) on unimplemented SSE code. 2008-02-07 19:45:24 +00:00
Michel Dänzer 28ecb986d9 pipebuffer: Fix reversed assertion. 2008-02-07 19:43:34 +00:00
José Fonseca 0013796948 gallium: Conditionally use posix libraries/includes. 2008-02-07 19:59:37 +09:00
Brian c4e0d725dc Cell: silence unused var warnings 2008-02-06 09:48:56 -07:00
Brian 2ed6604f50 gallium: #include p_debug.h since we use assert 2008-02-06 09:48:37 -07:00
Brian c0235d0a24 Cell: use mem_dup() 2008-02-06 09:35:39 -07:00
Brian f12d641ab2 gallium: use mem_dup() 2008-02-06 09:35:39 -07:00
Brian c8af89cf72 gallium: added mem_dup() 2008-02-06 09:35:39 -07:00
Brian 31c98eafb0 gallium: change pipe->texture_create() to operate like the CSO functions
Now, pass in a template object and return a new object.
2008-02-06 09:35:39 -07:00
Brian f52f5136e6 clean-ups in guess_and_alloc_texture() 2008-02-06 09:35:39 -07:00
Brian 2440ff74d6 plug in ctx->Driver.GenerateMipmap function 2008-02-06 09:35:39 -07:00
Brian 4c2f3dbca9 Added ctx->Driver.GenerateMipmap() driver hook 2008-02-06 09:35:39 -07:00
Brian afc5498337 clean-ups 2008-02-06 09:35:39 -07:00
Brian 105b3596be added comment 2008-02-06 09:35:39 -07:00
Brian a4fbf09673 comments, clean-ups, consts 2008-02-06 09:35:39 -07:00
Brian 71984d76aa clean-up 2008-02-06 09:35:38 -07:00
Brian 4650b35846 gallium: add bitmap/drawpixels texcoord bias support
The state tracker will call pipe->get_paramf(PIPE_CAP_BITMAP_TEXCOORD_BIAS)
to get a bias factor for adjusting the texcoords used in bitmap/drawpixels.
This allows us to compensate for small differences in rasterization from
one device to another.
2008-02-06 09:35:38 -07:00
José Fonseca af6b12cc76 gallium: Bring latest fixes. 2008-02-07 01:07:49 +09:00
José Fonseca 9791d7f64c gallium: Use p_debug.h instead of non-portable stdio.h/assert.h functions. 2008-02-06 14:37:49 +09:00
José Fonseca 78bce9c2dc gallium: Add forgotten return type. 2008-02-06 14:37:24 +09:00
José Fonseca 81b6a801f7 gallium: Update scons instructions. Propagate user environment. 2008-02-06 14:36:50 +09:00
José Fonseca a31d289de6 gallium: Cross-platform debugging helpers. 2008-02-06 13:27:49 +09:00
José Fonseca 5e2d0517b1 gallium: Portability guidelines. 2008-02-06 12:56:35 +09:00
Brian e39fccc34c Cell: remove accidentally added OPT_FLAGS lines 2008-02-05 15:12:18 -07:00
Brian 1730f7bad4 Cell: SIMD-ize tri_linear_coeff(), use vector float for vertex attributes in struct vertex_header 2008-02-05 15:08:06 -07:00
Brian 4da82fd5c5 Cell: re-enable inlined vertex buffers
Vertex data must be on a 16-byte address/offset so SIMD operations will work
properly in the SPU code.
2008-02-05 15:08:06 -07:00