michal
2c7b74725b
Indent. Remove GL dependencies. Simplify. Add rtasm instructions.
před 18 roky
michal
b5c14b36ad
Add tgsi_sse2.
před 18 roky
Brian
cd93682530
remove deleted i915_state_fragprog.c
před 18 roky
Brian
57394f3446
fix a tracking of changed lighting state
před 18 roky
Brian
6ef1bdbdaa
add some warnings about bitmaps/copypixels
před 18 roky
keithw
e648a86601
disable debug
před 18 roky
keithw
d36e01aa94
remove dead file
před 18 roky
keithw
7a1027cd40
have to check I915_HW_SAMPLER when emitting MAP state, because of sampler_enable_flags.
před 18 roky
keithw
b4d8be235b
sampler state tweaks
před 18 roky
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.
před 18 roky
Brian
6a13caec09
re-enable compute_clipmask() call
před 18 roky
Brian
6998402016
emit S4_VFMT_XYZ vs. S4_VFMT_XYZW as needed
před 18 roky
Keith Whitwell
c89502bb4e
Fixup include paths after rename
před 18 roky
Keith Whitwell
f93a360319
Rename tgsi "core" directory
před 18 roky
Brian
c50e054bd4
track more vertex-related state changes
před 18 roky
Brian
7fe0934148
added GL_STENCIL_INDEX8_EXT
před 18 roky
Brian
17598ad591
fix-up stencil buffers
před 18 roky
Brian
ac8249d0ed
check for null ptr in xm_buffer_unreference()
před 18 roky
Brian
440e794b05
Use vertex_info struct for softpipe - lots of clean-up.
před 18 roky
Brian
d4883ee24c
remove dead code
před 18 roky
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)
před 18 roky
Brian
30236573da
Need to copy header->edgeflags to tmp when creating new prim_header.
Edge flags were random/undefined otherwise.
před 18 roky
Brian
c998ce1df0
minor improvement to get_vertex() in-use flag setting
před 18 roky
Brian
38091ef42a
fix an edgeflag logic error, see comments
před 18 roky
Brian
eef2e35981
fix incorrect vertex index for POLYGON drawing
před 18 roky
Brian
d6d995d20c
get rid of VERT_RESULT_ usage
před 18 roky
Brian
7d5e7f0319
map Mesa vertex attribs/arrays to TGSI attribs
před 18 roky
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...
před 18 roky
Brian
83547d1dca
TGSI_ATTRIB_ tokens
před 18 roky
Brian
074f07176a
define new TGSI_ATTRIB_ tokens for program inputs/outputs, plus translation functions
před 18 roky
Brian
ba50b6958a
comment about code duplication
před 18 roky
Brian
399077d760
clean-up comments
před 18 roky
Brian
6d88515190
remove dead/debug code, misc clean-up
před 18 roky
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.
před 18 roky
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
před 18 roky
Brian
ef7c250900
For the time being, interpolate Z in shade_quad() rather in the shader.
This was causing trouble for the i915 driver.
před 18 roky
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...
před 18 roky
Brian
ace2b98dd3
fix assertions in swizzle()
před 18 roky
Brian
69ab4b23f5
more debug output
před 18 roky
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.
před 18 roky
Brian
e9190ec534
remove old draw_vertices()
před 18 roky
michal
e94ea99254
Add deco_caps.c.
před 18 roky
michal
89c0d32b45
First pass on tgsi deco.
před 18 roky
michal
6b6cc4c0fe
Include headers.
před 18 roky
michal
fa8c74fcc9
New file.
před 18 roky
michal
d866e648ae
New file.
před 18 roky
Brian
be673e9719
Sampler state code now compiles and is built. Not tested yet.
před 18 roky
Brian
d45dd5672a
added border_color to sampler state
před 18 roky
Brian
8a868919b5
Improved pipe_region/surface_reference() functions
Now dereferences the old object first.
Target object may be NULL to clear the pointer.
před 18 roky
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.
před 18 roky