Brian Paul
6363960db5
mesa: remove unneeded #include
před 17 roky
Brian Paul
73f78dedad
gallium: add missing comma
před 17 roky
Brian Paul
20ee00754d
gallium: disable the codegen for TGSI_OPCODE_EXPBASE2 for now.
The x86 code seems to fail for exponents of 4 or larger.
See glean's vertProg1/EX2 test.
před 17 roky
Keith Whitwell
08f1b8ac70
gallium: fix SSE codegen for instructions that use both a CONSTANT and IMMEDIATE
Fixes codegen for instructions like MUL dst, CONST[0], IMM[0]; the two operands
would up getting aliased in the x86/sse code.
Fixes glean/vertProg1/fogparams test.
před 17 roky
Brian Paul
b19e8f720b
gallium: test for FEATURE_convolution
před 17 roky
Brian Paul
cfe8763714
gallium: remove unused/old st_atom_fixedfunction.c file
před 17 roky
Zack Rusin
494c40dbed
almost forgot - RelAddr is a boolean so use it here
před 17 roky
Zack Rusin
f49dd47dc9
add some glsl example testing different arrays of uniforms
před 17 roky
Zack Rusin
38fdf130d4
shaders: fix allocation of arrays of parameters
před 17 roky
Zack Rusin
68ef8e89a5
glsl: implement variable array indexes
před 17 roky
Brian Paul
5ecb2f2d0f
mesa: restore and fix Keith's "further degenerate the special case lit substitute"
There was a bug in emit_degenerate_lit() that caused the SLT to produce
unpredictable results in lit.z
Plus, added a bunch of new comments.
před 17 roky
Keith Whitwell
23d340c9ed
pb: don't assert(0) on failure to allocate - this is a normal condition in many drivers
před 17 roky
Brian Paul
34ff12ca1f
Revert "mesa: further degenerate the special case lit substitute"
This reverts commit e841b92d9c .
This fixes two specular lighting conform failures.
před 17 roky
Brian Paul
11461f52be
mesa: refactor: update SConscript with recently added new source files
před 17 roky
Brian Paul
222c80893a
mesa: refactor: move various ENUM_TO_x macros into macros.h
před 17 roky
Brian Paul
77b794201a
mesa: refactor: move glTexParameter-related functions into new texparam.c file
před 17 roky
Brian Paul
7ecac78ab5
mesa: refactor: move glTexEnv-related functions into new texenv.c file
před 17 roky
Brian Paul
27049189d6
mesa: refactor: move glTexGen-related functions into new texgen.c file
před 17 roky
José Fonseca
2fed8d8496
gallium: Support L16 pixel format.
před 17 roky
José Fonseca
0f552f500c
pipebuffer: Fix improper memory free.
před 17 roky
José Fonseca
23422d603a
gallium: Implement debug_get_num_option.
For numeric options.
před 17 roky
Brian Paul
f61923441f
egl: some basic docs for libEGL
před 17 roky
Brian Paul
6b389b5c2f
egl: some prototype Windows code (eq for dlopen,dlsym)
před 17 roky
Alan Hourihane
6f7ed99b30
revert the DRI2 commits
před 17 roky
Keith Whitwell
2161b0fafc
draw: don't assume vertex position is in data[0]
před 17 roky
Keith Whitwell
807f8f177b
draw: preserve specular alpha when flatshading -- may be FOGC
před 17 roky
Alan Hourihane
d45e99060d
fix card_extensions
před 17 roky
Alan Hourihane
f851ba705a
fix legacy DRI
před 17 roky
Alan Hourihane
5e9fe62c70
add missed files for DRI2 merge
před 17 roky
Alan Hourihane
1bcb817167
Hook gallium i915 up to DRI2
před 17 roky
Alan Hourihane
4dd1917e4b
small optimization
před 17 roky
Alan Hourihane
4566b006f1
Bring in DRI2 changes
před 17 roky
Keith Whitwell
bd92642100
draw: remove another debug assert on failover to generic vs varient
před 17 roky
Keith Whitwell
3bdeff5bec
trivial: add test for integer vertex arrays
před 17 roky
Keith Whitwell
ab399b555c
draw: remove debug assert on failover to generic vs varient
před 17 roky
Brian Paul
e4cfe0854a
mesa: refactor: fix some FEATURE_ typos, mistakes
před 17 roky
Brian Paul
0f36a29d5e
gallium: work-around glapi.c build problem for dri configs
před 17 roky
Brian Paul
e9b6ed395a
egl: only windows are renderable at this time
před 17 roky
Brian Paul
b9c5b0bc4b
egl: some prototype API detection code
před 17 roky
Brian Paul
40d1a40f29
mesa: refactor: move #define FEATURE flags into new mfeatures.h file
Also, check the FEATURE flags in many places.
před 17 roky
Brian Paul
ef27bdbfa8
mesa: include mtypes.h
před 17 roky
Brian Paul
4c1892ca89
mesa: remove unnecessary swrast, tnl includes
před 17 roky
Brian Paul
00d90fe845
gallium: remove stray include of st_context.h
před 17 roky
Brian Paul
5493c775b7
add some missing rule dependencies
před 17 roky
Keith Whitwell
aa7c21a45b
Revert "draw: no need to rearrange most primitives in vcache for flatshade-first"
This reverts commit ad44e68706 .
před 17 roky
Keith Whitwell
ad44e68706
draw: no need to rearrange most primitives in vcache for flatshade-first
The driver/pipeline will still be applying flatshade-first state to the
triangles emitted from vcache, so there's no need to rotate the vertices
of most primitives. The only exception is POLYGON, as explained in the
code.
před 17 roky
Keith Whitwell
14a13e3767
draw: fix edgeflags on clipped poly emit
před 17 roky
Keith Whitwell
ac833b9aef
trivial: add trifan tests
před 17 roky
Keith Whitwell
f5801fba24
trivial: add poly-flat-clip tests
před 17 roky
Keith Whitwell
d915f40195
trivial: add tristrip-flat to makefile
před 17 roky