summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-09-29mesa: Fix printf format warning.Vinson Lee
Fixes this GCC warning. math/m_debug_clip.c: In function '_math_test_all_cliptest_functions': math/m_debug_clip.c:363: warning: format not a string literal and no format arguments
2010-09-29Revert "i965: Always set tiling for depth buffer on sandybridge"Zhenyu Wang
This reverts commit 0a1910c26760762eb8d67f68dfd87494ab479e38. oops, shouldn't apply tiling depth buffer for other chips as well.
2010-09-28r300/compiler: Don't merge instructions that write output regs and ALU resultTom Stellard
https://bugs.freedesktop.org/show_bug.cgi?id=30415 NOTE: This is a candidate for the 7.9 branch.
2010-09-28r300/compiler: Don't use rc_error() unless the error is unrecoverableTom Stellard
https://bugs.freedesktop.org/show_bug.cgi?id=30416 NOTE: This is a candidate for the 7.9 branch.
2010-09-28r300/compiler: Fix segfault in error pathTom Stellard
https://bugs.freedesktop.org/show_bug.cgi?id=30415 NOTE: This is a candidate for the 7.9 branch.
2010-09-29i965: fallback lineloop on sandybridge for nowZhenyu Wang
Until we fixed GS hang issue.
2010-09-29i965: Always set tiling for depth buffer on sandybridgeZhenyu Wang
Sandybridge only support tiling depth buffer, always set tiling bit. Fix 'fbo_firecube' demo.
2010-09-28i965: Add support for builtin uniforms to the new FS backend.Eric Anholt
Fixes 8 piglit tests.
2010-09-28mesa: Move the list of builtin uniform info from ir_to_mesa to shared code.Eric Anholt
I'm still not pleased with how builtin uniforms are handled, but as long as we're relying on the prog_statevar stuff this seems about as good as it'll get.
2010-09-28i965: Clean up obsolete FINISHME comment.Eric Anholt
2010-09-28i965: Fix array indexing of arrays of matrices.Eric Anholt
The deleted code was meant to be handling indexing of a matrix, which would have been a noop if it had been correct.
2010-09-28i965: Don't try to emit interpolation for unused varying slots.Eric Anholt
Fixes: glsl-fs-varying-array glsl-texcoord-array glsl-texcoord-array-2 glsl-vs-varying-array
2010-09-28i965: Do interpolation for varying matrices and arrays in the FS backend.Eric Anholt
Fixes: glsl-array-varying-01 glsl-vs-mat-add-1 glsl-vs-mat-div-1 glsl-vs-mat-div-2 glsl-vs-mat-mul-2 glsl-vs-mat-mul-3
2010-09-28i965: Add support for ARB_fragment_coord_conventions to the new FS backend.Eric Anholt
Fixes: glsl-arb-frag-coord-conventions glsl-fs-fragcoord
2010-09-28i965: Add support for ir_loop counters to the new FS backend.Eric Anholt
Fixes: glsl1-discard statement in for loop glsl-fs-loop-two-counter-02 glsl-fs-loop-two-counter-04
2010-09-28i965: Add support for MRT to the new FS backend.Eric Anholt
Fixes these tests using gl_FragData or just gl_FragDepth: glsl1-Preprocessor test (extension test 1) glsl1-Preprocessor test (extension test 2) glsl-bug-22603
2010-09-28i965: Add support for non-color render target write data to new FS backend.Eric Anholt
This is the first time these payload bits have made sense to me, outside of brw_wm_pass* structure. Fixes: glsl1-gl_FragDepth writing
2010-09-28scons: Add program/sampler.cpp to SCons build.Vinson Lee
This is a follow-up to commit a32893221ce253da7bb465e0ec9d0df5f7208d8f. Fixes MinGW SCons build.
2010-09-28i965: Set up sampler numbers in the FS backend.Eric Anholt
+10 piglits
2010-09-28mesa: Pull ir_to_mesa's sampler number fetcher out to shared code.Eric Anholt
2010-09-28i965: Subtract instead of adding when computing y delta in new FS backend.Eric Anholt
Fixes 7 piglit cases.
2010-09-28i965: Add support for gl_FrontFacing to the new FS backend.Eric Anholt
Fixes: glsl1-gl_FrontFacing var (1) glsl1-gl_FrontFacing var (2)
2010-09-28i965: Fix up part of my Sandybridge attributes support patch.Eric Anholt
I confused the array sizing for number of files for the number of regs in a file.
2010-09-28i965: Fix all non-snb regression in the snb attribute interpolation commit.Eric Anholt
This apparently had never been tested elsewhere before being merged to master.
2010-09-28i965: Add support for struct, array, and matrix uniforms to FS backend.Eric Anholt
Fixes 16 piglit cases.
2010-09-28i965: Add support for dereferencing structs to the new FS backend.Eric Anholt
Fixes: glsl1-struct(2)
2010-09-28i965: Set the variable type when dereferencing an array.Eric Anholt
We don't set the type on the array virtual reg as a whole, so here's the right place. Fixes: glsl1-GLSL 1.20 arrays glsl1-temp array with constant indexing, fragment shader glsl1-temp array with swizzled variable indexing
2010-09-28i965: Fix up the FS backend for the variable array indexing pass.Eric Anholt
We need to re-run channel expressions afterwards as it generates new vector expressions, and we need to successfully support conditional assignment (brw_CMP takes 2 operands, not 1).
2010-09-28i965: Fix valgrind complaint about base_ir for new FS debugging.Eric Anholt
2010-09-28i965: Apply the same set of lowering passes to new FS as to Mesa IR.Eric Anholt
While much of this we will want to support natively, this should make the task of reaching the Mesa IR backend's quality easier. Fixes: glsl-fs-main-return.
2010-09-28i965: Actually track the "if" depth in loop in the new FS backend.Eric Anholt
Fixes: glsl-fs-if-nested-loop.
2010-09-28i965: Fix negation in the new FS backend.Eric Anholt
Fixes: glsl1-Negation glsl1-Negation2
2010-09-28i965: fallback bitmap operation on sandybridgeZhenyu Wang
Need to bring back correct fb write with header to set pixel write mask. Fallback for now.
2010-09-28i965: fix occlusion query on sandybridgeZhenyu Wang
Fix pipe control command for depth stall and PS_DEPTH_COUNT write.
2010-09-28i965: fix point sprite on sandybridgeZhenyu Wang
Need to set point sprite function in fixed SF state now on sandybridge.
2010-09-28i965: fix scissor state on sandybridgeZhenyu Wang
Fix incorrect scissor rect struct and missed scissor state pointer setting for sandybridge.
2010-09-28i965: enable polygon offset on sandybridgeZhenyu Wang
Depth offset function is moved to SF stage on sandybridge.
2010-09-28i965: fix pixel w interpolation on sandybridgeZhenyu Wang
2010-09-28i965: don't do calculation for delta_xy on sandybridgeZhenyu Wang
Sandybridge doesn't have Xstart/Ystart in payload header.
2010-09-28i965: only allow SIMD8 kernel on sandybridge nowZhenyu Wang
Until we fixed SIMD16 kernel, force to SIMD8 on sandybridge now.
2010-09-28i965: sandybridge pipe control workaround before write cache flushZhenyu Wang
Must issue a pipe control with any non-zero post sync op before write cache flush = 1 pipe control.
2010-09-28i965: Add all device ids for sandybridgeZhenyu Wang
2010-09-28i965: fix const register count for sandybridgeZhenyu Wang
Sandybridge's PS constant buffer payload size is decided from push const buffer command, incorrect size would cause wrong data in payload for position and vertex attributes. This fixes coefficients for tex2d/tex3d.
2010-09-28i965: Fix sampler on sandybridgeZhenyu Wang
Sandybridge has not much change on texture sampler with Ironlake.
2010-09-28i965: fix jump count on sandybridgeZhenyu Wang
Jump count is for 64bit long each, so one instruction requires 2 like on Ironlake.
2010-09-28i965: VS use SPF mode on sandybridge for nowZhenyu Wang
Until conditional instructions were fixed, use SPF mode instead for now.
2010-09-28i965: add sandybridge viewport state bo into validation listZhenyu Wang
2010-09-28i965: ignore quads for GS kernel on sandybridgeZhenyu Wang
Sandybridge's VF would convert quads to polygon which not required for GS then. Current GS state still would cause hang on lineloop.
2010-09-28i965: ff sync message change for sandybridgeZhenyu Wang
2010-09-28i965: fix point size setting in header on sandybridgeZhenyu Wang