michal
86fe5f235b
Break GL dependencies.
2007-08-29 22:35:28 +01:00
michal
529c411e40
Break GL dependencies.
2007-08-29 22:35:28 +01:00
michal
5c337508fe
Fix ffs().
2007-08-29 22:35:28 +01:00
Keith Whitwell
874b926560
Split out vertex shader/cache/fetch functionality from draw_prim.c
2007-08-27 19:30:11 +01:00
keithw
b0455958cc
add missing files
2007-08-25 22:05:16 +01:00
keithw
3f8b5e3951
fix frag vs vertex typo
2007-08-25 22:01:32 +01:00
keithw
4185da4681
add names to tracked state atoms to improve debug
2007-08-25 22:01:32 +01:00
Keith Whitwell
07d97e80e6
checkpoint in constant tracking rework
2007-08-25 22:01:32 +01:00
keithw
599ba515f9
remove unneeded dirty flag
2007-08-25 22:01:32 +01:00
Brian
def8bb784c
code re-org, minor improvements
2007-08-24 19:36:23 -06:00
Brian
b4a8175da0
s/==/=/
2007-08-24 18:50:56 -06:00
Brian
703140bbd5
Fix fragment program color output mapping (0=depth, 1=color)
2007-08-24 18:26:42 -06:00
Brian
29dc25bcfe
check for USE_X86_ASM or SLANG_X86 in st_delete_program()
2007-08-24 18:19:50 -06:00
Brian
b7de64c46c
set I915_NEW_VERTEX_FORMAT in calculate_vertex_layout(), fixes demos/texenv
2007-08-24 18:08:23 -06:00
Brian
59e7bfa1de
Add support for more surface types in sp_surface.c
...
replace PIPE_FORMAT_U_L8_A8 with PIPE_FORMAT_U_A8_L8
2007-08-24 18:08:23 -06:00
michal
4fd7bc00f0
Hook-up SSE2 to VS.
2007-08-24 17:51:12 +01:00
michal
2c7b74725b
Indent. Remove GL dependencies. Simplify. Add rtasm instructions.
2007-08-24 16:23:02 +01:00
michal
b5c14b36ad
Add tgsi_sse2.
2007-08-24 12:53:19 +01:00
Brian
cd93682530
remove deleted i915_state_fragprog.c
2007-08-24 12:38:31 -06:00
Brian
57394f3446
fix a tracking of changed lighting state
2007-08-24 12:10:31 -06:00
Brian
6ef1bdbdaa
add some warnings about bitmaps/copypixels
2007-08-24 12:10:31 -06:00
keithw
e648a86601
disable debug
2007-08-24 11:25:42 +01:00
keithw
d36e01aa94
remove dead file
2007-08-24 11:25:07 +01:00
keithw
7a1027cd40
have to check I915_HW_SAMPLER when emitting MAP state, because of sampler_enable_flags.
2007-08-24 11:25:07 +01:00
keithw
b4d8be235b
sampler state tweaks
2007-08-24 11:25:06 +01:00
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.
2007-08-24 11:06:13 -06:00
Brian
6a13caec09
re-enable compute_clipmask() call
2007-08-24 11:06:13 -06:00
Brian
6998402016
emit S4_VFMT_XYZ vs. S4_VFMT_XYZW as needed
2007-08-24 11:06:13 -06:00
Keith Whitwell
c89502bb4e
Fixup include paths after rename
2007-08-24 10:01:20 +01:00
Keith Whitwell
f93a360319
Rename tgsi "core" directory
2007-08-24 10:01:03 +01:00
Brian
c50e054bd4
track more vertex-related state changes
2007-08-23 21:59:48 +01:00
Brian
7fe0934148
added GL_STENCIL_INDEX8_EXT
2007-08-23 21:59:27 +01:00
Brian
17598ad591
fix-up stencil buffers
2007-08-23 21:59:06 +01:00
Brian
ac8249d0ed
check for null ptr in xm_buffer_unreference()
2007-08-23 21:39:51 +01:00
Brian
440e794b05
Use vertex_info struct for softpipe - lots of clean-up.
2007-08-23 19:28:59 -06:00
Brian
d4883ee24c
remove dead code
2007-08-23 19:05:38 -06:00
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)
2007-08-23 19:03:42 -06:00
Brian
30236573da
Need to copy header->edgeflags to tmp when creating new prim_header.
...
Edge flags were random/undefined otherwise.
2007-08-23 18:54:51 -06:00
Brian
c998ce1df0
minor improvement to get_vertex() in-use flag setting
2007-08-23 17:59:17 -06:00
Brian
38091ef42a
fix an edgeflag logic error, see comments
2007-08-23 17:57:08 -06:00
Brian
eef2e35981
fix incorrect vertex index for POLYGON drawing
2007-08-23 17:41:03 -06:00
Brian
d6d995d20c
get rid of VERT_RESULT_ usage
2007-08-23 17:40:19 -06:00
Brian
7d5e7f0319
map Mesa vertex attribs/arrays to TGSI attribs
2007-08-23 17:39:52 -06:00
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...
2007-08-23 17:00:47 -06:00
Brian
83547d1dca
TGSI_ATTRIB_ tokens
2007-08-23 16:59:08 -06:00
Brian
074f07176a
define new TGSI_ATTRIB_ tokens for program inputs/outputs, plus translation functions
2007-08-23 14:58:26 -06:00
Brian
ba50b6958a
comment about code duplication
2007-08-23 14:56:00 -06:00
Brian
399077d760
clean-up comments
2007-08-23 14:55:43 -06:00
Brian
6d88515190
remove dead/debug code, misc clean-up
2007-08-23 13:41:23 -06:00
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.
2007-08-23 13:27:18 -06:00