Commit Graph

29894 Commits

Author SHA1 Message Date
Corbin Simpson f90733c116 docs: Use proper XOR symbol. 2010-01-18 18:06:55 -08:00
Alex Deucher daccc962a1 r100: add blit support
Only enabled with KMS.
2010-01-18 20:56:58 -05:00
Alex Deucher 1ced546577 r200: add blit support
Only enabled with KMS.
2010-01-18 20:56:58 -05:00
Corbin Simpson 047719182f docs: Spacing in TGSI formulae.
Some of those still look atrocious. :T
2010-01-18 17:31:56 -08:00
Corbin Simpson 28fd246634 docs: Grammar and refs in Rasterizer. 2010-01-18 17:17:09 -08:00
Corbin Simpson 2598f00078 docs: Cleanup Rasterizer a bit.
I'm getting better at this, I think.
2010-01-18 17:12:13 -08:00
Corbin Simpson 2b4ad02321 docs: Fix terms and refs.
I fail at Sphinx-style ReST.
2010-01-18 16:40:39 -08:00
Corbin Simpson 4f52dfeda2 docs: Slowly keep fleshing out more info. 2010-01-18 15:30:28 -08:00
Corbin Simpson 9811ebf61f docs: PIPE_TEXTURE_USAGE info.
From IRC with Jakob.
2010-01-18 15:30:28 -08:00
Eric Anholt 0714474ae2 i965: Clean up constbuf handling by splitting reladdr/non-reladdr loads.
The codepaths in the function were almost entirely different.
2010-01-18 13:52:47 -08:00
Eric Anholt c653f5f387 i965: Only set up the stack register if it's going to get used. 2010-01-18 13:52:47 -08:00
Eric Anholt d5b964234c i965: Fix loads of non-relative-addr constants after a reladdr load.
Fixes piglit vp-arl-constant-array-huge-overwritten.
2010-01-18 13:52:47 -08:00
Christoph Bumiller c6559b7e01 nv50: fix constant vtxattr methods
This function was untested, sorry.
2010-01-18 21:40:30 +01:00
Christoph Bumiller 0d6e3dd84d nv50: make instanced drawing work with edge flags
And fix some obvious mistakes introduced in the
previous instancing commit.
2010-01-18 19:53:29 +01:00
Christoph Bumiller e74db4f20f nv50: cannot exit shaders on a control flow instruction
Fixes lockup triggered by this ingenious shader:
   1: CALL :3
   2: END
   3: BGNSUB ...
2010-01-18 19:53:29 +01:00
Marcin Slusarz 9fb9c9f9ca nv50: fix nv50_program->immd memory leak 2010-01-18 19:53:29 +01:00
Michal Krol 7472cd0f1f tgsi: Fix behaviour of dimension index.
The dimension index always addresses the second-dimension axis.
2010-01-18 19:13:49 +01:00
Michal Krol 463351ea6c tgsi: Allow TEMPORARY registers as indirect address into source operands. 2010-01-18 19:13:45 +01:00
Michal Krol 4698a865e0 tgsi: Add ureg_DECL_immediate_block_uint().
Allows declaring a contiguous block of immediates. Useful for
relative indexing.
2010-01-18 19:13:42 +01:00
Brian Paul 4c041fac96 glsl: remove __inline directive
It makes no difference with gcc -O3, for example.
2010-01-18 11:06:57 -07:00
Brian Paul 0766780a98 st/mesa: updated comments and whitespace 2010-01-18 10:43:33 -07:00
Marcin Slusarz e5347ca94d st/mesa: fix memory leak in st_translate_mesa_program
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-18 10:39:27 -07:00
Alex Deucher 3310fe0e91 r600: fix some warnings 2010-01-18 11:21:19 -05:00
Jerome Glisse 1560183536 r600: Update default state size to account for the new relocation
the new relocation for CB_COLOR0_FRAG & CB_COLOR0_TILE add 4
dwords to the default command stream. Increase the prediction
default size to take this into account
2010-01-18 15:32:24 +01:00
Jerome Glisse 46dc6fd3ed r6xx/r7xx: emit relocation for FRAG & TILE buffer
FRAG & TILE buffer are unused but still they need
to be associated with a valid relocation so that
userspace can't try to abuse them to overwritte
GART and then try to write anywhere in system
memory.
2010-01-18 12:14:07 +01:00
Andre Maasikas 7b82f0f67e r600: fix shadow_ambient shader
rtype enums are different, DST_REG_OUTPUT got SRC_REG_CONSTANT in some
shaders and produced invalid output/hang
as TEX output is temp register always set out src to SRC_REG_TEMPORARY
2010-01-18 12:49:06 +02:00
Corbin Simpson 0857f38c39 radeong: Don't allocate HW BOs for constantbufs.
We have broken 1000 FPS. Hell yes.

