Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix comment typos | Brian | 2008-02-08 | 1 | -2/+2 |
| | |||||
* | tgsi: Fall back to interpreter instead of assert(0) on unimplemented SSE code. | Michel Dänzer | 2008-02-07 | 1 | -2/+1 |
| | |||||
* | gallium: Use p_debug.h instead of non-portable stdio.h/assert.h functions. | José Fonseca | 2008-02-06 | 2 | -25/+25 |
| | |||||
* | tgsi: Use ESI instead of EBX as temp reg on non-win32 | Keith Whitwell | 2008-01-31 | 1 | -0/+6 |
| | |||||
* | gallium: Handle TGSI_OPCODE_END on sse2. | José Fonseca | 2008-01-17 | 1 | -0/+1 |
| | |||||
* | Fix incorrect [0,1] clamping in store_dest(). | Brian | 2008-01-16 | 1 | -4/+4 |
| | |||||
* | added tgsi_exec_machine_free_data() | Brian | 2008-01-01 | 2 | -0/+21 |
| | |||||
* | temporarily defeat an assertion | Brian | 2007-12-19 | 1 | -0/+1 |
| | |||||
* | Don't always declare frag shader INPUT[0] as fragment position. | Brian | 2007-12-14 | 2 | -18/+11 |
| | | | | | | | | | | | | We were doing this for the sake of softpipe and the tgsi intergrepter since we always need the fragment position and W-coordinate information in order to compute fragment interpolants. But that's not appropriate for hardware drivers. The tgsi interpreter now get x,y,w information from a separate tgsi_exec_vector variable setup by softpipe. The new pipe_shader_state->input_map[] defines how vert shader outputs map to frag shader inputs. It may go away though, since one can also examine the semantic label on frag shader input[0] to figure things out. | ||||
* | Add QuadX,Y fields to tgsi_exec_machine to pass quad's position to tgsi ↵ | Brian | 2007-12-13 | 2 | -4/+3 |
| | | | | | | | | interpreter. The tgsi linear/perspective attribute code now uses these values rather than input[0]. Need to update SSE path to take quad x,y as function params. Then, we can remove additional code. | ||||
* | add missing case statements for TGSI_TOKEN_TYPE_IMMEDIATE and assert(0) | Brian | 2007-12-11 | 1 | -0/+10 |
| | | | | We're hitting this with quite a few Mesa demos. | ||||
* | gallium: remove set_sampler_units interface | Keith Whitwell | 2007-12-11 | 2 | -3/+1 |
| | | | | | The effect of this mapping can be acheived by the state tracker and setting up the pipe texture state pointers to incorporate its affects. | ||||
* | Allow tgsi_dump print-out to stderr or a string buffer. | Michal | 2007-12-09 | 1 | -0/+4 |
| | | | | Handle source register complement modifier in exec and dump. | ||||
* | gallium: add draw_stage::destroy(). | Michal | 2007-12-09 | 1 | -4/+4 |
| | |||||
* | Hide texture layout details from the state tracker. | Michel Dänzer | 2007-12-06 | 1 | -1/+1 |
| | | | | pipe->get_tex_surface() has to be used for access to texture image data. | ||||
* | gallium: reorg tgsi directories. | Michal Krol | 2007-11-23 | 12 | -5454/+12 |
| | |||||
* | optimize linear_interpolation(), perspective_interpolation() functions | Brian | 2007-11-19 | 1 | -25/+18 |
| | |||||
* | For TGSI_TEXTURE_2D/RECT, need to provide 3 coords (STP) in case shadow ↵ | Brian | 2007-11-08 | 1 | -7/+9 |
| | | | | compare mode is enabled. | ||||
* | Remove TGSI_OPCODE_TXP | Brian | 2007-11-08 | 1 | -5/+5 |
| | | | | Use TGSI_OPCODE_TEX with ExtDivide=TGSI_EXTSWIZZLE_W instead. | ||||
* | check for __i386__ or __386__ instead of USE_X86_ASM | Brian | 2007-11-06 | 1 | -2/+2 |
| | |||||
* | Fix non-x86 build. | Michel Dänzer | 2007-11-06 | 1 | -0/+4 |
| | |||||
* | Make it compile under linux. | Michal Krol | 2007-10-29 | 1 | -3/+3 |
| | | | | | Move pipe_region/surface_reference functions to pipe/p_inlines.h. Remove #include "p_util.h" from pipe/p_context.h. | ||||
* | Make gallium compile in win32. | Michal Krol | 2007-10-29 | 4 | -27/+99 |
| | | | | | | Use FREE, MALLOC, CALLOC, GETENV wrappers. Silence compiler warnings. Add proper copyrights. | ||||
* | Add SSE dump facilities. | Michal Krol | 2007-10-29 | 1 | -70/+428 |
| | | | | | | Wrap x86_, sse_ and sse2 rtasm calls in emit_ calls. Those emit_ calls, if required, dump instructions to stdout. SSE dumping disabled by default. | ||||
* | Code re-org. Add comments. | Michal Krol | 2007-10-29 | 1 | -220/+264 |
| | |||||
* | Implement RET opcode. | Michal Krol | 2007-10-29 | 1 | -13/+5 |
| | |||||
* | Remove TGSI_INTERPOLATE_ATTRIB. | Michal Krol | 2007-10-29 | 2 | -2/+1 |
| | |||||
* | Remove unused static functions. | Michal Krol | 2007-10-28 | 1 | -24/+0 |
| | |||||
* | Rework sse-utility function calls. | Michal Krol | 2007-10-28 | 1 | -154/+111 |
| | |||||
* | Fix alignment problems. | michal | 2007-10-27 | 2 | -28/+37 |
| | | | | | Remove NOP opcode. TEX opcode returns solid white (a hack for D3D state tracker). | ||||
* | Remove GL dependencies. | michal | 2007-10-27 | 1 | -21/+21 |
| | |||||
* | New comments, replace //-style with /* */ | Brian | 2007-10-27 | 2 | -8/+51 |
| | |||||
* | indentation fixes | Brian | 2007-10-27 | 1 | -26/+26 |
| | |||||
* | s/GLbitfield/uint/ | Brian | 2007-10-27 | 1 | -2/+2 |
| | |||||
* | remove #define MESA stuff | Brian | 2007-10-27 | 1 | -5/+0 |
| | |||||
* | s/256/TGSI_EXEC_NUM_IMMEDIATES/ | Brian | 2007-10-27 | 1 | -1/+1 |
| | |||||
* | indentation fixes | Brian | 2007-10-27 | 1 | -20/+20 |
| | |||||
* | Comments about texture instructions and the src regs | Brian | 2007-10-27 | 1 | -8/+12 |
| | |||||
* | Fix up handling of immediate values for TGSI shaders. | Brian | 2007-10-26 | 2 | -20/+8 |
| | | | | Still disabled pending LLVM updates. | ||||
* | Re-implement GLSL texture sampler variables. | Brian | 2007-10-26 | 2 | -1/+5 |
| | | | | | | | | | | GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime. | ||||
* | if we hit RET w/ empty call stack, halt | Brian | 2007-10-26 | 1 | -7/+7 |
| | |||||
* | Initial support for immediate values in TGSI programs. | Brian | 2007-10-26 | 3 | -3/+18 |
| | | | | | These can be evaluated at compile time. Code disabled pending clarifications of TGSI immediate data structures. | ||||
* | Fix swizzle fetching in tgsi_util_get_full_src_register_extswizzle. Shorten | Zack Rusin | 2007-10-26 | 1 | -1/+1 |
| | | | | the swizzle coding in LLVM compilation using it and fix some warnings. | ||||
* | tex comments | Brian | 2007-10-25 | 1 | -3/+11 |
| | |||||
* | added some comments | Brian | 2007-10-25 | 2 | -0/+6 |
| | |||||
* | update TILE_TOP/BOTTOM_* values to match softpipe | Brian | 2007-10-25 | 1 | -4/+4 |
| | |||||
* | s/GLfloat/float/, s/GLint/int/, etc | Brian | 2007-10-25 | 1 | -81/+81 |
| | |||||
* | print CAL label | Brian | 2007-10-24 | 1 | -0/+1 |
| | |||||
* | fix bug in RET code | Brian | 2007-10-24 | 1 | -0/+1 |
| | |||||
* | Finish unifying the surface and texture tile caches. | Brian | 2007-10-22 | 1 | -8/+2 |
| |