Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: rework CSO-related code in state tracker | Brian | 2008-03-11 | 1 | -1/+2 |
| | | | | | | | | | | 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... | ||||
* | gallium: Silence MSVC warnings. | José Fonseca | 2008-03-12 | 2 | -5/+10 |
| | |||||
* | Move SPE register allocator to rtasm code | Ian Romanick | 2008-03-10 | 1 | -72/+29 |
| | | | | | Move the register allocator to a common location. There is more code on the way that will make use of this interface. | ||||
* | cell: sync up with sampler/texture state-setting changes | Brian | 2008-03-10 | 3 | -12/+28 |
| | |||||
* | gallium: WinCE portability fixes. | José Fonseca | 2008-03-10 | 3 | -5/+5 |
| | |||||
* | gallium: michel's patch to rework texture/sampler binding interface | Keith Whitwell | 2008-03-05 | 17 | -2371/+2468 |
| | | | | | Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand. | ||||
* | scons: List sp_screen.c. | Michal Krol | 2008-02-29 | 1 | -0/+1 |
| | |||||
* | cell: convert all points/lines to tris for the time being | Brian | 2008-02-28 | 1 | -0/+4 |
| | | | | Allows more programs to look correct. We'll want native points/lines someday. | ||||
* | cell: remove obsolete texture field | Brian | 2008-02-28 | 1 | -1/+0 |
| | |||||
* | Make sure struct pipe_screen is declared. | Michel Dänzer | 2008-02-28 | 1 | -0/+1 |
| | |||||
* | gallium: Remove extra level of indirecttion. | José Fonseca | 2008-02-28 | 1 | -1/+1 |
| | |||||
* | gallium: added draw_num_vs_outputs() to query number of post-transform ↵ | Brian | 2008-02-27 | 1 | -2/+2 |
| | | | | vertex attribs | ||||
* | gallium/i965: remove more dependencies on pipe_shader_state semantic info | Brian | 2008-02-27 | 3 | -5/+5 |
| | |||||
* | gallium/i965: added const to silence warning | Brian | 2008-02-27 | 1 | -1/+1 |
| | |||||
* | cell: fix minor get_tex_surface() breakage | Brian | 2008-02-27 | 1 | -1/+2 |
| | |||||
* | gallium/i965: remove brw_shader_info struct | Brian | 2008-02-27 | 8 | -28/+21 |
| | | | | | | The info it contained is now found in tgsi_shader_info. Added a few assertions to catch potential misunderstandings about register counts vs. highest register index used. | ||||
* | gallium/i965: silence warnings | Brian | 2008-02-27 | 2 | -1/+2 |
| | |||||
* | gallium/i965: added const to silence warnings | Brian | 2008-02-27 | 1 | -1/+1 |
| | |||||
* | gallium/i965: remove UsesDepth, UsesKill - use tgsi_shader_info instead | Brian | 2008-02-27 | 3 | -6/+4 |
| | |||||
* | gallium/i965: remove dependencies on pipe_shader_state's semantic info | Brian | 2008-02-27 | 6 | -12/+22 |
| | | | | The brw_shader_info struct is rendundant and could be removed... | ||||
* | gallium: remove dependencies on pipe_shader_state's semantic info | Brian | 2008-02-27 | 2 | -3/+3 |
| | |||||
* | gallium: remove unnecessary assignment | Brian | 2008-02-27 | 1 | -1/+0 |
| | |||||
* | gallium/i915: remove unneeded assignment | Brian | 2008-02-27 | 1 | -1/+0 |
| | |||||
* | gallium: remove unnecessary tgsi_interp_coef decl | Brian | 2008-02-27 | 1 | -1/+0 |
| | |||||
* | gallium: remove uses_kill field from softpipe_shader | Brian | 2008-02-27 | 3 | -6/+1 |
| | |||||
* | cell: Use unified data cache for textures too | Ian Romanick | 2008-02-27 | 3 | -117/+72 |
| | |||||
* | gallium: remove obsolete *_strings.c files | Brian | 2008-02-27 | 2 | -104/+0 |
| | |||||
* | gallium: remove pipe_context->texture_create/release/get_tex_surface() | Brian | 2008-02-27 | 6 | -137/+18 |
| | | | | These functions are now per-screen, not per-context. | ||||
* | gallium: move is_format_supported() to pipe_screen struct | Brian | 2008-02-27 | 9 | -174/+159 |
| | |||||
* | gallium: start removing pipe_context->get_name/vendor/param/paramf | Brian | 2008-02-27 | 9 | -99/+3 |
| | | | | | These are now per-screen functions, not per-context. State tracker updated, code in drivers and p_context.h disabled. | ||||
* | gallium/i965: implement pipe_screen for i965 driver (untested) | Brian | 2008-02-27 | 8 | -95/+335 |
| | |||||
* | gallium/i915: hook up screen->get_param() | Brian | 2008-02-27 | 2 | -50/+68 |
| | |||||
* | Cell: implement pipe_screen for cell driver | Brian | 2008-02-27 | 7 | -63/+249 |
| | |||||
* | gallium: implement pipe_screen for softpipe driver | Brian | 2008-02-27 | 6 | -64/+216 |
| | |||||
* | gallium/i915: remove some redundant code | Brian | 2008-02-27 | 3 | -56/+1 |
| | |||||
* | gallium: softpipe_init_texture_funcs(), make texture func static | Brian | 2008-02-27 | 3 | -25/+17 |
| | |||||
* | gallium: update for new i915_screen.c file; fix some warnings. | José Fonseca | 2008-02-27 | 4 | -0/+20 |
| | |||||
* | cell: insert a (disabled) call to spe_cpu_info_get() | Brian | 2008-02-26 | 1 | -0/+3 |
| | | | | Found on the Cell devel forum, but doesn't appear to be available in SDK 2.1. | ||||
* | gallium: introduce 'pipe_screen' for context-independent functions | Brian | 2008-02-26 | 9 | -59/+298 |
| | | | | | | | This will allow creating textures before a rendering context exists, for example. Only implemented in i915 driver for now. i915pipe->texture_create() just dispatches through to the i915screen->texture_create() to avoid state tracker changes for now. | ||||
* | gallium: remove pipe parameter from pipe_texture_reference() | Brian | 2008-02-26 | 7 | -8/+7 |
| | | | | | Added pipe field to pipe_texture (temporary, see comments). First step toward context-less texture creation... | ||||
* | gallium: replace draw_convert_wide_points() with draw_wide_point_threshold() | Brian | 2008-02-26 | 1 | -3/+0 |
| | | | | | | | Specifying a threshold size is a bit more flexible, and allows the option of converting even 1-pixel points to triangles (set threshold=0). Also, remove 0.25 pixel bias in wide_point(). | ||||
* | cell: Multiple rendering contexts don't work yet | Ian Romanick | 2008-02-26 | 1 | -0/+10 |
| | | | | | Log a message and forcibly exit. This prevents silly fools from thinking there's a bug...instead of just an unimplemented feature. :) | ||||
* | gallium/i915: Use tgsi_scan_shader() to collect shader info | Brian | 2008-02-26 | 5 | -39/+19 |
| | | | | | No longer use semantic info in pipe_shader_state. Also, remove redundant semantic info from i915_fp_compile struct. | ||||
* | gallium: remove unused var | Brian | 2008-02-26 | 1 | -1/+0 |
| | |||||
* | gallium: added tgsi_shader_field to sp_fragment_shader | Brian | 2008-02-26 | 7 | -25/+32 |
| | | | | | Use the shader semantic info from there, instead of from pipe_shader_state. Carry this idea to draw module and other drivers... | ||||
* | gallium/i915: plug in aapoint draw stage | Brian | 2008-02-25 | 1 | -3/+1 |
| | |||||
* | gallium/i915: Fix emit_hw_vertex(): need to use vinfo->src_index[] | Brian | 2008-02-25 | 1 | -14/+16 |
| | |||||
* | gallium/i915: remove debug code | Brian | 2008-02-25 | 1 | -1/+0 |
| | |||||
* | gallium/i915: fix i915_emit_texld() to handle swizzled texcoords | Brian | 2008-02-25 | 2 | -16/+67 |
| | | | | Allocate a temporary register, insert MOV instruction, etc. | ||||
* | cell: Additional changes to match changes in draw/draw_vertex_shader.c | Ian Romanick | 2008-02-25 | 1 | -1/+2 |
| |