Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-09-28 | i965: 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-28 | i965: 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-28 | i965: 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-28 | i965: Add support for struct, array, and matrix uniforms to FS backend. | Eric Anholt | |
Fixes 16 piglit cases. | |||
2010-09-28 | i965: Add support for dereferencing structs to the new FS backend. | Eric Anholt | |
Fixes: glsl1-struct(2) | |||
2010-09-28 | i965: 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-28 | i965: 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-28 | i965: Fix valgrind complaint about base_ir for new FS debugging. | Eric Anholt | |
2010-09-28 | i965: 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-28 | i965: Actually track the "if" depth in loop in the new FS backend. | Eric Anholt | |
Fixes: glsl-fs-if-nested-loop. | |||
2010-09-28 | i965: Fix negation in the new FS backend. | Eric Anholt | |
Fixes: glsl1-Negation glsl1-Negation2 | |||
2010-09-28 | i965: fix occlusion query on sandybridge | Zhenyu Wang | |
Fix pipe control command for depth stall and PS_DEPTH_COUNT write. | |||
2010-09-28 | i965: fix point sprite on sandybridge | Zhenyu Wang | |
Need to set point sprite function in fixed SF state now on sandybridge. | |||
2010-09-28 | i965: fix scissor state on sandybridge | Zhenyu Wang | |
Fix incorrect scissor rect struct and missed scissor state pointer setting for sandybridge. | |||
2010-09-28 | i965: enable polygon offset on sandybridge | Zhenyu Wang | |
Depth offset function is moved to SF stage on sandybridge. | |||
2010-09-28 | i965: fix pixel w interpolation on sandybridge | Zhenyu Wang | |
2010-09-28 | i965: don't do calculation for delta_xy on sandybridge | Zhenyu Wang | |
Sandybridge doesn't have Xstart/Ystart in payload header. | |||
2010-09-28 | i965: fix const register count for sandybridge | Zhenyu 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-28 | i965: Fix sampler on sandybridge | Zhenyu Wang | |
Sandybridge has not much change on texture sampler with Ironlake. | |||
2010-09-28 | i965: fix jump count on sandybridge | Zhenyu Wang | |
Jump count is for 64bit long each, so one instruction requires 2 like on Ironlake. | |||
2010-09-28 | i965: VS use SPF mode on sandybridge for now | Zhenyu Wang | |
Until conditional instructions were fixed, use SPF mode instead for now. | |||
2010-09-28 | i965: add sandybridge viewport state bo into validation list | Zhenyu Wang | |
2010-09-28 | i965: ignore quads for GS kernel on sandybridge | Zhenyu 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-28 | i965: ff sync message change for sandybridge | Zhenyu Wang | |
2010-09-28 | i965: fix point size setting in header on sandybridge | Zhenyu Wang | |
2010-09-28 | i965: force zero in clipper to ignore RTAIndex on sandybridge | Zhenyu Wang | |
2010-09-28 | i965: Fix color interpolation on sandybridge | Zhenyu Wang | |
Don't double store position in vertex attribute. This makes color interpolation right by using barycentric coordinates. | |||
2010-09-28 | i965: enable accumulator update in PS kernel too on sandybridge | Zhenyu Wang | |
Accumulator update flag must be set for implicit update on sandybridge. | |||
2010-09-28 | i965: new state dump for sandybridge | Zhenyu Wang | |
Dump new state object on sandybridge for cc viewport, clip viewport, depth stencil, cc and blend state. | |||
2010-09-28 | i965: disasm quarter and write enable instruction control on sandybridge | Zhenyu Wang | |
2010-09-28 | i965: Add support for POW in gen6 FS. | Eric Anholt | |
Fixes glsl-algebraic-pow-2 in brw_wm_glsl.c mode. | |||
2010-09-28 | i965: Set up inputs to the fragment shader according to FP InputsRead. | Eric Anholt | |
Sending down data that doesn't get read doesn't make any sense, and would make handling things like gl_FrontFacing and gl_PointCoord harder. | |||
2010-09-28 | i965: Add support for attribute interpolation on Sandybridge. | Eric Anholt | |
Things are simpler these days thanks to barycentric interpolation parameters being handed in in the payload. | |||
2010-09-27 | i965: Add support for dFdx()/dFdy() to the FS backend. | Eric Anholt | |
Fixes: glsl-fwidth glsl-derivs-swizzle | |||
2010-09-27 | i965: Fix vector splitting RHS channel selection with sparse writemasks. | Eric Anholt | |
Fixes: glsl-fs-all-02 glsl-fs-dot-vec2 | |||
2010-09-27 | i965: Handle all_equal/any_nequal in the new FS. | Eric Anholt | |
These are generated for scalar operands instead of plain equal/nequal. But for scalars, they're the same anyway. +30 piglits. | |||
2010-09-27 | i965: Remove swizzling of assignment to vector-splitting single-channel LHS. | Eric Anholt | |
We'd end up reading some non-x component of the float RHS. +53 piglits. | |||
2010-09-27 | i965: Fix up writemasked assignments in the new FS. | Eric Anholt | |
Not sure how I managed to get tests to succeed without this. +54 piglits. | |||
2010-09-24 | i965: Add support for rendering to SARGB8 FBOs. | Eric Anholt | |
Tested with fbo-generatemipmap-formats GL_EXT_texture_srgb. The test still fails on SLA8, though. | |||
2010-09-23 | mesa: Remove SGI_color_matrix. | Eric Anholt | |
Another optional ARB_imaging subset extension. | |||
2010-09-22 | i965: Warning fix for vector result any_nequal/all_equal change. | Eric Anholt | |
2010-09-22 | i965: Update expression splitting for the vector-result change to compares. | Eric Anholt | |
Fixes: glsl1-precision exp2 glsl1-precision log2 | |||
2010-09-22 | i965: When splitting vector variable assignment, ignore unset channels. | Eric Anholt | |
The new checks for sanity in ir_assignment creation got angry about this write_mask == 0. Fixes: glsl-fs-dot-vec2. glsl-fs-atan-2 glsl-fs-dot-vec2 | |||
2010-09-22 | i965: Fix the vector/expression splitting for the write_mask change. | Eric Anholt | |
+113 piglits. | |||
2010-09-22 | intel: Fix GL_ARB_shading_language_120 commit | Kristian Høgsberg | |
Fix commit e7087175f8a04f777403366fb34b58edd00f4d60. Move the reference to GL_VERSION_2_1_functions to intel_extensions.c where it's available, don't try to enable a non-existing extension and advertise 1.20 for all intel chipsets, not just GEN4 and up. | |||
2010-09-21 | mesa: don't advertise bogus GL_ARB_shading_language_120 extension | Brian Paul | |
Instead of using the invalid GL_ARB_shading_language_120 extension to determine the GLSL version, use a new ctx->Const.GLSLVersion field. Updated the intel and r600 drivers, but untested. See fd.o bug 29910 NOTE: This is a candidate for the 7.9 branch (but let's wait and see if there's any regressions). | |||
2010-09-21 | i965: Track the windowizer's dispatch for kill pixel, promoted, and OQ | Eric Anholt | |
Looks like the problem was we weren't passing the depth to the render target as expected, so the chip would wedge. Fixes GPU hang in occlusion-query-discard. Bug #30097 | |||
2010-09-21 | i965: Also enable CC statistics when doing OQs. | Eric Anholt | |
This is required by the spec, so respect that. | |||
2010-09-21 | i965: Share the KIL_NV implementation between glsl and non-glsl. | Eric Anholt | |
2010-09-17 | glsl2: Add flags to enable variable index lowering | Ian Romanick | |