michal
2c7b74725b
Indent. Remove GL dependencies. Simplify. Add rtasm instructions.
18 years ago
michal
b5c14b36ad
Add tgsi_sse2.
18 years ago
Brian
cd93682530
remove deleted i915_state_fragprog.c
18 years ago
Brian
57394f3446
fix a tracking of changed lighting state
18 years ago
Brian
6ef1bdbdaa
add some warnings about bitmaps/copypixels
18 years ago
keithw
e648a86601
disable debug
18 years ago
keithw
d36e01aa94
remove dead file
18 years ago
keithw
7a1027cd40
have to check I915_HW_SAMPLER when emitting MAP state, because of sampler_enable_flags.
18 years ago
keithw
b4d8be235b
sampler state tweaks
18 years ago
Brian
f9a77a3080
Fix user-defined clip planes. They seem to work properly now.
The bits for the N user-defined planes are now set in the vertex_header->clipmask.
See some detailed comments about this in the clip_line() function.
CLIP_USER_BIT no longer exists.
18 years ago
Brian
6a13caec09
re-enable compute_clipmask() call
18 years ago
Brian
6998402016
emit S4_VFMT_XYZ vs. S4_VFMT_XYZW as needed
18 years ago
Keith Whitwell
c89502bb4e
Fixup include paths after rename
18 years ago
Keith Whitwell
f93a360319
Rename tgsi "core" directory
18 years ago
Brian
c50e054bd4
track more vertex-related state changes
18 years ago
Brian
7fe0934148
added GL_STENCIL_INDEX8_EXT
18 years ago
Brian
17598ad591
fix-up stencil buffers
18 years ago
Brian
ac8249d0ed
check for null ptr in xm_buffer_unreference()
18 years ago
Brian
440e794b05
Use vertex_info struct for softpipe - lots of clean-up.
18 years ago
Brian
d4883ee24c
remove dead code
18 years ago
Brian
e967b246ec
Vertex shader outputs are now tightly packed into the output slots.
Fix softpipe vertex attribute setup.
Also, update vs constants when the projection matrix changes (fixes samples/prim.c)
18 years ago
Brian
30236573da
Need to copy header->edgeflags to tmp when creating new prim_header.
Edge flags were random/undefined otherwise.
18 years ago
Brian
c998ce1df0
minor improvement to get_vertex() in-use flag setting
18 years ago
Brian
38091ef42a
fix an edgeflag logic error, see comments
18 years ago
Brian
eef2e35981
fix incorrect vertex index for POLYGON drawing
18 years ago
Brian
d6d995d20c
get rid of VERT_RESULT_ usage
18 years ago
Brian
7d5e7f0319
map Mesa vertex attribs/arrays to TGSI attribs
18 years ago
Brian
d8b16d416d
Checkpoint: new vertex/fragment attribute naming
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...
18 years ago
Brian
83547d1dca
TGSI_ATTRIB_ tokens
18 years ago
Brian
074f07176a
define new TGSI_ATTRIB_ tokens for program inputs/outputs, plus translation functions
18 years ago
Brian
ba50b6958a
comment about code duplication
18 years ago
Brian
399077d760
clean-up comments
18 years ago
Brian
6d88515190
remove dead/debug code, misc clean-up
18 years ago
Brian
d3eb25c575
Checkpoint commit: i915 texture works, use new vertex_info struct
Basic i915 2D texturing seems to work now.
The vertex format is determined from the current fragment shader.
18 years ago
Brian
690a9de40b
Define a re-usable vertex_info structure to describe vertex layouts.
This also includes legacy #defines for VF_ATTRIB_*, FRAG_ATTRIB_*, etc tokens.
Those will go away eventually, but at least we no longer need vf/vf.h
18 years ago
Brian
ef7c250900
For the time being, interpolate Z in shade_quad() rather in the shader.
This was causing trouble for the i915 driver.
18 years ago
Brian
c990d0fd57
Checkpoint: texture image and sampler state handling, plus better vertex 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...
18 years ago
Brian
ace2b98dd3
fix assertions in swizzle()
18 years ago
Brian
69ab4b23f5
more debug output
18 years ago
Brian
fa8cbc45e8
Need to store vendor and renderer strings in the context.
As it was, we always returned the same pointer. So glxinfo, which calls
glGetString() before printing anything, was printing the same string for
both vendor and renderer.
18 years ago
Brian
e9190ec534
remove old draw_vertices()
18 years ago
michal
e94ea99254
Add deco_caps.c.
18 years ago
michal
89c0d32b45
First pass on tgsi deco.
18 years ago
michal
6b6cc4c0fe
Include headers.
18 years ago
michal
fa8c74fcc9
New file.
18 years ago
michal
d866e648ae
New file.
18 years ago
Brian
be673e9719
Sampler state code now compiles and is built. Not tested yet.
18 years ago
Brian
d45dd5672a
added border_color to sampler state
18 years ago
Brian
8a868919b5
Improved pipe_region/surface_reference() functions
Now dereferences the old object first.
Target object may be NULL to clear the pointer.
18 years ago
Brian
c0bb4ba9e6
Rework of shader constant buffers.
They're now totally independent of the actual shaders.
Also, implemented in terms of pipe_buffer_handles/objects.
18 years ago