summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/tgsi/exec
Commit message (Collapse)AuthorAgeFilesLines
* fix comment typosBrian2008-02-081-2/+2
|
* tgsi: Fall back to interpreter instead of assert(0) on unimplemented SSE code.Michel Dänzer2008-02-071-2/+1
|
* gallium: Use p_debug.h instead of non-portable stdio.h/assert.h functions.José Fonseca2008-02-062-25/+25
|
* tgsi: Use ESI instead of EBX as temp reg on non-win32Keith Whitwell2008-01-311-0/+6
|
* gallium: Handle TGSI_OPCODE_END on sse2.José Fonseca2008-01-171-0/+1
|
* Fix incorrect [0,1] clamping in store_dest().Brian2008-01-161-4/+4
|
* added tgsi_exec_machine_free_data()Brian2008-01-012-0/+21
|
* temporarily defeat an assertionBrian2007-12-191-0/+1
|
* Don't always declare frag shader INPUT[0] as fragment position.Brian2007-12-142-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 ↵Brian2007-12-132-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)Brian2007-12-111-0/+10
| | | | We're hitting this with quite a few Mesa demos.
* gallium: remove set_sampler_units interfaceKeith Whitwell2007-12-112-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.Michal2007-12-091-0/+4
| | | | Handle source register complement modifier in exec and dump.
* gallium: add draw_stage::destroy().Michal2007-12-091-4/+4
|
* Hide texture layout details from the state tracker.Michel Dänzer2007-12-061-1/+1
| | | | pipe->get_tex_surface() has to be used for access to texture image data.
* gallium: reorg tgsi directories.Michal Krol2007-11-2312-5454/+12
|
* optimize linear_interpolation(), perspective_interpolation() functionsBrian2007-11-191-25/+18
|
* For TGSI_TEXTURE_2D/RECT, need to provide 3 coords (STP) in case shadow ↵Brian2007-11-081-7/+9
| | | | compare mode is enabled.
* Remove TGSI_OPCODE_TXPBrian2007-11-081-5/+5
| | | | Use TGSI_OPCODE_TEX with ExtDivide=TGSI_EXTSWIZZLE_W instead.
* check for __i386__ or __386__ instead of USE_X86_ASMBrian2007-11-061-2/+2
|
* Fix non-x86 build.Michel Dänzer2007-11-061-0/+4
|
* Make it compile under linux.Michal Krol2007-10-291-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 Krol2007-10-294-27/+99
| | | | | | Use FREE, MALLOC, CALLOC, GETENV wrappers. Silence compiler warnings. Add proper copyrights.
* Add SSE dump facilities.Michal Krol2007-10-291-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 Krol2007-10-291-220/+264
|
* Implement RET opcode.Michal Krol2007-10-291-13/+5
|
* Remove TGSI_INTERPOLATE_ATTRIB.Michal Krol2007-10-292-2/+1
|
* Remove unused static functions.Michal Krol2007-10-281-24/+0
|
* Rework sse-utility function calls.Michal Krol2007-10-281-154/+111
|
* Fix alignment problems.michal2007-10-272-28/+37
| | | | | Remove NOP opcode. TEX opcode returns solid white (a hack for D3D state tracker).
* Remove GL dependencies.michal2007-10-271-21/+21
|
* New comments, replace //-style with /* */Brian2007-10-272-8/+51
|
* indentation fixesBrian2007-10-271-26/+26
|
* s/GLbitfield/uint/Brian2007-10-271-2/+2
|
* remove #define MESA stuffBrian2007-10-271-5/+0
|
* s/256/TGSI_EXEC_NUM_IMMEDIATES/Brian2007-10-271-1/+1
|
* indentation fixesBrian2007-10-271-20/+20
|
* Comments about texture instructions and the src regsBrian2007-10-271-8/+12
|
* Fix up handling of immediate values for TGSI shaders.Brian2007-10-262-20/+8
| | | | Still disabled pending LLVM updates.
* Re-implement GLSL texture sampler variables.Brian2007-10-262-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, haltBrian2007-10-261-7/+7
|
* Initial support for immediate values in TGSI programs.Brian2007-10-263-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. ShortenZack Rusin2007-10-261-1/+1
| | | | the swizzle coding in LLVM compilation using it and fix some warnings.
* tex commentsBrian2007-10-251-3/+11
|
* added some commentsBrian2007-10-252-0/+6
|
* update TILE_TOP/BOTTOM_* values to match softpipeBrian2007-10-251-4/+4
|
* s/GLfloat/float/, s/GLint/int/, etcBrian2007-10-251-81/+81
|
* print CAL labelBrian2007-10-241-0/+1
|
* fix bug in RET codeBrian2007-10-241-0/+1
|
* Finish unifying the surface and texture tile caches.Brian2007-10-221-8/+2
|