Vinson Lee
d11db2a857
i965: Silence uninitialized variable warning.
...
Silences this GCC warning.
brw_fs.cpp: In member function 'void fs_visitor::split_virtual_grfs()':
brw_fs.cpp:2516: warning: unused variable 'reg'
2010-11-13 21:19:59 -08:00
Christian König
48e19e8f35
[g3dvl] fix of my one bug in SCALE_FACTOR_16_TO_9
2010-11-14 02:17:39 +01:00
Christian König
0bc51ba484
[g3dvl] switch to using macroblock vertices
2010-11-13 17:16:27 +01:00
Christian König
35a8efe577
[g3dvl] move empty block handling completely into shaders
2010-11-13 16:56:59 +01:00
Marek Olšák
7e2256688a
r300g: fix texture border color for all texture formats
...
This fixes 8 texwrap format tests.
The code should handle arbitrary formats now and is cleaner.
NOTE: This is a candidate for the 7.9 branch.
2010-11-13 16:43:20 +01:00
Christian König
d128c091c7
[g3dvl] use quads instead of triangles
2010-11-13 14:06:47 +01:00
Vinson Lee
3f6b1756f8
mesa: Clean up header file inclusion in points.h.
2010-11-13 01:16:12 -08:00
Christian König
33311ffed5
[g3dvl] cleanup
...
Add missing comments simplyfy shaders etc...
2010-11-12 23:49:33 +01:00
Brian Paul
56b4819932
mesa: consolidate assertions in teximage code
2010-11-12 07:21:29 -07:00
Christoph Bumiller
4c22475383
nvc0: import nvc0 gallium driver
2010-11-12 15:17:40 +01:00
Christian König
1eaf4806cd
[g3dvl] and finally move field codec dct handling into shaders
2010-11-12 12:00:33 +01:00
Marek Olšák
93edd15178
svga: fill out CAPs for indirect addressing
...
As per the ps_3_0 and vs_3_0 documentation.
The aL register in D3D9 is quite tricky to use, though.
2010-11-12 03:13:23 +01:00
Marek Olšák
5c7127c07c
r600g: fill out CAPs for indirect addressing
2010-11-12 03:13:23 +01:00
Marek Olšák
d279902b40
r300g: fill out CAPs for indirect addressing
...
To match shader model 2.0 (it's impossible to fully implement ARL
with shader model 3.0 relative addressing).
2010-11-12 03:13:22 +01:00
Marek Olšák
abe2c0d3b0
nvfx: fill out CAPs for indirect addressing
...
To match shader model 2.0.
2010-11-12 03:13:22 +01:00
Marek Olšák
3c6309e2f7
nv50: fill out CAPs for indirect addressing
2010-11-12 03:13:22 +01:00
Marek Olšák
04bafb2b55
i965g: fill out CAPs for indirect addressing
2010-11-12 03:13:22 +01:00
Marek Olšák
5bf7d668ac
i915g: fill out CAPs for indirect addressing
2010-11-12 03:13:22 +01:00
Marek Olšák
53b7ec91ca
tgsi: fill out CAPs for indirect addressing
2010-11-12 03:13:22 +01:00
Marek Olšák
cbfdf262cc
gallium: add CAPs for indirect addressing and lower it in st/mesa when needed
...
Required because ATI and NVIDIA DX9 GPUs do not support indirect addressing
of temps, inputs, outputs, and consts (FS-only) or the hw support is so
limited that we cannot use it.
This should make r300g and possibly nvfx more feature complete.
Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-11-12 03:13:22 +01:00
Christian König
fa4d274516
[g3dvl] make room for second z-coord and interlaced flag
2010-11-12 01:04:22 +01:00
Brian Paul
d18df9e336
tdfx: s/Format/_BaseFormat/
...
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31560
2010-11-11 16:56:45 -07:00
Christian König
7af05c4fe6
[g3dvl] move applying z-coord to fragment shader
2010-11-12 00:29:37 +01:00
Christian König
d8192f1821
[g3dvl] use constants for vertex shader outputs and move field calculation into own function
2010-11-12 00:17:56 +01:00
Eric Anholt
6929cdd14b
glsl: Free the loop state context when we free the loop state.
...
Since this was talloced off of NULL instead of the compile state, it
was a real leak over the course of the program. Noticed with
valgrind --leak-check=full --show-reachable=yes. We should really
change these passes to generally get the compile context as an argument
so simple mistakes like this stop mattering.
2010-11-11 15:12:37 -08:00
Brian Paul
78587ea012
mesa: fix glDeleteBuffers() regression
...
This fixes a regression (failed assertion) from commit
c552f273f5 which was hit if glDeleteBuffers()
was called on a buffer that was never bound.
NOTE: this is a candidate for the 7.9 branch.
2010-11-11 15:31:36 -07:00
Brian Paul
c552f273f5
mesa: make glIsBuffer() return false for never bound buffers
...
Use a dummy buffer object as we do for frame/renderbuffer objects.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31514
Note: this is a candidate for the 7.9 branch.
2010-11-11 14:49:53 -07:00
Christian König
97e92ab63b
[g3dvl] move xfer_buffers_map/unmap into flush
2010-11-11 22:08:00 +01:00
Christian König
195bbe8ce2
Merge remote branch 'origin/master' into pipe-video
2010-11-11 21:07:42 +01:00
Aras Pranckevicius
d67df5dd9d
glsl: fix crash in loop analysis when some controls can't be determined
...
Fixes loop-07.frag.
2010-11-11 10:49:37 -08:00
Keith Whitwell
7fb16423cc
r600g: enforce minimum stride on render target texture images
...
Fixes piglit/fbo_readpixels since staging upload changes.
2010-11-11 16:20:24 +00:00
Keith Whitwell
8a3c181e9c
r600g: do not try to use staging resource for depth textures
...
Currently r600_resource_copy_region() will turn these copies into
transfers + memcpys, so to avoid recursion we must not turn those
transfers back into blits.
2010-11-11 15:43:31 +00:00
Brian Paul
b3b6476695
mesa: handle more pixel types in mipmap generation code
...
NOTE: This is a candidate for the 7.9 branch.
2010-11-11 08:33:42 -07:00
Brian Paul
79c65410c1
mesa: add missing formats in _mesa_format_to_type_and_comps()
...
NOTE: this is a candidate for the 7.9 branch
2010-11-11 08:31:21 -07:00
Brian Paul
c9126d66fa
mesa: improve error message
2010-11-11 07:43:46 -07:00
Brian Paul
624661cae4
mesa: #include mfeatures.h in enums.h
2010-11-11 07:43:46 -07:00
Keith Whitwell
6baad55f15
r600g: guard experimental s3tc code with R600_ENABLE_S3TC
2010-11-11 14:30:09 +00:00
Christian König
99b57bc20e
[g3dvl] move stuff from flush into own functions
2010-11-11 15:01:27 +01:00
Lucas Stach
089056a5f3
nvfx: fill PIPE_CAP_PRIMITIVE_RESTART and PIPE_CAP_SHADER_STENCIL_EXPORT
...
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-11-11 14:55:46 +01:00
Francisco Jerez
cdb38b5d3d
dri/nouveau: Split hardware/software TNL instantiation more cleanly.
2010-11-11 14:50:50 +01:00
Christian König
e406936b9e
[g3dvl] remove empty block handling for now
...
Maybe this isn't going into the right direction,
but it makes handling the code easier for now.
2010-11-11 12:49:47 +01:00
Christian König
745906257a
[g3dvl] use only one vertex element for ycbcr z-coord
2010-11-11 12:32:44 +01:00
Christian König
4c90c039f0
[g3dvl] move the rest of the calculations into the vertex shader
2010-11-11 11:53:12 +01:00
Vinson Lee
dc524adee2
mesa: Fix printf format warnings.
2010-11-10 17:30:59 -08:00
Ian Romanick
bcef51c3b8
mesa: Allow query of MAX_SAMPLES with EXT_framebuffer_multisample
...
Previously queries of MAX_SAMPLES were only allowed with
ARB_framebuffer_object, but EXT_framebuffer_multisample also enables
this query. This seems to only effect the i915. All other drivers
support both extensions or neither extension.
This patch is based on a patch that Kenneth sent along with the report.
NOTE: this is a candidate for the 7.9 branch.
Reported-by: Kenneth Waters <kwaters@chromium.org>
2010-11-10 16:00:03 -08:00
Jakob Bornecrantz
0faa7ada84
libgl-xlib: Use sw helper instead of roll your own
2010-11-10 23:40:18 +00:00
Christian König
1be1aa7ba1
[g3dvl] cleanup vert_stream_0
2010-11-11 00:39:30 +01:00
Jakob Bornecrantz
89deebb1af
graw: Use inline sw helper instead of roll your own loader
2010-11-10 23:05:17 +00:00
Jakob Bornecrantz
d4c60575f8
galahad: Correct the name of the scons library
2010-11-10 23:05:17 +00:00
Christian König
3a247a08e8
[g3dvl] use clamp to border for empty block handling
2010-11-10 23:22:56 +01:00