summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-19Update linux-profile config.José Fonseca
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-18use perspective projection, press r/R to rotate the quadBrian
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
2007-09-18Add emacs dirvars file with Mesa indention definition.Zack Rusin
2007-09-18Finishing up rename of the setup state to the rasterizer state.Zack Rusin
2007-09-18move cso cache to the pipe directoryZack Rusin
2007-09-18Fix a silly bug on setting samplers.Zack Rusin
Bind when the currently bound state is /not/ the one we just found/created.
2007-09-18converting the setup state to immutable object and renaming it to rasterizer ↵Zack Rusin
state
2007-09-18Combing depth and stencil objects and making them immutable.Zack Rusin
Converting depth and stencil objects into a single state object (d3d10 like) and making it immutable.
2007-09-18Fix the warning.Zack Rusin
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.
2007-09-18Make sampler an immutable state object.Zack Rusin
Switch the sample to be an immutable state object.
2007-09-18Implementing a better hash, removing state_tracker dependency from the cache.Zack Rusin
Replacing mesa's main hash with one that handles collisions, moving state_tracker related caching to the state tracker to keep cso cache independent of it. Cleanups.
2007-09-18First stab at immutable state objects (create/bind/delete)Zack Rusin
We want our state objects to be immutable, handled via the create/bind/delete calls instead of struct propagation. Only implementing the blend state to see how it would look like and work.
2007-09-17Replace GL_TEXTURE_* tokens with PIPE_TEXTURE_*Brian
Must have missed this a while back. This fixes cube mapping.
2007-09-17Plug in selection/feedback code.Brian
Not quite finished yet. Selection/feedback are done with a private instance of the 'draw' module in the state tracker. Not quite all the draw context's state is set yet, namely vertex format info. Hold off on that for a bit...
2007-09-17selection/feedback supportBrian
2007-09-17s/bugmgr/bufgr/Brian
2007-09-17Merge branch 'softpipe_0_1_branch' of ↵Brian
git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
2007-09-17Remove non-meaningful region_idle() interfaceKeith Whitwell
This is already handled by the semanics of map(), etc.
2007-09-17silence warningBrian