summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* i965: Clean up constbuf handling by splitting reladdr/non-reladdr loads.Eric Anholt2010-01-181-46/+68
| | | | The codepaths in the function were almost entirely different.
* i965: Only set up the stack register if it's going to get used.Eric Anholt2010-01-182-6/+23
|
* i965: Fix loads of non-relative-addr constants after a reladdr load.Eric Anholt2010-01-181-1/+7
| | | | Fixes piglit vp-arl-constant-array-huge-overwritten.
* nv50: fix constant vtxattr methodsChristoph Bumiller2010-01-181-13/+13
| | | | This function was untested, sorry.
* nv50: make instanced drawing work with edge flagsChristoph Bumiller2010-01-181-45/+162
| | | | | And fix some obvious mistakes introduced in the previous instancing commit.
* nv50: cannot exit shaders on a control flow instructionChristoph Bumiller2010-01-181-1/+9
| | | | | | | Fixes lockup triggered by this ingenious shader: 1: CALL :3 2: END 3: BGNSUB ...
* nv50: fix nv50_program->immd memory leakMarcin Slusarz2010-01-181-0/+1
|
* tgsi: Fix behaviour of dimension index.Michal Krol2010-01-183-27/+29
| | | | The dimension index always addresses the second-dimension axis.
* tgsi: Allow TEMPORARY registers as indirect address into source operands.Michal Krol2010-01-183-8/+11
|
* tgsi: Add ureg_DECL_immediate_block_uint().Michal Krol2010-01-182-0/+34
| | | | | Allows declaring a contiguous block of immediates. Useful for relative indexing.
* glsl: remove __inline directiveBrian Paul2010-01-181-1/+1
| | | | It makes no difference with gcc -O3, for example.
* st/mesa: updated comments and whitespaceBrian Paul2010-01-181-1/+7
|
* st/mesa: fix memory leak in st_translate_mesa_programMarcin Slusarz2010-01-181-4/+5
| | | | Signed-off-by: Brian Paul <[email protected]>
* r600: fix some warningsAlex Deucher2010-01-182-6/+7
|
* r600: Update default state size to account for the new relocationJerome Glisse2010-01-181-1/+1
| | | | | | 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
* r6xx/r7xx: emit relocation for FRAG & TILE bufferJerome Glisse2010-01-181-3/+21
| | | | | | | | 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.
* r600: fix shadow_ambient shaderAndre Maasikas2010-01-181-1/+1
| | | | | | 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
* radeong: Don't allocate HW BOs for constantbufs.Corbin Simpson2010-01-184-12/+41
| | | | | | | We have broken 1000 FPS. Hell yes. Heavily inspired by Marek's patch, but using pipebuffer instead of a roll-your-own malloc.
* r300g: fix polygon offsetMarek Olšák2010-01-183-14/+54
| | | | | | | As per classic r300. Not sure why glean/polygonOffset still fails, but we do emit the same register values as in classic.
* r300g: fix vertex data swizzleMarek Olšák2010-01-181-1/+5
|
* r300g: do not align compressed textures to a tile sizeMarek Olšák2010-01-181-6/+14
|
* st/egl_g3d: Clean up for x11_drawable_get_depth.Chia-I Wu2010-01-182-2/+1
| | | | Fix a wrong comment and remove an unnecessary #include.
* dri: Add an MSAA-enabled factor to DRI configs.Corbin Simpson2010-01-181-2/+3
| | | | | | | | 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.
* dri: Properly calculate number of modes for MSAA.Corbin Simpson2010-01-181-3/+5
| | | | Split from the next patch for bisection purposes only.
* radeong: Check DRM version, and report stats.Corbin Simpson2010-01-181-1/+26
|
* radeong: Use vram_size instead of vram_visible.Corbin Simpson2010-01-181-4/+3
| | | | The kernel will decide on its own what to give us.
* progs/egl: Pass EGLDisplay to eglCopyBuffers.Chia-I Wu2010-01-181-1/+1
| | | | X Display was wrongly passed to eglCopyBuffers.
* st/egl_g3d: Add support for eglCopyBuffers.Chia-I Wu2010-01-181-0/+97
| | | | | | | 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.
* st/egl_g3d: Add is_pixmap_supported to native display interface.Chia-I Wu2010-01-185-0/+96
| | | | | The function may be used to support, for example, EGL_MATCH_NATIVE_PIXMAP and EGL_KHR_image_pixmap.
* st/egl_g3d: Update validate to use an attachment mask.Chia-I Wu2010-01-186-129/+116
| | | | | | | 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.
* st/vega: Fix window resizing with egl_g3d.Chia-I Wu2010-01-182-5/+8
| | | | | | | 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.
* st/vega: Call screen->update_buffer instead of winsys->update_buffer.Chia-I Wu2010-01-181-3/+2
| | | | This removes the last reference to winsys and is per mesa/st.
* tgsi: Add missing semantic name in text parser.Chia-I Wu2010-01-181-1/+2
| | | | This time, INSTANCEID is missing...
* cso: Add set_vertex_samplers functionJakob Bornecrantz2010-01-182-0/+36
|
* softpipe: Fix leak in vbuf draw moduleJakob Bornecrantz2010-01-181-1/+1
|
* nv50: implement instanced drawingChristoph Bumiller2010-01-177-39/+314
| | | | | Too bad we don't have hw array divisors or a method for setting startInstance.
* softpipe: Move st/python's malloc winsys to softpipeJakob Bornecrantz2010-01-175-221/+260
| | | | | | | 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.
* st/xlib: Make glXGetProcAddressARB visibleJakob Bornecrantz2010-01-171-1/+1
|
* gallium: Support swig "compiler" in p_compiler.hJakob Bornecrantz2010-01-171-0/+7
|
* i965g: Link against drm_intel instead of drm_radeonJakob Bornecrantz2010-01-171-1/+1
|
* r300g: Check for bogus texture targets.Corbin Simpson2010-01-171-0/+6
|
* r300g: fix the rasterization of secondary colorMarek Olšák2010-01-172-4/+8
| | | | | When the secondary color is used, the primary color must always be rasterized regardless of whether it is used or not.
* r300g: fix vertex colors with 8 bits per channelMarek Olšák2010-01-171-5/+17
| | | | The piglit BGRA tests pass now.
* r300g: simplify is_format_supportedMarek Olšák2010-01-171-46/+11
|
* r300g: output texture debug messages if only RADEON_DEBUG=tex is setMarek Olšák2010-01-177-26/+36
|
* r300g: move debug flags into r300_screenMarek Olšák2010-01-175-35/+58
|
* r300g: disable the MIP filter for NPOT texturesMarek Olšák2010-01-171-6/+12
| | | | Safety first.
* r300g: fix the CS size when emitting invariant stateMarek Olšák2010-01-171-1/+2
|
* radeon_compiler: include main/compiler.h for compiler portability macrosAlan Coopersmith2010-01-171-0/+2
| | | | | Signed-off-by: Alan Coopersmith <[email protected]> Reviewed-by: Corbin Simpson <[email protected]>
* r300g: Stop using indices.Corbin Simpson2010-01-161-37/+17
| | | | Sorry, it was a good game, but it just doesn't work.