summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-10-27Remove llvm 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-27Remove remnants of softpipe_surface.Brian
This is the last of the clean-up following the change which moved surface allocation to the winsys layer.
2007-10-27ObsoleteBrian
2007-10-27Move mesa_to_tgsi.[ch] to state_trackerBrian
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-26turn off debug outputBrian
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-26Hold a stack of temporaries so that we can redeclare themZack Rusin
for all defined functions. Fixes crashes in function calls.
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-26Get basic function calls working in the shaders.Zack Rusin
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-26Make ret part of the instruction block instead of implicitelyZack Rusin
closing at the end of parsing.
2007-10-26surface_alloc() is now a winsys function.Brian
This allows surfaces to be allocated without a rendering context. A few loose ends to resolve, but in working condition.
2007-10-26Actually move region_alloc() and region_release() to intel_winsys.José Fonseca
2007-10-25clean-up, simplify some tile code, more to comeBrian
2007-10-25Move region_alloc() and region_release() to pipe_winsys.Brian
This allows regions to be allocated w/out a rendering context.
2007-10-25silence warningBrian
2007-10-25Move the get/put_tile() functions to pipe_context.Brian
The _rgba versions are temporary until the state tracker is updated.
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-25Briefly describe the buffer management interface.José Fonseca
2007-10-25Expand pkg-config flags before invoking the compiler.José Fonseca
This allows IDEs such as Eclipse to get the correct c-preprocessor flags used from the build output.
2007-10-25Ignore generated files.José Fonseca
2007-10-25LLVM requires linking with the C++ compiler.Michel Dänzer
It's basically luck if it works with the C compiler on some platforms...
2007-10-25Implement loopsZack Rusin
2007-10-25Fix nested swizzles. Actually fetch the destination contentsZack Rusin
instead of input.
2007-10-25Fix nested conditionalsZack Rusin
2007-10-25Test some functionality of vp using GLSL that pure vp isn't testing.Zack Rusin
2007-10-25Implement else ops.Zack Rusin
2007-10-25set vcache.referenced bit alwayskeithw
2007-10-24Make branching work :) Simply allow output variables as validZack Rusin
operand inputs when they've been assigned already.
2007-10-24Simplify branch handling. Prepare for proper decleration extraction.Zack Rusin
2007-10-24Fix glDrawElements + VBO rendering when ptr/offset is not zero.Brian
When an index VBO is bound, glDrawElement's indices pointer is really an offset into the element buffer. Add that offset to the prims[i].start value before calling pipe->draw_elements(). Fixes vbo.c conform test.
2007-10-24Revert "Undo indexOffset change (I think, git???)"Brian
This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb.
2007-10-24Undo indexOffset change (I think, git???)Brian
2007-10-24add to gitBrian
2007-10-24Implement gl_PointCoord attribute for GLSL fragment shaders.Brian
Contains the normalized fragment position within a point sprite.
2007-10-24print CAL labelBrian