summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* gallium: rework CSO-related code in state trackerBrian2008-03-111-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é Fonseca2008-03-122-5/+10
|
* Move SPE register allocator to rtasm codeIan Romanick2008-03-101-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 changesBrian2008-03-103-12/+28
|
* gallium: WinCE portability fixes.José Fonseca2008-03-103-5/+5
|
* gallium: michel's patch to rework texture/sampler binding interfaceKeith Whitwell2008-03-0517-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 Krol2008-02-291-0/+1
|
* cell: convert all points/lines to tris for the time beingBrian2008-02-281-0/+4
| | | | Allows more programs to look correct. We'll want native points/lines someday.
* cell: remove obsolete texture fieldBrian2008-02-281-1/+0
|
* Make sure struct pipe_screen is declared.Michel Dänzer2008-02-281-0/+1
|
* gallium: Remove extra level of indirecttion.José Fonseca2008-02-281-1/+1
|
* gallium: added draw_num_vs_outputs() to query number of post-transform ↵Brian2008-02-271-2/+2
| | | | vertex attribs
* gallium/i965: remove more dependencies on pipe_shader_state semantic infoBrian2008-02-273-5/+5
|
* gallium/i965: added const to silence warningBrian2008-02-271-1/+1
|
* cell: fix minor get_tex_surface() breakageBrian2008-02-271-1/+2
|
* gallium/i965: remove brw_shader_info structBrian2008-02-278-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 warningsBrian2008-02-272-1/+2
|
* gallium/i965: added const to silence warningsBrian2008-02-271-1/+1
|
* gallium/i965: remove UsesDepth, UsesKill - use tgsi_shader_info insteadBrian2008-02-273-6/+4
|
* gallium/i965: remove dependencies on pipe_shader_state's semantic infoBrian2008-02-276-12/+22
| | | | The brw_shader_info struct is rendundant and could be removed...
* gallium: remove dependencies on pipe_shader_state's semantic infoBrian2008-02-272-3/+3
|
* gallium: remove unnecessary assignmentBrian2008-02-271-1/+0
|
* gallium/i915: remove unneeded assignmentBrian2008-02-271-1/+0
|
* gallium: remove unnecessary tgsi_interp_coef declBrian2008-02-271-1/+0
|
* gallium: remove uses_kill field from softpipe_shaderBrian2008-02-273-6/+1
|
* cell: Use unified data cache for textures tooIan Romanick2008-02-273-117/+72
|
* gallium: remove obsolete *_strings.c filesBrian2008-02-272-104/+0
|
* gallium: remove pipe_context->texture_create/release/get_tex_surface()Brian2008-02-276-137/+18
| | | | These functions are now per-screen, not per-context.
* gallium: move is_format_supported() to pipe_screen structBrian2008-02-279-174/+159
|
* gallium: start removing pipe_context->get_name/vendor/param/paramfBrian2008-02-279-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)Brian2008-02-278-95/+335
|
* gallium/i915: hook up screen->get_param()Brian2008-02-272-50/+68
|
* Cell: implement pipe_screen for cell driverBrian2008-02-277-63/+249
|
* gallium: implement pipe_screen for softpipe driverBrian2008-02-276-64/+216
|
* gallium/i915: remove some redundant codeBrian2008-02-273-56/+1
|
* gallium: softpipe_init_texture_funcs(), make texture func staticBrian2008-02-273-25/+17
|
* gallium: update for new i915_screen.c file; fix some warnings.José Fonseca2008-02-274-0/+20
|
* cell: insert a (disabled) call to spe_cpu_info_get()Brian2008-02-261-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 functionsBrian2008-02-269-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()Brian2008-02-267-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()Brian2008-02-261-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 yetIan Romanick2008-02-261-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 infoBrian2008-02-265-39/+19
| | | | | No longer use semantic info in pipe_shader_state. Also, remove redundant semantic info from i915_fp_compile struct.
* gallium: remove unused varBrian2008-02-261-1/+0
|
* gallium: added tgsi_shader_field to sp_fragment_shaderBrian2008-02-267-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 stageBrian2008-02-251-3/+1
|
* gallium/i915: Fix emit_hw_vertex(): need to use vinfo->src_index[]Brian2008-02-251-14/+16
|
* gallium/i915: remove debug codeBrian2008-02-251-1/+0
|
* gallium/i915: fix i915_emit_texld() to handle swizzled texcoordsBrian2008-02-252-16/+67
| | | | Allocate a temporary register, insert MOV instruction, etc.
* cell: Additional changes to match changes in draw/draw_vertex_shader.cIan Romanick2008-02-251-1/+2
|