summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2007-09-21use VERT_ATTRIB_MAX for loop limitBrian
2007-09-21remove SEMANTIC_TEXCOORDBrian
2007-09-21Get rid of TGSI_SEMANTIC_TEXCOORD and just use TGSI_SEMANTIC_GENERIC.Brian
2007-09-21rename index var from i to attr, use FRAG_ATTRIB_MAX instead of 16Brian
2007-09-21minor renamingBrian
2007-09-21pass vs output semantics to tgsi_mesa_compile_vp_program() to generate ↵Brian
output DECs
2007-09-21fix in/out typosBrian
2007-09-21Pass vertex program input semantics into tgsi_mesa_compile_vp_program() to ↵Brian
produce DCLs.
2007-09-21fix 1/i typosBrian
2007-09-21Convert i915 to use cso semantics of alpha_test.Zack Rusin
2007-09-21Make the alpha test state a cso.Zack Rusin
2007-09-21Silence a few warnings.Zack Rusin
2007-09-20remove :5 form format field in pipe_surface, makes no difference at this timeBrian
2007-09-20remove old code in src_vector()Brian
2007-09-20Clean-up the TGSI_SEMANTIC tokens, introduce semantic indexes.Brian
Still need to produce decl instructions for vertex shaders...
2007-09-20remove old/used codeBrian
2007-09-20remove lots of dead code related to program input/output mappingBrian
2007-09-20obsoleteBrian
2007-09-20remove #includes of tgsi_attribs.hBrian
2007-09-20checkpoint: TGSI_ATTRIB_x tokens no longer usedBrian
2007-09-20Checkpoint: vertex attribute clean-up.Brian
Remove/disable the attrib/slot mapping arrays in a few places. Work in progress...
2007-09-20Always update st->state.vs, not just when the program is dirty.Brian
This fixes a regression in the cubemap.c demo which alternates between two different vertex shaders.
2007-09-20remove unused lookup[]Brian
2007-09-20fix input/output typosBrian
2007-09-20Cache the i915 sampler state.Zack Rusin
2007-09-20Make the rasterizer state in i915 use the cso semantics.Zack Rusin
2007-09-20Allow drivers to cache the template in case they want toZack Rusin
fallback through softpipe which will require the template.
2007-09-20Rewrite the depth_stencil state handling in i915.Zack Rusin
Done to match the new cso semantics. translate in create, use in bind and later delete.
2007-09-20Fix failover state binding and convert the sampler to use the newZack Rusin
state constant state object semantics.
2007-09-20Convert depth_stencil state to the new semantics.Zack Rusin
2007-09-20Switch fragment/vertex shaders to the new caching semantics.Zack Rusin
Allow driver custom allocation within cached objects. The shaders are currently twiced (by cso layer and by the program itself).
2007-09-19Checkpoint: replacement of TGSI_ATTRIB_x tokens with input/output semantics.Brian
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.
2007-09-19Fix a really stupid mistake that Michel hit. Return proper hash.Zack Rusin
2007-09-19Fix window resizes.Michel Dänzer
The memcmp is insufficient for eliminating redundant framebuffer state changes.
2007-09-19Pad surface dimensions to multiples of 2.Michel Dänzer
Avoids an assertion failure with softpipe if requested width or height is odd.
2007-09-19Adding proper includes often helps with the warnings,Zack Rusin
or so i hear..
2007-09-19Avoid redundant reallocation of the template.Zack Rusin
cso already allocated the template for us. Returning 0 means we have no driver specific representation and just want the template on the bind.
2007-09-19Convert the rasterizer cso to the new semantics.Zack Rusin
Basically make cso hold the driver specific struct, while managing the template.
2007-09-19Convert the i915 driver blend state to the new semantics.Zack Rusin
2007-09-19Redo the cso cache to map driver data in a lot more pleasing way.Zack Rusin
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.
2007-09-19grab vertex program pointer after state validationBrian
2007-09-19Only generate vertex shader code when necessary.Michel Dänzer
2007-09-19Finish up conversions of shaders to immutable objects.Zack Rusin
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).
2007-09-18Checkpoint: rework shader input/output register mapping.Brian
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...
2007-09-18temporarily set the FRAG_BIT_FOGC bit in InputsRead when fog is enabledBrian
2007-09-18intel_winsys: Disable scheduled buffer swaps for now.Michel Dänzer
They don't work with private back buffers yet. This gets vsync working.
2007-09-18Fix linux-dri-x86 target.Michel Dänzer
2007-09-18Fix some issues with perspective-corrected interpolation.Brian
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.
2007-09-18additional comments for tri_persp_coeff()Brian
2007-09-18Convert shader to an immutable state object.Zack Rusin