summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make the alpha test state a cso.Zack Rusin2007-09-2123-63/+176
|
* Silence a few warnings.Zack Rusin2007-09-213-3/+3
|
* remove :5 form format field in pipe_surface, makes no difference at this timeBrian2007-09-201-1/+1
|
* remove old code in src_vector()Brian2007-09-201-37/+0
|
* Clean-up the TGSI_SEMANTIC tokens, introduce semantic indexes.Brian2007-09-2013-122/+191
| | | | Still need to produce decl instructions for vertex shaders...
* remove old/used codeBrian2007-09-205-58/+8
|
* remove lots of dead code related to program input/output mappingBrian2007-09-204-424/+3
|
* obsoleteBrian2007-09-201-49/+0
|
* remove #includes of tgsi_attribs.hBrian2007-09-207-8/+2
|
* checkpoint: TGSI_ATTRIB_x tokens no longer usedBrian2007-09-206-35/+29
|
* Checkpoint: vertex attribute clean-up.Brian2007-09-2015-53/+67
| | | | | Remove/disable the attrib/slot mapping arrays in a few places. Work in progress...
* Always update st->state.vs, not just when the program is dirty.Brian2007-09-202-7/+10
| | | | | This fixes a regression in the cubemap.c demo which alternates between two different vertex shaders.
* remove unused lookup[]Brian2007-09-201-0/+4
|
* fix input/output typosBrian2007-09-201-4/+4
|
* Cache the i915 sampler state.Zack Rusin2007-09-203-151/+156
|
* Make the rasterizer state in i915 use the cso semantics.Zack Rusin2007-09-205-75/+87
|
* Allow drivers to cache the template in case they want toZack Rusin2007-09-201-6/+6
| | | | fallback through softpipe which will require the template.
* Rewrite the depth_stencil state handling in i915.Zack Rusin2007-09-204-88/+95
| | | | | Done to match the new cso semantics. translate in create, use in bind and later delete.
* Fix failover state binding and convert the sampler to use the newZack Rusin2007-09-2013-84/+105
| | | | state constant state object semantics.
* Convert depth_stencil state to the new semantics.Zack Rusin2007-09-2014-66/+88
|
* Switch fragment/vertex shaders to the new caching semantics.Zack Rusin2007-09-2018-120/+181
| | | | | Allow driver custom allocation within cached objects. The shaders are currently twiced (by cso layer and by the program itself).
* Checkpoint: replacement of TGSI_ATTRIB_x tokens with input/output semantics.Brian2007-09-1922-234/+580
| | | | | | | | TGSI_ATTRIB_x tokens still present and used in a few places. Expanded set of TGSI_SEMANTIC_x tokens for describing the meaning of inputs/outputs. These tokens are in a crude state ATM. Lots of #if 0 / disabled code to be removed yet, etc... Softpipe and i915 drivers should be in working condition but not heavily tested.
* Update linux-profile config.José Fonseca2007-09-193-25/+6
|
* Fix a really stupid mistake that Michel hit. Return proper hash.Zack Rusin2007-09-191-0/+6
|
* Fix window resizes.Michel Dänzer2007-09-191-1/+4
| | | | The memcmp is insufficient for eliminating redundant framebuffer state changes.
* Pad surface dimensions to multiples of 2.Michel Dänzer2007-09-191-0/+4
| | | | Avoids an assertion failure with softpipe if requested width or height is odd.
* Adding proper includes often helps with the warnings,Zack Rusin2007-09-191-0/+1
| | | | or so i hear..
* Avoid redundant reallocation of the template.Zack Rusin2007-09-192-7/+6
| | | | | | cso already allocated the template for us. Returning 0 means we have no driver specific representation and just want the template on the bind.
* Convert the rasterizer cso to the new semantics.Zack Rusin2007-09-1915-66/+90
| | | | | Basically make cso hold the driver specific struct, while managing the template.
* Convert the i915 driver blend state to the new semantics.Zack Rusin2007-09-194-82/+88
|
* Redo the cso cache to map driver data in a lot more pleasing way.Zack Rusin2007-09-1914-51/+91
| | | | | | Drivers can now create whatever they want from the state template. We use cso_state object to store the template (necessary during lookups), and the driver data. Convert blend state to the new semantics.
* grab vertex program pointer after state validationBrian2007-09-191-2/+3
|
* Only generate vertex shader code when necessary.Michel Dänzer2007-09-191-4/+5
|
* Finish up conversions of shaders to immutable objects.Zack Rusin2007-09-1911-27/+67
| | | | | Create/Delete calls should be split since in create we'll be compiling them so we want to know which one it is (vertex/fragment).
* Checkpoint: rework shader input/output register mapping.Brian2007-09-1812-106/+260
| | | | | | | This is a step toward removing TGSI_ATTRIB_ tokens. Basically, when translating Mesa programs to TGSI programs, pass in input and output register re-maps, plus interpolation info. There's some known breakage (cubemap.c) so more to be done...
* temporarily set the FRAG_BIT_FOGC bit in InputsRead when fog is enabledBrian2007-09-181-0/+1
|
* intel_winsys: Disable scheduled buffer swaps for now.Michel Dänzer2007-09-181-1/+2
| | | | | | They don't work with private back buffers yet. This gets vsync working.
* Fix linux-dri-x86 target.Michel Dänzer2007-09-181-5/+2
|
* use perspective projection, press r/R to rotate the quadBrian2007-09-181-4/+21
|
* Fix some issues with perspective-corrected interpolation.Brian2007-09-183-6/+6
| | | | | | | | | | In mesa_to_tgsi.c, use TGSI_INTERPOLATE_PERSPECTIVE by default (to match post-transform vertex info convention). More to be done there... In sp_quad_fs.c, interpolate W in addition to Z. This fixes the divide by zero happening in perspective_interpolation() tgsi_exec.c As it was, we were only getting perspective correction of texture coords used by the TGSI_TEX instruction since it does a homogeneous divide. Other coords/varyings were incorrect.
* additional comments for tri_persp_coeff()Brian2007-09-181-0/+4
|
* Convert shader to an immutable state object.Zack Rusin2007-09-1827-85/+176
|
* Add emacs dirvars file with Mesa indention definition.Zack Rusin2007-09-181-0/+10
|
* Finishing up rename of the setup state to the rasterizer state.Zack Rusin2007-09-1812-21/+21
|
* move cso cache to the pipe directoryZack Rusin2007-09-187-5/+5
|
* Fix a silly bug on setting samplers.Zack Rusin2007-09-181-1/+1
| | | | | Bind when the currently bound state is /not/ the one we just found/created.
* converting the setup state to immutable object and renaming it to rasterizer ↵Zack Rusin2007-09-1836-159/+245
| | | | state
* Combing depth and stencil objects and making them immutable.Zack Rusin2007-09-1830-384/+337
| | | | | Converting depth and stencil objects into a single state object (d3d10 like) and making it immutable.
* Fix the warning.Zack Rusin2007-09-181-1/+1
| | | | | | The const is there to enforce the immutable state of the object, which is in reality owned by the pipe so just cast away the constness.
* Make sampler an immutable state object.Zack Rusin2007-09-1818-53/+133
| | | | Switch the sample to be an immutable state object.