Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-03-22 | gallium: remove temporary _screen suffix from function names | Brian | |
2008-03-21 | cell: Generate blend / depth test code when state atom is created | Ian Romanick | |
Code generation should be performed when the device-specific state atom is created, not when it is bound. | |||
2008-03-21 | cell: Change code-gen for CONST_COLOR blend factor | Ian Romanick | |
Previously the constant color blend factor was compiled into the generated code. This meant that the code had to be regenerated each time the constant color was changed. This doesn't fit with the model used in Gallium. As-is, the code could be better. The constant color is loaded for every quad processed, even if it is not used. Also, if a lot of (1-x) blend factors are used, 1.0 will be loaded and reloaded into registers many times. | |||
2008-03-21 | Tabs to spaces | Ian Romanick | |
2008-03-21 | cell: Remove unnecessary default_blend work-around | Ian Romanick | |
I suspect that there was some other bug in the blend code-gen that made this work-around necessary. | |||
2008-03-21 | i915: added to-do note about setting the max_lod register to get proper ↵ | Brian | |
min/mag filter selection | |||
2008-03-20 | cell: Fix several bugs in blend code-gen | Ian Romanick | |
- Alpha factor set to a _COLOR mode was mishandled - Cases when either dst factor or src factor was ZERO were mishandled - MIN and MAX cases were backwards - Case when blend was disabled was mishandled - Incorrect comments about number of instructions generated The tests blendminmax and blendsquare run correctly. | |||
2008-03-20 | cell: Call the correct function to generate blending code | Ian Romanick | |
Cut-and-paste for the lose. :( | |||
2008-03-20 | cell: Fix bus error when there is no depth buffer | Ian Romanick | |
2008-03-20 | cell: Use code-gen for alpha blend | Ian Romanick | |
So far this is only tested when GL_BLEND is disabled. | |||
2008-03-20 | gallium: use new framebuffer width, height fields | Brian | |
2008-03-20 | cell: use pipe_framebuffer_state.width, height | Brian | |
2008-03-19 | gallium: added fb_width/height fields to softpipe context | Brian Paul | |
These are convenience fields. Otherwise, we have to check cbuf[0] or zsbuf in various places. | |||
2008-03-19 | gallium: add face, dirtyLevels params to pipe->texture_update() | Brian Paul | |
This provides better information about which images in texture object have changed. Also, call texture_update() from more places previously missed. | |||
2008-03-19 | gallium: set tc->surface_map = NULL after unmapping | Brian | |
2008-03-18 | cell: Fix various stencil test code-gen bugs | Ian Romanick | |
2008-03-18 | cell: Correctly load stencil for PIPE_FORMAT_S8Z24_UNORM | Ian Romanick | |
2008-03-18 | cell: Fix depth read / write for s8z24. | Ian Romanick | |
Stencil is still broken. | |||
2008-03-18 | cell: Fix added whitespace errors. | Ian Romanick | |
2008-03-18 | cell: Minor changes to make stencil not crash | Ian Romanick | |
I'm not sure these are quite correct. The reflect demo doesn't assert anymore, but it doesn't produce correct results either. SPE-based vertex shader code needs to be disabled for relfect to run. | |||
2008-03-18 | cell: Move and (conditionally) silence debug code | Ian Romanick | |
2008-03-17 | cell: Don't segfault when unbinding alpha / stencil / depth test state | Ian Romanick | |
2008-03-17 | cell: Initial code-gen for alpha / stencil / depth testing | Ian Romanick | |
Alpha test is currently broken because all per-fragment testing occurs before alpha is calculated. Stencil test is currently broken because the Z-clear code asserts if there is a stencil buffer. | |||
2008-03-17 | gallium: improvements, or extensions at least, to the passthrough path | Keith Whitwell | |
Passthrough is actually more tricky than you'd think... | |||
2008-03-16 | gallium: finish remaining prim types for sp_vbuf_draw_arrays() | Brian | |
Not totally tested, but easily fixed if glitches are found. | |||
2008-03-14 | gallium: remove DOS carriage returns | Brian | |
2008-03-14 | gallium: remove DOS carriage returns | Brian | |
2008-03-14 | i915: check for NULL const buffer ptr | Brian | |
2008-03-14 | gallium: fix some compiler warnings | Keith Whitwell | |
2008-03-13 | gallium: need to all draw_flush() in softpipe_unmap_constant_buffers() | Brian | |
Otherwise, we won't have our constants when we run the fragment shader. Fixes crash in glsl tests when SP_VBUF=1. | |||
2008-03-13 | gallium: in softpipe_get_vertex_info() generate a vbuf vertex_info with real ↵ | Brian | |
attribs Can't use the EMIT_ALL shortcut/optimization anymore because of passthrough mode. | |||
2008-03-13 | gallium: plug in new sp_vbuf_draw_arrays() function | Brian | |
Will be used for pass-through mode. Also, call draw_set_render() to register the vbuf stage. Should probably rename that function to something like draw_set_vbuf_stage(). | |||
2008-03-13 | gallium: set surface status to CLEAR or DEFINED in clearing/drawing code. | Brian | |
Otherwise, we were never setting these flags. This confused the state tracker. Fixes progs/demos/texenv.c, probably others. | |||
2008-03-13 | cell: Fix to work with commit fa9e7e9a8debb68611909ac2ffab527c6c39a3e5 | Ian Romanick | |
2008-03-13 | Replicate TXP changes in the SPU version of TGSI exec | Ian Romanick | |
Replicate changes from commit ba75e82b6ebaf88dd2e4a8f764b2d296d715bf8a in spu_exec.c | |||
2008-03-12 | i915: handle NULL object in i915_bind_rasterizer_state() | Brian | |
2008-03-12 | remove reference to obsolete ExtDivide | Brian | |
2008-03-12 | tgsi: Remove ExtDivide field from existence. Implement OPCODE_TXP. | Michal Krol | |
2008-03-12 | gallium: Add TEX_FILTER_ANISO img filter | Keith Whitwell | |
Hardware almost universally expects us to set a special filtering mode when anisotropic filtering is enabled, as opposed to varying a max-aniso values. Do this once in the state tracker & simplify the driver code. | |||
2008-03-11 | cell: check for NULL shader pointer in cell_bind_vs_state() | Brian | |
2008-03-11 | gallium: rework CSO-related code in state tracker | Brian | |
Use the code in cso_context.c rather than st_cache.c. Basically, binding of state objects now goes through the CSO module. But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're not cached by the CSO module at this time. Also, update softpipe driver to handle NULL state objects in various places. This happens during context destruction. May need to update other drivers... | |||
2008-03-12 | gallium: Silence MSVC warnings. | José Fonseca | |
2008-03-10 | Move SPE register allocator to rtasm code | Ian Romanick | |
Move the register allocator to a common location. There is more code on the way that will make use of this interface. | |||
2008-03-10 | cell: sync up with sampler/texture state-setting changes | Brian | |
2008-03-10 | gallium: WinCE portability fixes. | José Fonseca | |
2008-03-05 | gallium: michel's patch to rework texture/sampler binding interface | Keith Whitwell | |
Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand. | |||
2008-02-29 | scons: List sp_screen.c. | Michal Krol | |
2008-02-28 | cell: convert all points/lines to tris for the time being | Brian | |
Allows more programs to look correct. We'll want native points/lines someday. | |||
2008-02-28 | cell: remove obsolete texture field | Brian | |
2008-02-28 | Make sure struct pipe_screen is declared. | Michel Dänzer | |