Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Sun compilers now support some gcc __attribute__ values | Alan Coopersmith | 2010-01-19 | 9 | -15/+18 |
| | | | | | | | | | | | Sun cc 5.9 and later (__SUNPRO_C >= 0x590) support __attribute__ calls for aligned, always_inline, noinline, pure, const, and malloc. This commit includes updates to files that were regenerated by gl_XML.py after adding the __SUNPRO_C checks to it Signed-off-by: Alan Coopersmith <[email protected]> Signed-off-by: Brian Paul <[email protected]> | ||||
* | softpipe: remove redundant assignments | Brian Paul | 2010-01-19 | 1 | -5/+0 |
| | | | | We initialized width/height/depth from pt->width0/height0/depth0 above. | ||||
* | r100/r200/r600: fix typo in 2b1d5ea4f0250a6a7fa312ced0a7af85e909381b | Alex Deucher | 2010-01-19 | 3 | -3/+3 |
| | |||||
* | r100/r200/r600: check if blitting for given format is supported earlier | Alex Deucher | 2010-01-19 | 3 | -4/+105 |
| | | | | based on Maciej's r300 patch. | ||||
* | r100/r200: add blit support for ARGB4444 | Alex Deucher | 2010-01-19 | 2 | -0/+12 |
| | |||||
* | r60: Add relocs for CB_TILE/FRAG | Alex Deucher | 2010-01-18 | 1 | -5/+24 |
| | | | | as per 46dc6fd3ed5ef96cda53641a97bc68c3bc104a9f | ||||
* | docs: Clarify PIPE_TEXTURE_USAGE_DYNAMIC. | Corbin Simpson | 2010-01-18 | 1 | -1/+5 |
| | |||||
* | docs: Use proper XOR symbol. | Corbin Simpson | 2010-01-18 | 1 | -4/+4 |
| | |||||
* | r100: add blit support | Alex Deucher | 2010-01-18 | 7 | -2/+623 |
| | | | | Only enabled with KMS. | ||||
* | r200: add blit support | Alex Deucher | 2010-01-18 | 6 | -0/+604 |
| | | | | Only enabled with KMS. | ||||
* | docs: Spacing in TGSI formulae. | Corbin Simpson | 2010-01-18 | 1 | -0/+21 |
| | | | | Some of those still look atrocious. :T | ||||
* | docs: Grammar and refs in Rasterizer. | Corbin Simpson | 2010-01-18 | 1 | -4/+3 |
| | |||||
* | docs: Cleanup Rasterizer a bit. | Corbin Simpson | 2010-01-18 | 2 | -45/+49 |
| | | | | I'm getting better at this, I think. | ||||
* | docs: Fix terms and refs. | Corbin Simpson | 2010-01-18 | 3 | -3/+5 |
| | | | | I fail at Sphinx-style ReST. | ||||
* | docs: Slowly keep fleshing out more info. | Corbin Simpson | 2010-01-18 | 2 | -9/+21 |
| | |||||
* | docs: PIPE_TEXTURE_USAGE info. | Corbin Simpson | 2010-01-18 | 1 | -0/+24 |
| | | | | From IRC with Jakob. | ||||
* | i965: Clean up constbuf handling by splitting reladdr/non-reladdr loads. | Eric Anholt | 2010-01-18 | 1 | -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 Anholt | 2010-01-18 | 2 | -6/+23 |
| | |||||
* | i965: Fix loads of non-relative-addr constants after a reladdr load. | Eric Anholt | 2010-01-18 | 1 | -1/+7 |
| | | | | Fixes piglit vp-arl-constant-array-huge-overwritten. | ||||
* | nv50: fix constant vtxattr methods | Christoph Bumiller | 2010-01-18 | 1 | -13/+13 |
| | | | | This function was untested, sorry. | ||||
* | nv50: make instanced drawing work with edge flags | Christoph Bumiller | 2010-01-18 | 1 | -45/+162 |
| | | | | | And fix some obvious mistakes introduced in the previous instancing commit. | ||||
* | nv50: cannot exit shaders on a control flow instruction | Christoph Bumiller | 2010-01-18 | 1 | -1/+9 |
| | | | | | | | Fixes lockup triggered by this ingenious shader: 1: CALL :3 2: END 3: BGNSUB ... | ||||
* | nv50: fix nv50_program->immd memory leak | Marcin Slusarz | 2010-01-18 | 1 | -0/+1 |
| | |||||
* | tgsi: Fix behaviour of dimension index. | Michal Krol | 2010-01-18 | 3 | -27/+29 |
| | | | | The dimension index always addresses the second-dimension axis. | ||||
* | tgsi: Allow TEMPORARY registers as indirect address into source operands. | Michal Krol | 2010-01-18 | 3 | -8/+11 |
| | |||||
* | tgsi: Add ureg_DECL_immediate_block_uint(). | Michal Krol | 2010-01-18 | 2 | -0/+34 |
| | | | | | Allows declaring a contiguous block of immediates. Useful for relative indexing. | ||||
* | glsl: remove __inline directive | Brian Paul | 2010-01-18 | 1 | -1/+1 |
| | | | | It makes no difference with gcc -O3, for example. | ||||
* | st/mesa: updated comments and whitespace | Brian Paul | 2010-01-18 | 1 | -1/+7 |
| | |||||
* | st/mesa: fix memory leak in st_translate_mesa_program | Marcin Slusarz | 2010-01-18 | 1 | -4/+5 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | r600: fix some warnings | Alex Deucher | 2010-01-18 | 2 | -6/+7 |
| | |||||
* | r600: Update default state size to account for the new relocation | Jerome Glisse | 2010-01-18 | 1 | -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 buffer | Jerome Glisse | 2010-01-18 | 1 | -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 shader | Andre Maasikas | 2010-01-18 | 1 | -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 Simpson | 2010-01-18 | 4 | -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 offset | Marek Olšák | 2010-01-18 | 3 | -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 swizzle | Marek Olšák | 2010-01-18 | 1 | -1/+5 |
| | |||||
* | r300g: do not align compressed textures to a tile size | Marek Olšák | 2010-01-18 | 1 | -6/+14 |
| | |||||
* | st/egl_g3d: Clean up for x11_drawable_get_depth. | Chia-I Wu | 2010-01-18 | 2 | -2/+1 |
| | | | | Fix a wrong comment and remove an unnecessary #include. | ||||
* | dri: Add an MSAA-enabled factor to DRI configs. | Corbin Simpson | 2010-01-18 | 1 | -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 Simpson | 2010-01-18 | 1 | -3/+5 |
| | | | | Split from the next patch for bisection purposes only. | ||||
* | radeong: Check DRM version, and report stats. | Corbin Simpson | 2010-01-18 | 1 | -1/+26 |
| | |||||
* | radeong: Use vram_size instead of vram_visible. | Corbin Simpson | 2010-01-18 | 1 | -4/+3 |
| | | | | The kernel will decide on its own what to give us. | ||||
* | st/egl_g3d: Add support for eglCopyBuffers. | Chia-I Wu | 2010-01-18 | 1 | -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 Wu | 2010-01-18 | 5 | -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 Wu | 2010-01-18 | 6 | -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 Wu | 2010-01-18 | 2 | -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 Wu | 2010-01-18 | 1 | -3/+2 |
| | | | | This removes the last reference to winsys and is per mesa/st. | ||||
* | tgsi: Add missing semantic name in text parser. | Chia-I Wu | 2010-01-18 | 1 | -1/+2 |
| | | | | This time, INSTANCEID is missing... | ||||
* | cso: Add set_vertex_samplers function | Jakob Bornecrantz | 2010-01-18 | 2 | -0/+36 |
| | |||||
* | softpipe: Fix leak in vbuf draw module | Jakob Bornecrantz | 2010-01-18 | 1 | -1/+1 |
| |