Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | map Mesa vertex attribs/arrays to TGSI attribs | Brian | 2007-08-23 | 1 | -5/+69 |
| | |||||
* | Checkpoint: new vertex/fragment attribute naming | Brian | 2007-08-23 | 18 | -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_ tokens | Brian | 2007-08-23 | 1 | -0/+47 |
| | |||||
* | define new TGSI_ATTRIB_ tokens for program inputs/outputs, plus translation ↵ | Brian | 2007-08-23 | 2 | -0/+249 |
| | | | | functions | ||||
* | comment about code duplication | Brian | 2007-08-23 | 1 | -0/+1 |
| | |||||
* | clean-up comments | Brian | 2007-08-23 | 2 | -14/+8 |
| | |||||
* | remove dead/debug code, misc clean-up | Brian | 2007-08-23 | 4 | -100/+16 |
| | |||||
* | Checkpoint commit: i915 texture works, use new vertex_info struct | Brian | 2007-08-23 | 17 | -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. | Brian | 2007-08-23 | 1 | -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. | Brian | 2007-08-23 | 2 | -0/+48 |
| | | | | This was causing trouble for the i915 driver. | ||||
* | Checkpoint: texture image and sampler state handling, plus better vertex ↵ | Brian | 2007-08-22 | 9 | -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() | Brian | 2007-08-22 | 1 | -5/+5 |
| | |||||
* | more debug output | Brian | 2007-08-22 | 1 | -10/+18 |
| | |||||
* | Need to store vendor and renderer strings in the context. | Brian | 2007-08-22 | 2 | -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() | Brian | 2007-08-22 | 1 | -6/+0 |
| | |||||
* | Add deco_caps.c. | michal | 2007-08-22 | 1 | -0/+4 |
| | |||||
* | First pass on tgsi deco. | michal | 2007-08-22 | 2 | -0/+107 |
| | |||||
* | Include headers. | michal | 2007-08-22 | 2 | -0/+23 |
| | |||||
* | New file. | michal | 2007-08-22 | 1 | -0/+3 |
| | |||||
* | New file. | michal | 2007-08-22 | 1 | -0/+0 |
| | |||||
* | Sampler state code now compiles and is built. Not tested yet. | Brian | 2007-08-22 | 3 | -61/+126 |
| | |||||
* | added border_color to sampler state | Brian | 2007-08-22 | 1 | -1/+1 |
| | |||||
* | Improved pipe_region/surface_reference() functions | Brian | 2007-08-22 | 2 | -23/+45 |
| | | | | | Now dereferences the old object first. Target object may be NULL to clear the pointer. | ||||
* | Rework of shader constant buffers. | Brian | 2007-08-22 | 25 | -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 Whitwell | 2007-08-22 | 3 | -0/+249 |
| | | | | Doesn't compile, isn't built. | ||||
* | code movement, null ptr checks, etc | Brian | 2007-08-22 | 2 | -23/+36 |
| | |||||
* | remove unneeded include | Brian | 2007-08-22 | 1 | -2/+0 |
| | |||||
* | remove unneeded includes | Brian | 2007-08-22 | 7 | -28/+7 |
| | |||||
* | Obsolete. | Brian | 2007-08-22 | 1 | -37/+0 |
| | |||||
* | don't need i915_fpc.c | Brian | 2007-08-22 | 1 | -1/+0 |
| | |||||
* | implement negation for src operands | Brian | 2007-08-22 | 1 | -5/+18 |
| | |||||
* | Clear all the dirtyflag words | Keith Whitwell | 2007-08-22 | 1 | -0/+4 |
| | |||||
* | Remove duplicate i915 shader disassembler | Keith Whitwell | 2007-08-22 | 2 | -347/+1 |
| | |||||
* | Headers. | michal | 2007-08-21 | 1 | -23/+39 |
| | | | | | | Fix alignment issues. Silence compiler warnings. More debugging code. | ||||
* | Silence compiler warnings. | michal | 2007-08-21 | 3 | -3/+3 |
| | |||||
* | Define __MSC__. | michal | 2007-08-21 | 1 | -6/+8 |
| | | | | Make ALIGN macros more error-proof. | ||||
* | temporarily call _mesa_enable_sw_extensions() so we can run more test progs ↵ | Brian | 2007-08-21 | 1 | -0/+3 |
| | | | | without failing the extension checks | ||||
* | comments | Brian | 2007-08-21 | 1 | -3/+6 |
| | |||||
* | Fragment shader translation seems to basically work now. More testing needed. | Brian | 2007-08-21 | 8 | -322/+284 |
| | |||||
* | fix cut and paste | keithw | 2007-08-21 | 1 | -18/+24 |
| | |||||
* | First pass at a fallback concept for pipe devices. | Keith Whitwell | 2007-08-21 | 12 | -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 #include | Keith Whitwell | 2007-08-21 | 1 | -0/+1 |
| | |||||
* | added fpc sources | Brian | 2007-08-21 | 1 | -0/+4 |
| | |||||
* | Initial check-in of i915 fragment program translation (from tgsi). | Brian | 2007-08-21 | 5 | -0/+2136 |
| | |||||
* | Set viewport state so viewport matches window dims. | Brian | 2007-08-20 | 2 | -14/+49 |
| | | | | trivial/readpixels.c works again. | ||||
* | Move vertex transformation/shader code into draw_prim.c to avoid need for ↵ | Brian | 2007-08-20 | 3 | -272/+270 |
| | | | | vs_flush() function pointer. | ||||
* | move ALIGN16-related macros into p_compiler.h | Brian | 2007-08-20 | 3 | -33/+14 |
| | |||||
* | include draw_context.h | Brian | 2007-08-20 | 1 | -0/+1 |
| | |||||
* | Update glClear and glDrawPixels code. | Brian | 2007-08-20 | 3 | -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-ups | Brian | 2007-08-20 | 1 | -7/+6 |
| |