Marek Olšák
d7111353bd
r300g: consolidate deducing chipset info
...
Use the new PCI ID table, make it simpler.
2011-06-07 21:02:52 +02:00
Marek Olšák
4123131f3c
r300_pci_ids: set families to match r300g
2011-06-07 21:02:52 +02:00
Marek Olšák
eaae63b715
r600g: add missing r300 families
...
Wondering why r600g needs to include r300_pci_ids.h
2011-06-07 21:02:52 +02:00
Eric Anholt
6d894f68af
intel: Update intel-decode.c from intel-gpu-tools.
2011-06-07 11:44:11 -07:00
Eric Anholt
23b6f9606d
intel: Implement glFinish() correctly by waiting on all previous rendering.
...
Before, we were waiting for (most of) the current framebuffer to be
done, which is not quite the same thing.
2011-06-07 10:46:04 -07:00
Jeremy Huddleston
6ea70600b9
darwin: Fix VG_LIB_GLOB to also match the unversioned symlink
...
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-07 13:27:42 -04:00
Jeremy Huddleston
cebdffaa2a
darwin: Don't link against libGL when building libOSMesa
...
Everything should be resolved through glapi.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-07 13:27:42 -04:00
Marek Olšák
ed0e4bb4c1
r300_pci_ids: add missing 4B48
...
Found in r300_chipset.h.
2011-06-07 18:45:23 +02:00
Benjamin Franzke
42ba8d141f
r300g: Remove is_r3xx
...
Use r300_pci_ids.h instead.
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-06-07 10:28:20 -04:00
Benjamin Franzke
2bb253120e
r600g: Use radeon pciid list for the family lookup table
...
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-06-07 10:28:20 -04:00
Benjamin Franzke
6b82193677
radeon: Use pciid list to generate PCI_CHIP_<FAMILY>_<ID> defines
...
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-06-07 10:28:20 -04:00
Benjamin Franzke
a433755ec5
targets/egl: Support driver name lookup using pci lists
...
Make use of this in drm and wayland st/egl backends.
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-06-07 10:28:20 -04:00
Benjamin Franzke
7f881c43df
egl_dri2: Use external driver pci list
...
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-06-07 10:28:19 -04:00
Benjamin Franzke
88fd16d548
Add radeon pci id lists
...
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-06-07 10:28:19 -04:00
Benjamin Franzke
09f83ce4da
Add intel pci id lists
...
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-06-07 10:28:19 -04:00
Brian Paul
681ed756c0
tgsi: s/varient/variant/
2011-06-07 07:57:26 -06:00
Brian Paul
b3e75a61ee
draw: rename draw_vs_varient.c to draw_vs_variant.c
2011-06-07 07:57:26 -06:00
Brian Paul
47f3d5d42d
draw/llvm: whitespace, formatting fixes
2011-06-07 07:57:26 -06:00
Brian Paul
57f2f84f0e
draw: s/1/TRUE/
2011-06-07 07:57:26 -06:00
Eric Anholt
ef59049c52
i965: Fix flipped GT1 vs GT2 URB VS entry count limits.
2011-06-07 00:08:42 -07:00
Stéphane Marchesin
7d2cb9a53c
Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa
2011-06-06 20:42:30 -07:00
Stéphane Marchesin
abb4365269
i915g: Do generic remapping.
...
With complex shaders there are often "holes" in the fs inputs, and we only
have 8 tex coorsd to map those to. To fix this, we remap fs inputs to [0..8].
This lets us to run many more GLSL programs.
2011-06-06 20:40:16 -07:00
Jeremy Huddleston
22c320aa2c
darwin: Set VG_LIB_{NAME,GLOB} to fix make install
...
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-06 19:56:19 -04:00
Dave Airlie
ca01fe007d
r600g: optimise the draw emission packets for r600/eg
...
This just reduces code size a bit for this chunk.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-06-07 09:43:09 +10:00
Dave Airlie
63184bc8b2
r600g: use an enabled list to track enabled blocks.
...
At the end of flushing we were scanning over 450 blocks
with generally about 50 enabled. This reduces the scanning
to just the list of enabled blocks.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-06-07 09:33:53 +10:00
Dave Airlie
f356bb74de
r600g/winsys: overhaul resource range/blocks.
...
There isn't much point taking the overhead of range/block lookups on resources
we aren't going to be getting resource registers at wierd offsets.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-06-07 09:32:29 +10:00
Dave Airlie
be7af43f5a
r600g: split out block init
...
This just splits this function up as pre-cursor to reusing
the internals of it.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-06-07 09:32:00 +10:00
Dave Airlie
cf0f02e501
r600g: move resource setting to its own structures.
...
resource setting could be a fair bit more lightweight,
this patch just separates the resource structs from the standard
reg tracking structs in the driver, later patches will improve
the winsys.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-06-07 09:30:55 +10:00
Dave Airlie
eb4bb48ef4
r600g: only call bo loop if nbos is positive.
...
we don't need to loop over all the registers unless we have
some bos in the block, also avoid setting the ctx flags,
and move the optional stuff down below this chunk.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-06-07 09:28:59 +10:00
Dave Airlie
6cd3534676
r600g: don't need to call the packet dirty function if not dirty.
...
also fix a unneeded dirty check and add a dirty check speedup.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-06-07 09:25:50 +10:00
Stéphane Marchesin
2292025c49
i915g: implement more opcodes.
2011-06-06 12:36:00 -07:00
Stéphane Marchesin
0f091333d1
i915g: implement TGSI_OPCODE_SEQ.
2011-06-06 12:36:00 -07:00
Stéphane Marchesin
0ce977a66e
i915g: handle varyings properly.
2011-06-06 12:36:00 -07:00
Stéphane Marchesin
893b92adff
i915g: add missing and unsupported PIPE_CAPs to avoid debug messages.
2011-06-06 12:35:59 -07:00
Stéphane Marchesin
3d3ecb8520
dri2: protect dri2FlushFrontBuffer against NULL buffers.
2011-06-06 12:35:59 -07:00
Stéphane Marchesin
cec2082ae5
Gallium: fix indentation in u_blitter.c
2011-06-06 12:35:59 -07:00
Stéphane Marchesin
3103c08ae9
i915g: don't destroy a texture buffer if it's NULL.
2011-06-06 12:35:58 -07:00
Stéphane Marchesin
1af8b7250f
llvmpipe: use $(CXX) instead of g++ for linking.
...
This allows setting the path to the C++ compiler.
2011-06-06 12:35:58 -07:00
Kenneth Graunke
c2e659037f
i965: Update SURFACE_STATE dumping for Ivybridge.
...
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2011-06-06 11:06:05 -07:00
Kenneth Graunke
4ba9cfe4b8
i965: Update SAMPLER_STATE dumping for Ivybridge.
...
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2011-06-06 11:06:05 -07:00
Kenneth Graunke
f9a3200adb
i965: Update SF_CLIP_VIEWPORT state dumping for Ivybridge.
...
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2011-06-06 11:06:04 -07:00
Jeremy Huddleston
e5d241ddb2
apple: Package applegl source into MesaLib tarball
...
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-06 12:48:08 -04:00
Jeremy Huddleston
d563009cd1
darwin: Define GALLIUM_DRIVERS_DIRS in darwin config
...
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-06 11:38:05 -04:00
Jeremy Huddleston
2ee5272e16
apple: Finish build fixes for applegl_glx.c
...
libGL.dylib now *builds* on darwin.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-06 11:27:19 -04:00
Jeremy Huddleston
7c5f37c032
apple: More fixes for compilation failures
...
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-06 11:17:38 -04:00
Andreas Faenger
f4537f99cc
softpipe: Anisotropic filtering extension.
...
Reference implementation which produces high quality renderings.
Based on Higher Quality Elliptical Weighted Avarage Filter (EWA).
Signed-off-by: Brian Paul <brianp@vmware.com>
2011-06-06 08:21:09 -06:00
Brian Paul
b438005d96
st/mesa: fix renderbuffer internal format for accum buffer
...
Fixes an accum buffer regression since switching to the table-based
format selection code.
2011-06-06 08:06:34 -06:00
Marcin Slusarz
155cf15ce2
util: add \n to debug_checkpoint_full
...
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2011-06-06 12:41:07 +01:00
Marcin Slusarz
fb40f1f532
nv50: fix nv50_sampler_state_delete array overflow
...
num_samplers is array of 3 elements, not 5
2011-06-06 11:20:54 +02:00
Jeremy Huddleston
5d35343d12
apple: Fix multiple build failures in applegl_glx.c
...
It is still not building, but this gets us many steps closer
See https://bugs.freedesktop.org/show_bug.cgi?id=29162
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-05 21:25:27 -04:00