summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Bring in new mesa sub-statetracker.José Fonseca2008-11-2126-0/+4453
| | | | Some code cleanup is still in order.
* CELL: improve twiddling/untwiddling error textRobert Ellison2008-11-201-2/+2
| | | | | | As suggested by Brian Paul: in the case of a twiddling error, instead of reporting the bad format number (which is all but unusable), report the more useful enum name.
* Merge commit 'origin/master' into gallium-0.2Alan Hourihane2008-11-2013-355/+687
|\
| * mesa: fix shadow sampling unit issue.Xiang, Haihao2008-11-201-1/+6
| | | | | | | | | | texture comparison logic is bypassed if the currently bound texture is not a depth/depth_stencil texture.
| * intel: fix i830 comment + backwards VB offsets.airlied2008-11-202-3/+3
| | | | | | | | According to Keith the docs have these offsets the other way around
| * intel: fix i8xx vbo enable bitairlied2008-11-201-1/+1
| |
| * intel: add lots of i830 engine to intel_decode debugairlied2008-11-201-20/+110
| |
| * mesa: minor comment reformatttingBrian Paul2008-11-191-16/+13
| |
| * mesa: glsl compiler debug codeBrian Paul2008-11-191-141/+151
| | | | | | | | RETURN0 macro reports file/line before returning zero.
| * mesa: rework GLSL array code generationBrian Paul2008-11-195-160/+371
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We now express arrays in terms of indirect addressing. For example: dst = a[i]; becomes: MOV dst, TEMP[1 + TEMP[2].y]; At instruction-emit time indirect addressing is converted into ARL/ ADDR-relative form: ARL ADDR.x, TEMP[2].y; MOV dst, TEMP[1 + ADDR.x]; This fixes a number of array-related issues. Arrays of arrays and complex array/struct nesting works now. There may be some regressions, but more work is coming.
| * mesa: don't realloc instruction buffer so oftenBrian Paul2008-11-191-13/+22
| |
| * mesa: updated commentBrian Paul2008-11-191-0/+2
| |
| * mesa: clamp luminance if needed.Xiang, Haihao2008-11-192-2/+10
| | | | | | | | | | This fixes glReadPixels(GL_LUMINANCE, GL_FLOAT)/glGetTexImage(GL_LUMINANCE, GL_FLOAT) issue on fixed-point color buffers.
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-11-197-98/+333
|\ \
| * | python/retrace: Dump constants.José Fonseca2008-11-201-2/+15
| | |
| * | python: Allow to read from buffers.José Fonseca2008-11-202-1/+31
| | |
| * | python/retrace: Fix formatting of shaders.José Fonseca2008-11-191-5/+11
| | |
| * | python/retrace: Ignore irrelevant calls.José Fonseca2008-11-191-0/+10
| | |
| * | python/retrace: Highlight the trace dump to help to visualize.José Fonseca2008-11-194-35/+185
| | |
| * | python/retrace: Use the usual BSD-style license.José Fonseca2008-11-193-54/+78
| | |
| * | gallium: Use costum log2 for all windows builds.José Fonseca2008-11-171-6/+8
| | |
| * | gallium: State when there are no memory leaks detected.José Fonseca2008-11-171-0/+6
| | |
| * | gallium: Make handle_table reentrant.José Fonseca2008-11-171-8/+26
| | | | | | | | | | | | | | | | | | | | | Ensure that the object has consistent state also when calling the destroy callback. Namely, ensure the object passed to the callback is removed from the table prior to calling the destroy callback to avoid a infinite loop or double free.
* | | add SRGB formatsAlan Hourihane2008-11-191-0/+26
| | |
* | | tgsi: Return 0.0 for negative constant register indices.Michal Krol2008-11-181-8/+16
| | |
* | | tgsi: Keep address register as a floating point.Michal Krol2008-11-181-20/+9
| | |
* | | scons: Support MinGW32 cross compiler.José Fonseca2008-11-181-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | To build an alternative opengl32.dll with Gallium's software-rasterizer from a debian-based distribution run: sudo apt-get install mingw32 scons platform=windows toolchain=crossmingw machine=x86 winsys=gdi dri=no
* | | gallium: State when there are no memory leaks detected.José Fonseca2008-11-171-0/+6
| | |
* | | gallium: Make handle_table reentrant.José Fonseca2008-11-171-8/+26
| | | | | | | | | | | | | | | | | | | | | Ensure that the object has consistent state also when calling the destroy callback. Namely, ensure the object passed to the callback is removed from the table prior to calling the destroy callback to avoid a infinite loop or double free.
* | | gallivm: fix some small stuff.Stephane Marchesin2008-11-162-3/+3
| | |
* | | i915: Silence warningsJakob Bornecrantz2008-11-163-4/+8
| | |
* | | Merge commit 'origin/master' into gallium-0.2Keith Whitwell2008-11-1520-500/+660
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: src/mesa/shader/prog_print.c
| * | mesa: no longer need Writemask field in GLSL IR nodesBrian Paul2008-11-134-69/+23
| | | | | | | | | | | | The Swizzle and Size fields carry all the info we need now.
| * | mesa: revamp GLSL instruction emit codeBrian Paul2008-11-131-244/+381
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a step toward better array handling code. In particular, when more than one operand of an instruction uses indirect addressing, we'll need some temporary instructions and registers. By converting IR storage to instruction operands all in one place (emit_instruction()) we can be smarter about this. Also, somewhat better handling of dst register swizzle/writemask handling. This results in tighter writemasks on some instructions which is good for SOA execution. And, cleaner instruction commenting with inst_comment(). Next: remove some more dead code and additional clean-ups...
| * | mesa: make writemask_string() non-staticBrian Paul2008-11-132-4/+7
| | |
| * | mesa: remove some do-nothing GLSL codeBrian Paul2008-11-131-16/+0
| | |
| * | mesa: fix accidental regression in GLSL built-in texture matrix lookupBrian Paul2008-11-131-0/+1
| | | | | | | | | | | | Was broken by commit 9aca9a4b72b2a7b378e50bd88f9c3324d07375ec.
| * | mesa: use the tighter definition of GLSL ftransform() from the gallium branchesBrian Paul2008-11-132-31/+40
| | |
| * | mesa: remove unused/obsolete __NormalMatrixTranspose matrixBrian Paul2008-11-133-188/+184
| | |
| * | mesa: fix bug in GLSL built-in matrix state lookupBrian Paul2008-11-131-2/+5
| | |
| * | mesa: tweak program register printing for RelAddr caseBrian Paul2008-11-131-1/+1
| | |
| * | mesa: fix generation of fixed function state when no vp existsAlan Hourihane2008-11-131-43/+41
| | |
| * | i965: Upload state on primitive switch, don't just prepare it.Eric Anholt2008-11-121-0/+1
| | | | | | | | | | | | | | | This was a regression in 59b2c2adbbece27ccf54e58b598ea29cb3a5aa85 that broke blender, among other apps.
| * | i965: Fix VB refcount leak on aperture overflow.Eric Anholt2008-11-121-0/+1
| | |
| * | i965: Fix up VS max_threads for G4X and removing a magic number.Eric Anholt2008-11-121-2/+14
| | | | | | | | | | | | | | | | | | As far as I can read in the docs, VS threads can be 1:1 with the pairs of VUE handles allocated for them. Also, G4X can run twice as many threads as before (though we won't unless the we bump the preferred URB entries for VS).
| * | i965: Fix up SF max_threads.Eric Anholt2008-11-121-1/+2
| | | | | | | | | | | | | | | | | | We were dividing the number of URB entries by two to get number of threads, which looks suspiciously like a copy'n'paste-o from brw_vs_state.c. Also, the maximum number of threads is 24, not 12.
| * | i965: Fix up clip min_nr_entries, preferred_nr_entries, and max_threads.Eric Anholt2008-11-122-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | The clip thread could potentially deadlock when processing tristrips since being moved back to dual-thread mode, as the two threads could each have 4 VUEs referenced and not be able to allocate another one since SF processing wasn't able to continue (needing 5 entries before it freed 2). In constrained URB mode, similar deadlock could even have occurred with polygons (so we cut back max_threads if we can't handle it any primitive type).
| * | i965: Update WM maximum threads for G4X.Eric Anholt2008-11-121-2/+7
| | |
| * | i965: Add a big comment explaining my understanding of URB management.Eric Anholt2008-11-121-1/+38
| | | | | | | | | | | | | | | It shouldn't offer anything new over what's in the docs (except for G4X notes), but here it's all in one place.
| * | glFlush before CopySubBuffer, fix coordinates and extension name typo.Kristian Høgsberg2008-11-123-2/+8
| | |