Brian Paul
5b27b4ad37
st: add support for GL_EXT_vertex_array_bgra
17 anni fa
Corbin Simpson
3af0952bc9
r300-gallium: r500-fs: POW.
I feel so unclean.
17 anni fa
Corbin Simpson
cfd241e8a6
r300-gallium: r500-fs: LRP.
Goddammit. This cannot be the "easy way." :C
17 anni fa
Corbin Simpson
f1f0893eba
r300-gallium: r500-fs: Combine function.
17 anni fa
Corbin Simpson
d67fb5ea1d
r300-gallium: Prevent assert when fogcoords are present.
Seems like this file is the source of all bad logic. (Pun intended.)
17 anni fa
Corbin Simpson
d04c85d01b
r300-gallium: Another constantbuf shader recompile test.
Less briefly... Shaders need to be recompiled if their constantbuf
offsets have changed. However, since we only change them from shaders if
immediates need to be emitted, we shouldn't bother if the shader doesn't
use immediates.
17 anni fa
Corbin Simpson
4151c0ea91
r300-gallium: Raise constantbuf limits.
Still not correct, but really I don't care.
17 anni fa
Corbin Simpson
364a4a8293
r300-gallium: fs: Remove cruft from way back when.
17 anni fa
Corbin Simpson
0ba7f76233
radeon-gallium: Add surface_buffer_create callback.
17 anni fa
Corbin Simpson
9e8de1b911
r300-gallium: Make surface_copy actually load the texture in shader.
17 anni fa
Corbin Simpson
b22b6f0743
r300-gallium: Add missing R481 PCI ID.
Per 74cb2aba on xf86-video-ati.
17 anni fa
Corbin Simpson
65946ef081
r300-gallium: Make surface_copy work, and refactor buffer validation.
17 anni fa
Corbin Simpson
4550423211
radeon-gallium: Don't permit reading and writing a BO in one CS.
This fixes some silent problems in current libdrm_radeon.
surface_copy still locks up hard.
17 anni fa
Brian Paul
0c75cb5afe
st: reformatting, comments, var renaming
17 anni fa
Brian Paul
d0eccc4187
Merge branch 'mesa_7_5_branch'
17 anni fa
Mathias Fröhlich
042d9a5132
mesa: allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENT
See sourceforge bug #2793846 .
17 anni fa
Brian Paul
c99a60c40d
mesa: assign trb->Base.StencilBits in update_wrapper().
When we render to a depth/stencil texture there are stencil bits.
17 anni fa
Brian Paul
43d8ace88d
mesa: print more info when valid_texture_object() fails
17 anni fa
Jakob Bornecrantz
bd59dd69ba
trace: Improve shader wrapping
17 anni fa
Jakob Bornecrantz
7d11a392d7
st/dri: Only create new textures if drawable has changed
17 anni fa
Corbin Simpson
d0639d067e
r300-gallium: Fix (another) wrong value in MSPOS.
Again, thanks to agd5f.
17 anni fa
Corbin Simpson
026f4c97dc
radeon-gallium: Remove BO validation debug.
It appears that that area of code "just works" much like classic Mesa's
version, so might as well not waste scrollback on it.
17 anni fa
Corbin Simpson
5236ea3900
r300-gallium: Cleanup viewport state setup.
17 anni fa
Corbin Simpson
301d238c1a
r300-gallium: Always do VTE, never software viewport.
This makes glxgears draw properly with SW TCL.
17 anni fa
Brian Paul
edfbf7dccb
Merge branch 'mesa_7_5_branch'
Conflicts:
Makefile
src/mesa/main/version.h
17 anni fa
Brian Paul
7ce105d2e6
st/mesa: fix incorrect src/dst stride params to _mesa_generate_mipmap_level()
The stride needs to be in texels, not bytes.
17 anni fa
Brian Paul
adabd0e81e
mesa: comments for _mesa_generate_mipmap_level()
17 anni fa
Brian Paul
30320f0afb
softpipe: add texture target sanity check assertion
17 anni fa
Brian Paul
14e5bff97b
st: fix incorrect target parameter to screen->is_format_supported()
We were passing a GL texture target instead of a pipe_texture_target enum.
17 anni fa
Brian Paul
df37cde309
mesa: added linux-osmesa-static config
Contributed by Nicolas Noble. See SF bug #2792536
17 anni fa
Brian Paul
6e61700541
docs: link to 7.5 relnotes
17 anni fa
Brian Paul
da0d4e1db6
docs: emphasize the incomplete status of the nouveau/R300 gallium drivers
17 anni fa
Aidan Thornton
f2445dfd85
Initialize psp->waitX/waitGL for swrast_dri.so.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21053 .
17 anni fa
Corbin Simpson
27206add27
r300-gallium: Enable GLSL for r500.
Before you get all excited, this is *not* to be construed as actual support
for GLSL shaders. The GL version is still 1.3, and stuff still sucks. Just
flicking it on so that it can be tested and developed a bit easier.
17 anni fa
Corbin Simpson
9569221563
r300-gallium: r500-fs: DDX and DDY support.
Oh, look, GLSL instructions. I wonder what I'll do next.
17 anni fa
Corbin Simpson
0036f2ccba
dri-gallium: Add GLSL support.
Oh, look, it's more features. :3
17 anni fa
Corbin Simpson
06a7b798f2
r300-gallium: Add half-right COS and SIN.
HW trig does a premultiply by 2pi, where Mesa does another premultiply by pi.
This is a problem.
17 anni fa
Corbin Simpson
572d7d1358
r300-gallium: Size mismatch.
17 anni fa
Corbin Simpson
6a40d1e9d9
r300-gallium, radeon-gallium: Nuke gb_pipes from orbit.
See the previous commit for an explanation. This is just all the support code
for GB_TILE_CONFIG.
17 anni fa
Corbin Simpson
d6e085bd76
r300-gallium: Don't set GB_TILE_CONFIG (in userspace.)
This accompanies kernel patches that make GB_TILE_CONFIG's various members
completely controlled in DRM.
GB_TILE_CONFIG has the following controls:
- The number of GB (pixel) pipes enabled
- The size and style of tiling
- Subpixel precision (either 1/12 or 1/16)
Per airlied and glisse, userspace and kernel will now agree (always) on
a subpixel precision of 1/12, and tiling will always be kernel-controlled.
17 anni fa
Corbin Simpson
60665ae627
r300-gallium: Clean up more invariant state.
GA_ENHANCE is now the kernel's problem.
17 anni fa
Corbin Simpson
e5f5390f4b
r300-gallium: Update XXX.
Lops work fine as long as HW TCL is off. (I think I know why.)
17 anni fa
Corbin Simpson
fbcfcd9f5c
r300-gallium: Correct default MSPOS.
Per agd5f.
17 anni fa
Corbin Simpson
45435abcb9
r300-gallium: vs: Fix vert shader init.
Makes the last three commits suck much less. :3
17 anni fa
Corbin Simpson
8dae8f28e5
r300-gallium: r500-fs: Enable depth writes, kinda.
Should work, but doesn't. Hm.
17 anni fa
Corbin Simpson
7e97219ff8
r300-gallium: Comment out useless debugging code.
Those parts are nearly solid compared to the shaders.
17 anni fa
Corbin Simpson
764bf9501a
r300-gallium: vs: Dupe tokens, better debug, count spurious insts.
17 anni fa
Corbin Simpson
08ec7e0d32
r300-gallium: Die on bad texture formats.
Odds are good that we'll die later anyway, so we might as well do it before
we start dancing on random memory.
17 anni fa
Corbin Simpson
17b395638b
r300-gallium: Update floating-point params too.
Even though we *can* render 10,000-pixel-wide lines, let's not advertise it.
17 anni fa
Corbin Simpson
13f8e7bc9c
r300-gallium: Update screen caps.
Anisotropic filtering should work, and OQ is broken.
17 anni fa