Heavily inspired by Marek's patch, but using pipebuffer instead of
a roll-your-own malloc.
2010-01-18 02:35:08 -08:00
Marek Olšák 673ae6266e r300g: fix polygon offset
As per classic r300.

Not sure why glean/polygonOffset still fails, but we do emit the same register
values as in classic.
2010-01-18 02:35:08 -08:00
Marek Olšák d3d41cbc35 r300g: fix vertex data swizzle 2010-01-18 02:35:08 -08:00
Marek Olšák cd553ec8be r300g: do not align compressed textures to a tile size 2010-01-18 02:35:08 -08:00
Chia-I Wu 064eb0a095 st/egl_g3d: Clean up for x11_drawable_get_depth.
Fix a wrong comment and remove an unnecessary #include.
2010-01-18 17:15:57 +08:00
Corbin Simpson a16d353b5e dri: Add an MSAA-enabled factor to DRI configs.
4 samples should be enough for GLUT to be satisfied, and I think most
of the HW that does any MSAA, can do it.

Note that any pipe that doesn't multisample can just ignore the
corresponding flag in pipe_rasterizer_state.
2010-01-18 01:13:33 -08:00
Corbin Simpson c273ab007d dri: Properly calculate number of modes for MSAA.
Split from the next patch for bisection purposes only.
2010-01-18 01:13:33 -08:00
Corbin Simpson 58a7d8db98 radeong: Check DRM version, and report stats. 2010-01-18 01:13:33 -08:00
Corbin Simpson 11a2bbc3e9 radeong: Use vram_size instead of vram_visible.
The kernel will decide on its own what to give us.
2010-01-18 01:13:33 -08:00
Chia-I Wu 8311a49b2d progs/egl: Pass EGLDisplay to eglCopyBuffers.
X Display was wrongly passed to eglCopyBuffers.
2010-01-18 17:07:19 +08:00
Chia-I Wu ede755af4c st/egl_g3d: Add support for eglCopyBuffers.
It uses a slow path to copy the render buffer of the surface to the
target pixmap.  We might be able to create a pipe context for
EGLDisplay's use and use a blitter context for the purpose.  It is left
for a future consideration.
2010-01-18 17:07:06 +08:00
Chia-I Wu f8244e2946 st/egl_g3d: Add is_pixmap_supported to native display interface.
The function may be used to support, for example,
EGL_MATCH_NATIVE_PIXMAP and EGL_KHR_image_pixmap.
2010-01-18 17:04:02 +08:00
Chia-I Wu fda897ad71 st/egl_g3d: Update validate to use an attachment mask.
A validate call asks for the buffers of a native surface.  Using a mask
to represent the interested buffers is more intuitive.  It also rules
out corner cases such as a single attachment being listed multiple
times.
2010-01-18 14:28:13 +08:00
Chia-I Wu 1ed6311945 st/vega: Fix window resizing with egl_g3d.
egl_g3d calls st_set_framebuffer_surface on window resize.  It updates
the renderbuffer's geometry and makes st_resize_framebuffer a no-op.
This commit improves the no-op check a little bit.  It can do better
after gallium-fb-dimensions is merged.
2010-01-18 12:07:57 +08:00
Chia-I Wu ef517c9385 st/vega: Call screen->update_buffer instead of winsys->update_buffer.
This removes the last reference to winsys and is per mesa/st.
2010-01-18 11:57:30 +08:00
Chia-I Wu 3b71386426 tgsi: Add missing semantic name in text parser.
This time, INSTANCEID is missing...
2010-01-18 11:57:30 +08:00
Jakob Bornecrantz 90cdf0d67c cso: Add set_vertex_samplers function 2010-01-18 00:12:42 +00:00
Jakob Bornecrantz 2a60302e51 softpipe: Fix leak in vbuf draw module 2010-01-18 00:12:42 +00:00
Christoph Bumiller 1448d2f252 nv50: implement instanced drawing
Too bad we don't have hw array divisors or a method for
setting startInstance.
2010-01-17 17:48:01 +01:00
Jakob Bornecrantz a4bbabf494 softpipe: Move st/python's malloc winsys to softpipe
Users of softpipe can still specify thier own winsys
but now there is a default one also that uses malloc.
This allows the malloc winsys to be shared with other
users of softpipe.
2010-01-17 16:44:39 +00:00
Jakob Bornecrantz 0e4e2c57d1 st/xlib: Make glXGetProcAddressARB visible 2010-01-17 16:44:39 +00:00
Jakob Bornecrantz 876a6b4865 gallium: Support swig "compiler" in p_compiler.h 2010-01-17 16:44:39 +00:00
Jakob Bornecrantz 31c626811a i965g: Link against drm_intel instead of drm_radeon 2010-01-17 16:44:25 +00:00
Corbin Simpson 945cea01d9 r300g: Check for bogus texture targets. 2010-01-17 01:13:45 -08:00