Keith Whitwell
cd73360e48
include/st: new file swrast_screen_create.h
преди 15 години
Keith Whitwell
258f433fff
util: add util_framebuffer_min_size
преди 15 години
Keith Whitwell
ac7c8f7dd3
util: allocate larger tmp_row in util_format_translate
The tmp_row storage allocation took into account the format's y block
size by allocating y_step rows of data. However, the x block size was
not being taken into account when deciding how wide those rows need to
be.
Now make sure that tmp_row is at least x_step by y_step in size.
преди 15 години
Keith Whitwell
69faf5b48f
tgsi: reject interpolation and semantics on vs inputs
преди 15 години
Keith Whitwell
81cb6ac042
regress: remove interpolation and semantic info from vs inputs
преди 15 години
Keith Whitwell
ebdb43fd98
test/graw: add vp-test
преди 15 години
Keith Whitwell
78e6e081a1
tests/graw: add fp-test
преди 15 години
Kristian Høgsberg
0c2bac0718
.gitignore: Ignore emacs .dir-locals.el files
преди 15 години
Kristian Høgsberg
56c3cce2a1
Remove last bits of progs/ infrastructure
преди 15 години
Marek Olšák
b4483823d9
r300g: fix 24-bit depth texturing
This is a secret texture format, do not tell anybody.
And it looks like we can read stencil in the shader too.
преди 15 години
Jerome Glisse
c6131879eb
r600g: add shader literal constant support
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
преди 15 години
Marek Olšák
aeffba454f
st/mesa: advertise GL_ARB_fragment_program_shadow
There is nothing driver-specific about this one.
I've also tested it just to be sure.
преди 15 години
Marek Olšák
eb2a1521cf
r300g: workaround index bias on chipsets that do not support it
преди 15 години
Marek Olšák
31a74a6df7
st/mesa: trivially enable GL_ATI_texture_env_combine3
This extension is implemented in the texenv program.
Gallium drivers pass patched glean/texCombine.
(I am going to send the patch soon)
Catalyst9.3 advertises this extension too so I don't see a reason we shouldn't.
преди 15 години
Marek Olšák
a7fa91b658
mesa: add ARB_texture_swizzle as alias of EXT_texture_swizzle, update relnotes
The specifications are identical.
преди 15 години
Jakob Bornecrantz
c0b66f471c
i915g: Use template Xorg makefile
преди 15 години
Jakob Bornecrantz
94d5239511
gallium: Use correct defines in Xorg template makefile
преди 15 години
Jakob Bornecrantz
30456f775c
gallium: Add winsys to include path to Xorg template makefile
преди 15 години
Joakim Sindholt
fb08e03ae1
gallium: always build drivers/sw
преди 15 години
Joakim Sindholt
4a329c67bc
r300compiler: fix scons build
преди 15 години
Jerome Glisse
0db388eedd
r600g: split instruction into scalar
Split instruction into scalar in core compiler this simplify
the way we translate the instruction in latter stage.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
преди 15 години
Roland Scheidegger
7643f45b10
Revert "llvmpipe: handle PIPE_CAP_TEXTURE_SWIZZLE query"
This reverts commit acb20e7208
.
Oops should check commits after rebase...
преди 15 години
Roland Scheidegger
b6cd0712e9
i915g: fix bug in ds clear logic (still disabled)
преди 15 години
Roland Scheidegger
c00065e5c2
st/mesa: fix bug in depthstencil optimizing clear logic
преди 15 години
Roland Scheidegger
acb20e7208
llvmpipe: handle PIPE_CAP_TEXTURE_SWIZZLE query
asserts on unknown caps
преди 15 години
José Fonseca
9881b5c2df
llvmpipe: Expose PIPE_CAP_TEXTURE_SWIZZLE.
преди 15 години
Chris Wilson
6d741627b0
i915: Only emit a MI_FLUSH when the drawing rectangle offset changes.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
преди 15 години
Chris Wilson
add3260157
i915: Fix off-by-one for drawing rectangle.
The drawing rectangle is given in *inclusive* pixel values, so the range
is only [0,2047]. Hence when rendering to a 2048 wide target, such as an
extended desktop, we would issue an illegal instruction zeroing the draw
area.
Fixes:
Bug 27408: Primary and Secondary display blanks in extended
desktop mode with Compiz enabled
https://bugs.freedesktop.org/show_bug.cgi?id=27408
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
преди 15 години
Chris Wilson
ff74c2ced5
i915: Inhibit render cache flush when changing drawing rectangle offset.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
преди 15 години
Dave Airlie
42ebe3dfd9
mesa/st: add support for EXT_texture_swizzle.
This passes on r300g, the only bit I'm not really sure about is the handling
of the sampler_view in st_atom_texture.c, I unreference it there if the swizzle
value changes and I also have to create a new set of functions to create a new
one since the u_sampler.c ones don't handle swizzle so much.
adds r300g + softpipe enables, I think other drivers could pass easily enough.
Signed-off-by: Dave Airlie <airlied@redhat.com>
преди 15 години
Marek Olšák
f855e16afa
r300/compiler: implement SIN+COS+SCS for vertex shaders
преди 15 години
Marek Olšák
722db9fa77
r300/compiler: implement SNE unwound for r3xx VS, natively for r5xx VS
преди 15 години
Marek Olšák
df36bc8dad
r300/compiler: implement SEQ unwound for r3xx VS, natively for r5xx VS
Fixes piglit/glsl-vs-vec4-indexing-4.
преди 15 години
Marek Olšák
e629de94b5
r300/compiler: implement SFL for vertex shaders
And sort the "case" statements alphabetically.
преди 15 години
Brian Paul
89cb314f26
docs: note that the Mesa demos are in a new repo
преди 15 години
Brian Paul
7ba1a879ef
docs: links to the Mesa demos git repo
преди 15 години
Brian Paul
3d07060ae3
mesa: remove PROGRAM_DIRS from config files
преди 15 години
Brian Paul
0a401b5d2f
mesa: remove old references to demo files and progs subdir
преди 15 години
Brian Paul
74bea8d21f
progs: remove rbug subdir
преди 15 години
Brian Paul
06e911a757
demos: remove fbdev subdir
преди 15 години
Brian Paul
db3b92b42f
progs: remove beos subdir
преди 15 години
Brian Paul
700717175c
progs: remove tools subdir
преди 15 години
Brian Paul
ca10ab6da8
progs: remove slang subdir
преди 15 години
Brian Paul
8585c01265
vbo: misc clean-ups
преди 15 години
Vinson Lee
f5b9ad9a7d
i915g: Rename winsys c file.
This was missed in commit e7f0f6bb72
.
Fixes i915g SCons build.
преди 15 години
Brian Paul
4f067ada47
llvmpipe: new -s option to run single test
Put specific test code in the test_single() function and pass -s to
execute that code.
преди 15 години
Eric Anholt
f0ff214bee
i915: Don't use XRGB8888 on 830 and 845.
The support for XRGB8888 appeared in the 855 and 865, and this format
is reserved on 830/845. This should fix a regression from
b4a6169412
that caused hangs in etracer
on 845s.
Bug #26557 .
преди 15 години
Eric Anholt
b80a728f8a
i915: Clamp minimum lod to maximum texture level too.
Otherwise, we'd run into minlod > maxlod, and the sampler would give
us the undefined we asked for.
Bug #24846 . Fixes OGLC texlod.c.
преди 15 години
Eric Anholt
18a6e5ee73
intel: Fix intel_compressed_num_bytes for FXT1 after I broke it.
Fixes piglit fxt1-teximage since
7554b83a21bd62b20df5a7327b69f08108ac9ab6, and also OGLC tests that hit
FXT1 with a million other things.
Bug #28184 .
преди 15 години
Kristian Høgsberg
a663a63718
glsl: Recject rect samplers when GL_ARB_texture_rectangle is disabled
преди 15 години