Christoph Bumiller
4de293bb9a
nv50: loops part 2
At least the mesa demo glsl/mandelbrot should work now.
15 jaren geleden
Christoph Bumiller
34e0db4c50
nv50: more constant folding
15 jaren geleden
Christoph Bumiller
3a68fcfb6b
nv50: begin implementing loops
15 jaren geleden
Christoph Bumiller
fc1d72d15d
nv50: fix reg count
15 jaren geleden
Christoph Bumiller
aaa8802a22
nv50: build proper phi functions in the first place
15 jaren geleden
Christoph Bumiller
720e0c430d
nv50: fix constbuf validation
We only uploaded up to the highest offset a program would use,
and if the constant buffer isn't changed when a new program is
used, the new program is missing the rest of them.
Might want to introduce a "fill state" for user mem constbufs.
15 jaren geleden
Christoph Bumiller
2c695d38e6
nv50: don't eliminate loads to dedicated values
15 jaren geleden
Christoph Bumiller
fa67cabe7a
nv50: fixes for nested IFs
15 jaren geleden
Christoph Bumiller
5705b45b6a
nv50: explicitly set src type for SET ops
Need to do this more nicely for all ops.
15 jaren geleden
Christoph Bumiller
5de5e4fd5c
nv50: insert MOVs also for PHI sources from dominating block
Otherwise we get live range conflicts for operands that are written
only in e.g. an ELSE block but not the IF block.
15 jaren geleden
Christoph Bumiller
582311ca97
nv50: fix for empty BBs
15 jaren geleden
Christoph Bumiller
28ded2585c
nv50: add signed RGTC1 to format table, allow 2_10_10_10 for vbufs
15 jaren geleden
Christoph Bumiller
7d34e79e44
nv50: add missing 2nd source for POW multiplication
15 jaren geleden
Christoph Bumiller
e1ad3bd2f2
nv50: permit usage of undefined TGSI TEMPs
15 jaren geleden
Christoph Bumiller
a3ba99b303
nv50: fix constant_operand opt mul by 2 case
15 jaren geleden
Christoph Bumiller
5811c69264
nv50: simple reload elimination and local CSE
15 jaren geleden
Christoph Bumiller
bb9d634730
nv50: add/fix some license headers
15 jaren geleden
Christoph Bumiller
4baaf1d4c3
nv50: change back accidentally swapped UNORM,SNORM vertex type
15 jaren geleden
Christoph Bumiller
1d1bb20612
nv50: don't produce MOV immediate to output reg in store opt
15 jaren geleden
Christoph Bumiller
d7aac107e6
nv50: introduce the big formats table
15 jaren geleden
Christoph Bumiller
f3af1201c5
nouveau: update nouveau_class.h
Adds nvc0, new vertex formats, and dual source blending values.
15 jaren geleden
Christoph Bumiller
633f5ac612
nv50: import new compiler
15 jaren geleden
Eric Anholt
c65f4fd5ae
i965: Cleanly fail programs with unsupported array access.
This should be more useful for developers and for bug triaging than
just generating wrong code.
15 jaren geleden
Eric Anholt
35bbbf4742
i965: Add support for VS relative addressing of temporary arrays.
Fixes glsl-vs-arrays. Bug #27388 .
15 jaren geleden
Brian Paul
41e7347a17
draw: add small ybias factor for drawing wide points
Fixes minor rasterization error detected by some tests.
15 jaren geleden
Brian Paul
6c3b9fa5fd
docs: document new extensions for Gallium
15 jaren geleden
Michal Krol
8122baf8ba
softpipe: Check for NULL pointer in sp_destroy_tile_cache().
15 jaren geleden
Michal Krol
a0fc83b277
softpipe: Check for NULL pointer in sp_destroy_tex_tile_cache().
15 jaren geleden
Christoph Bumiller
0811b09669
nv50: implement depth clamp
15 jaren geleden
Thomas Hellstrom
a96feddddb
xorg/vmwgfx: Implement early mode pruning based on max fb size.
Also move some initialization from screen init to pre-init, now
that it is possible.
Also import a new vmwgfx drm (1.3) header.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
15 jaren geleden
Thomas Hellstrom
cec7d6a4de
st/xorg: Init the Gallium3D / libkms resources in pre-init.
This makes it possible to prune modes already in pre-init.
We also keep these resources alive across server generations, and
they are implicitly closed on server exit.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
15 jaren geleden
Thomas Hellstrom
f3ddffc392
st/xorg: Kill a couple of compilation warnings
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
15 jaren geleden
Thomas Hellstrom
6ffa23b8fe
st/xorg vmwgfx/xorg: Add a pre-init customizer callback
Add a customizer callback just before initial config setting, so that the
customizer code can initialize the mode validator using the drm
file-descriptor.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
15 jaren geleden
Thomas Hellstrom
a7a126bdfa
st/xorg: Add a possibility to prune modes and limit fb allocation size based on max fb size.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
15 jaren geleden
Jakob Bornecrantz
2299ff4c6b
llvmpipe: Partially fix resource texture from_handle
15 jaren geleden
Jakob Bornecrantz
dc544d87a2
llvmpipe: Don't align values already aligned
15 jaren geleden
Jakob Bornecrantz
095e99ddf6
i915g: Rename winsys debug options
15 jaren geleden
Jakob Bornecrantz
5ccab575fd
i915g: Allow wrapping with software pipes
15 jaren geleden
Jakob Bornecrantz
37dabfeef7
i915g: Set total_nblocksy in from_handle
15 jaren geleden
Jakob Bornecrantz
5de2678b4e
i915g: Add some debug prints in texture code
15 jaren geleden
Jakob Bornecrantz
4eaa671052
i915g: Ifdef out debug code on non-debug builds
15 jaren geleden
Jakob Bornecrantz
e36a082214
tgsi: Fix error message on invalid swizzle parse
15 jaren geleden
Kristian Høgsberg
eeaab2047c
glx: Drop screen argument to GetGLXDRIDrawable
We'll just get it from the returned drawable when we need it.
15 jaren geleden
Kristian Høgsberg
7b7845a076
glx: Move WaitGL, WaitX, UseXFont to context vtable functions
15 jaren geleden
Kristian Høgsberg
31819830b6
glx: Allocate the __GLXcontext in the DRI drivers
15 jaren geleden
Kristian Høgsberg
ab434f6b76
glx: Use _Xglobal_lock for protecting extension display list
Avoids double locking glXLock in the X wire to event handlers.
15 jaren geleden
Brian Paul
c20a3628c7
glsl: remove invalid _mesa_problem() call
Fixes fd.o bug 29206.
15 jaren geleden
Brian Paul
815e79e72c
draw: re-order optimization passes depending on LLVM version, 32/64-bit
This is a work-around for an apparent bug in LLVM seen with piglit's
glsl-vs-sqrt-zero test.
15 jaren geleden
Brian Paul
ca3238f3fc
draw: added new assertions to clipping code
15 jaren geleden
Eric Anholt
63ba1ec3c1
i965: Respect VS/VP point size result when enabled.
Fixes glsl-vs-point-size.
15 jaren geleden