summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/tgsi
AgeCommit message (Collapse)Author
2008-01-01added tgsi_exec_machine_free_data()Brian
2007-12-19temporarily defeat an assertionBrian
2007-12-19remove obsolete TXP, add some sanity checksBrian
2007-12-14Don't always declare frag shader INPUT[0] as fragment position.Brian
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.
2007-12-13Add QuadX,Y fields to tgsi_exec_machine to pass quad's position to tgsi ↵Brian
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.
2007-12-11add missing case statements for TGSI_TOKEN_TYPE_IMMEDIATE and assert(0)Brian
We're hitting this with quite a few Mesa demos.
2007-12-11gallium: remove set_sampler_units interfaceKeith Whitwell
The effect of this mapping can be acheived by the state tracker and setting up the pipe texture state pointers to incorporate its affects.
2007-12-09Allow tgsi_dump print-out to stderr or a string buffer.Michal
Handle source register complement modifier in exec and dump.
2007-12-09gallium: add draw_stage::destroy().Michal
2007-12-06Hide texture layout details from the state tracker.Michel Dänzer
pipe->get_tex_surface() has to be used for access to texture image data.
2007-11-23gallium: reorg tgsi directories.Michal Krol
2007-11-22Fix compatibility issues between gcc and msvc.Michal
2007-11-19optimize linear_interpolation(), perspective_interpolation() functionsBrian
2007-11-08For TGSI_TEXTURE_2D/RECT, need to provide 3 coords (STP) in case shadow ↵Brian
compare mode is enabled.
2007-11-08Remove TGSI_OPCODE_TXPBrian
Use TGSI_OPCODE_TEX with ExtDivide=TGSI_EXTSWIZZLE_W instead.
2007-11-06check for __i386__ or __386__ instead of USE_X86_ASMBrian
2007-11-06Fix non-x86 build.Michel Dänzer
2007-10-29Make it compile under linux.Michal Krol
Move pipe_region/surface_reference functions to pipe/p_inlines.h. Remove #include "p_util.h" from pipe/p_context.h.
2007-10-29Make gallium compile in win32.Michal Krol
Use FREE, MALLOC, CALLOC, GETENV wrappers. Silence compiler warnings. Add proper copyrights.
2007-10-29Add SSE dump facilities.Michal Krol
Wrap x86_, sse_ and sse2 rtasm calls in emit_ calls. Those emit_ calls, if required, dump instructions to stdout. SSE dumping disabled by default.
2007-10-29Code re-org. Add comments.Michal Krol
2007-10-29Implement RET opcode.Michal Krol
2007-10-29Remove TGSI_INTERPOLATE_ATTRIB.Michal Krol
2007-10-28Remove unused static functions.Michal Krol
2007-10-28Rework sse-utility function calls.Michal Krol
2007-10-27Fix alignment problems.michal
Remove NOP opcode. TEX opcode returns solid white (a hack for D3D state tracker).
2007-10-27Remove GL dependencies.michal
2007-10-27New comments, replace //-style with /* */Brian
2007-10-27indentation fixesBrian
2007-10-27s/GLbitfield/uint/Brian
2007-10-27remove #define MESA stuffBrian
2007-10-27s/256/TGSI_EXEC_NUM_IMMEDIATES/Brian
2007-10-27indentation fixesBrian
2007-10-27Comments about texture instructions and the src regsBrian
2007-10-27ObsoleteBrian
2007-10-27Move mesa_to_tgsi.[ch] into state tracker.Brian
2007-10-26Fix up handling of immediate values for TGSI shaders.Brian
Still disabled pending LLVM updates.
2007-10-26Re-implement GLSL texture sampler variables.Brian
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.
2007-10-26convert OPCODE_END -> TGSI_OPCODE_RETBrian
2007-10-26if we hit RET w/ empty call stack, haltBrian
2007-10-26Initial support for immediate values in TGSI programs.Brian
These can be evaluated at compile time. Code disabled pending clarifications of TGSI immediate data structures.
2007-10-26Fix swizzle fetching in tgsi_util_get_full_src_register_extswizzle. ShortenZack Rusin
the swizzle coding in LLVM compilation using it and fix some warnings.
2007-10-25tex commentsBrian
2007-10-25added some commentsBrian
2007-10-25update TILE_TOP/BOTTOM_* values to match softpipeBrian
2007-10-25s/GLfloat/float/, s/GLint/int/, etcBrian
2007-10-24print CAL labelBrian
2007-10-24fix bug in RET codeBrian
2007-10-22Finish unifying the surface and texture tile caches.Brian
2007-10-20added case for TGSI_OPCODE_ENDBrian