summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-20ARB prog parser: Revert part of previous change to constant parsingasm-shader-rework-1Ian Romanick2-16/+16
The commit "ARP prog parser: Implement the spec, not what makes sense" broke the parsing of scalar constants. This commit reverts that part of that commit. Now vp_swizzle.c passes.
2009-08-18Merge branch 'master' into asm-shader-rework-1Ian Romanick616-20929/+31483
Conflicts: src/mesa/shader/arbprogparse.c
2009-08-18ARB prog parser: Delete the old parserIan Romanick3-8035/+0
2009-08-18ARB prog: Revert some changes to debug outputIan Romanick1-3/+1
2009-08-18r300: fix big endian buildDave Airlie1-0/+1
2009-08-17gallium: memset() tgsi_exec_machine to all zeros in tgsi_exec_machine_create()Brian Paul1-8/+2
This fixes invalid values for CondStackTop, LoopStackTop, etc.
2009-08-17demos/glsl: remove glutInitWindowPosition() callsBrian Paul18-18/+0
2009-08-17r600: fix counting error after the last commitAlex Deucher1-1/+1
2009-08-17r600: make sure the number of indices is validAlex Deucher1-1/+54
make sure the number of indices is valid for the requested prim type. glxgears sends invalid quad strips with only 2 indices for example.
2009-08-17radeon: remove RADEON_DEBUG_BO stuffAlex Deucher10-237/+16
This stuff was a vestige of the r600 bring up and now mostly serves to periodically break the build.
2009-08-17nv50: remove a few cases of directly casting struct pipe_contextMaarten Maathuis2-3/+3
2009-08-17nv50: borrow some flushing code from the ddxMaarten Maathuis1-3/+11
- This fixes neverball corruption. - I'm unsure about what we're actually flushing here.
2009-08-17gallium: Make PIPE_TRANSFER_{READ,WRITE,READ_WRITE} bitmask friendly.Maarten Maathuis1-3/+3
2009-08-17nv50: whitespace fixes and deobfuscationMaarten Maathuis9-69/+85
2009-08-17cell: fix incorrect pipe_transfer testsBrian Paul1-2/+4
The value is an enum, not a bitmask.
2009-08-17r300: split vbo rendering with big drawarray caseJerome Glisse1-4/+15
Split vbo rendering when the number of elements requested by drawarrays is bigger than 65536.
2009-08-17nv50: fix stencil stateChristoph Bumiller1-6/+6
It's the front stencil methods that have contiguous offsets, not the back ones. Unfortunately the names in the header still have FRONT/BACK reversed, so I'm using hex values until it gets updated.
2009-08-17radeon: turn off bo debuggingDave Airlie1-1/+1
2009-08-16r300: disable ZTOP only when occlusion queries are usedMaciej Cencora1-1/+3
2009-08-16Merge branch 'oq'Maciej Cencora14-11/+361
2009-08-15mesa: Add 2 new demos to .gitignore.Pauli Nieminen1-0/+1
2009-08-15nv50: avoid a NULL-ptr dereference when the pipe context changesMaarten Maathuis1-1/+26
- We cannot assume all state objects are present when the pipe context changes.
2009-08-15nv50: align registers used with TEX to 4Christoph Bumiller1-1/+2
The TEX instruction is passed the first index of a contiguous range of 4 TEMP registers that contain coordinates / LOD and, after execution, the texel values. It seems the first index is required to be a multiple of 4 on some (older ?) cards.
2009-08-15r300: enable ARB_occlusion_queryMaciej Cencora1-0/+8
Supported only on HW with TCL block and with proper radeon drm. Required minimum radeon drm version is 1.30 or KMS.
2009-08-15radeon: add flag for drm OQ supportMaciej Cencora2-5/+8
2009-08-15r300: temporary occlusion query hackMaciej Cencora1-1/+1
2009-08-15r300: clear not_flushed OQ list after flushMaciej Cencora3-4/+15
2009-08-15r300/oq: add some debugging infoMaciej Cencora1-0/+21
2009-08-15r300: add occlusion queries supportMaciej Cencora8-1/+308
TODO: - use proper interface for checking if bo is idle when it's available - disable ZTOP only when needed - make it work under KMS
2009-08-15radeon space: realign with drm space check codeDave Airlie1-1/+1
2009-08-15r300: fixup space checks since VBO codeDave Airlie1-16/+9
Hopefully this gets the ordering correct so the space checks don't fail.
2009-08-15r300: add just in case warn I don't think this can actually happenDave Airlie1-0/+5
2009-08-15radeon: enable vertex splitting for IBsDave Airlie2-13/+47
Based on Maciej's code, just fixed up the alignments for INDX_BUFFER ut2004 runs AS-Convoy
2009-08-15i965: disable bounds checking on arrays with stride 0Roland Scheidegger1-1/+1
if stride is 0 we cannot use count as max index for bounds checking, since the hardware will simply return 0 as data for indices failing bounds check. If stride is 0 any index should be valid hence simply disable bounds checking in this case. This fixes bugs introduced with e643bc5fc7afb563028f5a089ca5e38172af41a8.
2009-08-14i965: Add support for GL_ARB_seamless_cube_mapIan Romanick2-17/+28
2009-08-14demos/cubemap: Add support for GL_ARB_seamless_cube_mapIan Romanick1-16/+38
2009-08-14Regenerate files for GL_ARB_seamless_cube_mapIan Romanick2-328/+342
2009-08-14Infrastructure for GL_ARB_seamless_cube_mapIan Romanick7-0/+34
2009-08-14Regenerate files for GL_APPLE_flush_buffer_rangeIan Romanick9-3395/+3675
2009-08-15Merge branch 'vbo_clean'Maciej Cencora13-334/+621
Conflicts: src/mesa/drivers/dri/r300/r300_draw.c
2009-08-15r300: mark VBO buffer objects as persistentMaciej Cencora1-3/+6
2009-08-14r300: unmap buffer objects after usageMaciej Cencora1-1/+11
2009-08-14mesa: append uniform values to the log file the first time we use a shaderBrian Paul2-0/+28
This info is essential to using/debugging a shader outside of its normal application.
2009-08-14mesa: also pass the GPU program to _mesa_append_uniforms_to_file()Brian Paul2-3/+5
We want the post-link program at this points.
2009-08-14vbo: call _mesa_valid_to_render()Brian Paul1-4/+2
2009-08-14Merge branch 'mesa_7_5_branch'Brian Paul7-150/+198
2009-08-14mesa: new _mesa_append_uniforms_to_file() debug/logging functionBrian Paul2-0/+34
2009-08-14mesa: call _mesa_valid_to_render()Brian Paul1-4/+2
2009-08-14vbo: call _mesa_valid_to_render()Brian Paul1-20/+1
2009-08-14mesa: new _mesa_valid_to_render() functionBrian Paul2-1/+47
Tests if the current shader/program is valid and that the framebuffer is complete. To be called by glBegin, glDrawArrays, etc.