summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* map Mesa vertex attribs/arrays to TGSI attribsBrian2007-08-231-5/+69
|
* Checkpoint: new vertex/fragment attribute namingBrian2007-08-2318-286/+228
| | | | | | | Replace VF_ATTRIB_x with TGSI_ATTRIB_x When converting mesa programs to TGSI programs, also convert the InputsRead and OutputsWritten to a mask of TGSI_ATTRIB_ bits. Still need to do conversion for vertex programs...
* TGSI_ATTRIB_ tokensBrian2007-08-231-0/+47
|
* define new TGSI_ATTRIB_ tokens for program inputs/outputs, plus translation ↵Brian2007-08-232-0/+249
| | | | functions
* comment about code duplicationBrian2007-08-231-0/+1
|
* clean-up commentsBrian2007-08-232-14/+8
|
* remove dead/debug code, misc clean-upBrian2007-08-234-100/+16
|
* Checkpoint commit: i915 texture works, use new vertex_info structBrian2007-08-2317-232/+230
| | | | | Basic i915 2D texturing seems to work now. The vertex format is determined from the current fragment shader.
* Define a re-usable vertex_info structure to describe vertex layouts.Brian2007-08-231-0/+141
| | | | | This also includes legacy #defines for VF_ATTRIB_*, FRAG_ATTRIB_*, etc tokens. Those will go away eventually, but at least we no longer need vf/vf.h
* For the time being, interpolate Z in shade_quad() rather in the shader.Brian2007-08-232-0/+48
| | | | This was causing trouble for the i915 driver.
* Checkpoint: texture image and sampler state handling, plus better vertex ↵Brian2007-08-229-38/+321
| | | | | | | format code. Texture image/sampler state code should be working, but is disabled for now. Need to fix outstanding issues with vertex formats and texcoords first...
* fix assertions in swizzle()Brian2007-08-221-5/+5
|
* more debug outputBrian2007-08-221-10/+18
|
* Need to store vendor and renderer strings in the context.Brian2007-08-222-8/+9
| | | | | | As it was, we always returned the same pointer. So glxinfo, which calls glGetString() before printing anything, was printing the same string for both vendor and renderer.
* remove old draw_vertices()Brian2007-08-221-6/+0
|
* Add deco_caps.c.michal2007-08-221-0/+4
|
* First pass on tgsi deco.michal2007-08-222-0/+107
|
* Include headers.michal2007-08-222-0/+23
|
* New file.michal2007-08-221-0/+3
|
* New file.michal2007-08-221-0/+0
|
* Sampler state code now compiles and is built. Not tested yet.Brian2007-08-223-61/+126
|
* added border_color to sampler stateBrian2007-08-221-1/+1
|
* Improved pipe_region/surface_reference() functionsBrian2007-08-222-23/+45
| | | | | Now dereferences the old object first. Target object may be NULL to clear the pointer.
* Rework of shader constant buffers.Brian2007-08-2225-125/+257
| | | | | They're now totally independent of the actual shaders. Also, implemented in terms of pipe_buffer_handles/objects.
* Import some sampler state code.Keith Whitwell2007-08-223-0/+249
| | | | Doesn't compile, isn't built.
* code movement, null ptr checks, etcBrian2007-08-222-23/+36
|
* remove unneeded includeBrian2007-08-221-2/+0
|
* remove unneeded includesBrian2007-08-227-28/+7
|
* Obsolete.Brian2007-08-221-37/+0
|
* don't need i915_fpc.cBrian2007-08-221-1/+0
|
* implement negation for src operandsBrian2007-08-221-5/+18
|
* Clear all the dirtyflag wordsKeith Whitwell2007-08-221-0/+4
|
* Remove duplicate i915 shader disassemblerKeith Whitwell2007-08-222-347/+1
|
* Headers.michal2007-08-211-23/+39
| | | | | | Fix alignment issues. Silence compiler warnings. More debugging code.
* Silence compiler warnings.michal2007-08-213-3/+3
|
* Define __MSC__.michal2007-08-211-6/+8
| | | | Make ALIGN macros more error-proof.
* temporarily call _mesa_enable_sw_extensions() so we can run more test progs ↵Brian2007-08-211-0/+3
| | | | without failing the extension checks
* commentsBrian2007-08-211-3/+6
|
* Fragment shader translation seems to basically work now. More testing needed.Brian2007-08-218-322/+284
|
* fix cut and pastekeithw2007-08-211-18/+24
|
* First pass at a fallback concept for pipe devices.Keith Whitwell2007-08-2112-21/+780
| | | | | | | Creates a new pipe driver that feeds commands to either a hardware or software pipe depending on fallback state. Untested concept checkpoint. At this point it compiles.
* Add missing #includeKeith Whitwell2007-08-211-0/+1
|
* added fpc sourcesBrian2007-08-211-0/+4
|
* Initial check-in of i915 fragment program translation (from tgsi).Brian2007-08-215-0/+2136
|
* Set viewport state so viewport matches window dims.Brian2007-08-202-14/+49
| | | | trivial/readpixels.c works again.
* Move vertex transformation/shader code into draw_prim.c to avoid need for ↵Brian2007-08-203-272/+270
| | | | vs_flush() function pointer.
* move ALIGN16-related macros into p_compiler.hBrian2007-08-203-33/+14
|
* include draw_context.hBrian2007-08-201-0/+1
|
* Update glClear and glDrawPixels code.Brian2007-08-203-17/+95
| | | | | Since they're implemented by drawing quadrilaterals (and go through vertex transformation and viewport mapping) we don't have to invert Y coords.
* minor clean-upsBrian2007-08-201-7/+6
|