Ben Skeggs
3e1e40ee79
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
17 лет назад
Brian
d0a63de378
turn off TGSI_DEBUG
17 лет назад
Brian
52da6b559a
fix bug on GL_VERTEX_PROGRAM_TWO_SIDE path
17 лет назад
Brian
8c20747834
setup the frontface register (fog.y, ATM)
17 лет назад
Brian
fb4eb8c91b
fix some semantic info mix-ups in calculate_vertex_layout()
17 лет назад
Keith Whitwell
c31416971e
gallium: rationalize vertex_element state packet
Remove dst_offset (not used)
Add nr_components, which could be calculated from format, but would be
too much effort.
Update i965 driver to cope.
17 лет назад
Keith Whitwell
208b2ad8ab
gallium: give userbuffers some storage in the aub buffer pool
17 лет назад
Keith Whitwell
9d4ab42f4b
vbo: unmap and remap immediate vbo before/after each draw.
Also use BufferData(NULL) to get fresh storage and avoid synchronous
operation where we would have to flush and wait for the fence after each
draw because of the map.
This will chew through a whole load of buffer space on small draws, so
it isn't a proper solution. Need to support a no-fence or append mapping
mode to do this right, or use user buffers.
17 лет назад
Zack Rusin
7cef9237ae
i965: don't treat swz differently and upload vertex buffers
17 лет назад
Brian
e2a669aed4
obsolete
17 лет назад
Ben Skeggs
3af35c6dfa
nouveau: match latest gallium changes
17 лет назад
Ben Skeggs
015871a075
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
17 лет назад
Brian
04a5a8b3bc
updates for depth/stencil/alpha state
17 лет назад
Brian
8978627ad0
Emit declarations for constants (references to the const buffer)
17 лет назад
Zack Rusin
aeb5362281
i965: index the destination offset with regards to the current index
17 лет назад
Zack Rusin
531efbab75
i965: return false when the function fails, not succeeds
17 лет назад
Zack Rusin
55c1894d0a
Add the new test program for fp's.
17 лет назад
Keith Whitwell
bfe79babf9
gallium: incorporate alpha state into depth_stencil state object.
17 лет назад
Ben Skeggs
c5ffd8e9af
nv40: fix valgrind complaints
17 лет назад
Ben Skeggs
8043d2d261
nv40: clean state a bit
17 лет назад
Keith Whitwell
556e247cee
965: remove dead state atom decls
17 лет назад
Keith Whitwell
3be91c5a49
965: fix for non-indexed draw path
17 лет назад
Keith Whitwell
95adfb9fec
965: fix/hack check for NULL texunit in state upload
17 лет назад
Keith Whitwell
b52e4477f8
965: fix ExtDivide check
17 лет назад
Keith Whitwell
ae858511d0
965: put brw_constant_buffer atom directly in update list
17 лет назад
Brian
41b1aa5109
switch on cpp instead of format
17 лет назад
Ben Skeggs
7dcef36f4c
nouveau: bump pushbuf size a little, so a "full" packet can fit
17 лет назад
Ben Skeggs
66013a252f
nv40: colormask thinko
17 лет назад
Ben Skeggs
f7e99bf22c
nv40: don't use vertex buffers for static vertices.
17 лет назад
Ben Skeggs
4c2a3356cf
nouveau: some cleanups
17 лет назад
Ben Skeggs
b337ecdd8e
nv40: fix culling
17 лет назад
Ben Skeggs
19af6e9161
nv40: typo
17 лет назад
Ben Skeggs
f287f687fe
nv40: fp support for TGSI_FILE_IMMEDIATE.
arbfslight works, nouveau's first GLSL prog :)
17 лет назад
Ben Skeggs
505e50de10
nv40: grow fragprog as needed
17 лет назад
Ben Skeggs
ab4c2e014d
nv40: destroy programs
17 лет назад
Ben Skeggs
af0b4a50e5
nv40: make vbo state update static
17 лет назад
Brian
47b5138d2d
rename some 'mesa' functions
17 лет назад
Brian
263e8f0572
Use tile functions in new p_tile.[ch]
This removes quite a bit of code duplicated in the drivers.
17 лет назад
Brian
bccc4c5c01
Re-usable tile get/put functions
17 лет назад
Brian
de1201a0ba
don't allocate scratch tile in sp_tile_cache_flush_clear() to avoid stack overflow
17 лет назад
Ben Skeggs
210bf673c2
nouveau: move extension stuff into nouveau_screen.c
17 лет назад
Ben Skeggs
b5b9ac62e6
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
17 лет назад
Brian
017f862de1
Added origin_lower_left field to pipe_rasterizer_state
This controls whether the window origin is considered to be the lower-left
or upper-left corner.
This effects computation of gl_FragCoord and the application of polygon stipple.
17 лет назад
Brian
f3b3ea9742
update_samplers() didn't respect the sampler->texunit mapping.
This fixes the glsl/texdemo1.c program.
17 лет назад
Brian
fce4612f8a
set SamplerUnit[] entry in load_texture() just to be safe
17 лет назад
Brian
814d4ff83a
emit tgsi declarations for texture samplers
17 лет назад
Brian
1e3b07f363
set program->SamplersUsed bit when using a texture instruction
17 лет назад
Brian
e785f190f0
Don't always declare frag shader INPUT[0] as fragment position.
We were doing this for the sake of softpipe and the tgsi intergrepter since
we always need the fragment position and W-coordinate information in order
to compute fragment interpolants.
But that's not appropriate for hardware drivers.
The tgsi interpreter now get x,y,w information from a separate tgsi_exec_vector
variable setup by softpipe.
The new pipe_shader_state->input_map[] defines how vert shader outputs map
to frag shader inputs. It may go away though, since one can also examine
the semantic label on frag shader input[0] to figure things out.
17 лет назад
Brian
23e36c2dfb
update comment for TGSI_TOKEN_TYPE_IMMEDIATE case
17 лет назад
Ben Skeggs
7f89c776e1
nv40: less dodgy vp const/insn handling
17 лет назад