summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple
AgeCommit message (Collapse)Author
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-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-18Convert shader to an immutable state object.Zack Rusin
2007-09-18Finishing up rename of the setup state to the rasterizer state.Zack Rusin
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-18Make sampler an immutable state object.Zack Rusin
Switch the sample to be an immutable state object.
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-17Remove non-meaningful region_idle() interfaceKeith Whitwell
This is already handled by the semanics of map(), etc.
2007-09-11Implement query object interface.Brian
This replaces the temporary occlusion counter functions we had before. Added new ctx->Driver.WaitQuery() function which should block until the result is ready. Sketch out some code for vertex transformation feedback counters.
2007-09-10merge buffer_unreference(), buffer_reference()Brian
2007-08-31Define attrib_format and interp_mode enum typedefs and use where appropriate.Brian
2007-08-30Consolidate vertex-related code in new draw_vertex.cBrian
A few functions which were basically duplicated between softpipe and the i915 driver are now re-used: draw_emit_vertex_attr() draw_compute_vertex_size()
2007-08-30Remove dependency on TGSI_ATTRIB_x tokens in draw_twoside.cBrian
Added a new draw_set_twoside_attributes() function for specifying which vertex attributes are to be copied/replaced when a polygon is back-facing.
2007-08-30In draw_flatshade.c use vertex_info->interp_mode[] to choose attribs/colors ↵Brian
to cpy. One less dependency on the TGSI_ATTRIB_x flags. This requires setting the vertex_info->interp_mode[] values in the i915 driver and passing them to draw_set_vertex_attributes().
2007-08-24s/==/=/Brian
2007-08-24Fix fragment program color output mapping (0=depth, 1=color)Brian
2007-08-24set I915_NEW_VERTEX_FORMAT in calculate_vertex_layout(), fixes demos/texenvBrian
2007-08-24Add support for more surface types in sp_surface.cBrian
replace PIPE_FORMAT_U_L8_A8 with PIPE_FORMAT_U_A8_L8
2007-08-24remove deleted i915_state_fragprog.cBrian
2007-08-24disable debugkeithw
2007-08-24remove dead filekeithw
2007-08-24have to check I915_HW_SAMPLER when emitting MAP state, because of ↵keithw
sampler_enable_flags.
2007-08-24sampler state tweakskeithw
2007-08-24emit S4_VFMT_XYZ vs. S4_VFMT_XYZW as neededBrian
2007-08-24Fixup include paths after renameKeith Whitwell
2007-08-23Checkpoint: new vertex/fragment attribute namingBrian
Replace VF_ATTRIB_x with TGSI_ATTRIB_x When converting mesa programs to TGSI programs, also convert the InputsRead and OutputsWritten to a mask of TGSI_ATTRIB_ bits. Still need to do conversion for vertex programs...
2007-08-23clean-up commentsBrian
2007-08-23remove dead/debug code, misc clean-upBrian
2007-08-23Checkpoint commit: i915 texture works, use new vertex_info structBrian
Basic i915 2D texturing seems to work now. The vertex format is determined from the current fragment shader.
2007-08-22Checkpoint: texture image and sampler state handling, plus better vertex ↵Brian
format code. Texture image/sampler state code should be working, but is disabled for now. Need to fix outstanding issues with vertex formats and texcoords first...
2007-08-22fix assertions in swizzle()Brian
2007-08-22Sampler state code now compiles and is built. Not tested yet.Brian
2007-08-22Rework of shader constant buffers.Brian
They're now totally independent of the actual shaders. Also, implemented in terms of pipe_buffer_handles/objects.
2007-08-22Import some sampler state code.Keith Whitwell
Doesn't compile, isn't built.
2007-08-22code movement, null ptr checks, etcBrian
2007-08-22remove unneeded includeBrian
2007-08-22remove unneeded includesBrian
2007-08-22Obsolete.Brian
2007-08-22don't need i915_fpc.cBrian
2007-08-22implement negation for src operandsBrian
2007-08-22Remove duplicate i915 shader disassemblerKeith Whitwell
2007-08-21Fragment shader translation seems to basically work now. More testing needed.Brian
2007-08-21First pass at a fallback concept for pipe devices.Keith Whitwell
Creates a new pipe driver that feeds commands to either a hardware or software pipe depending on fallback state. Untested concept checkpoint. At this point it compiles.
2007-08-21Add missing #includeKeith Whitwell
2007-08-21added fpc sourcesBrian
2007-08-21Initial check-in of i915 fragment program translation (from tgsi).Brian
2007-08-20Use new draw_arrays() code.Brian
The i915 driver now uses the software-based vertex shader interpreter and draws everything through pipe->draw_arrays().
2007-08-20Checkpoint: remove more of the old draw_vb() code.Brian
2007-08-20Start to remove the temporary draw_vb() and draw_vertices() code.Brian
new st_draw_vertices() utility used by glClear and glDrawPixels