summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965
AgeCommit message (Collapse)Author
2010-09-28i965: 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-28i965: 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-27i965: Add support for dFdx()/dFdy() to the FS backend.Eric Anholt
Fixes: glsl-fwidth glsl-derivs-swizzle
2010-09-27i965: Fix vector splitting RHS channel selection with sparse writemasks.Eric Anholt
Fixes: glsl-fs-all-02 glsl-fs-dot-vec2
2010-09-27i965: 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-27i965: 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-27i965: 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-24i965: 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-23mesa: Remove SGI_color_matrix.Eric Anholt
Another optional ARB_imaging subset extension.
2010-09-22i965: Warning fix for vector result any_nequal/all_equal change.Eric Anholt
2010-09-22i965: Update expression splitting for the vector-result change to compares.Eric Anholt
Fixes: glsl1-precision exp2 glsl1-precision log2
2010-09-22i965: 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-22i965: Fix the vector/expression splitting for the write_mask change.Eric Anholt
+113 piglits.
2010-09-22intel: Fix GL_ARB_shading_language_120 commitKristian 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-21mesa: don't advertise bogus GL_ARB_shading_language_120 extensionBrian 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-21i965: Track the windowizer's dispatch for kill pixel, promoted, and OQEric 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-21i965: Also enable CC statistics when doing OQs.Eric Anholt
This is required by the spec, so respect that.
2010-09-21i965: Share the KIL_NV implementation between glsl and non-glsl.Eric Anholt
2010-09-17glsl2: Add flags to enable variable index loweringIan Romanick
2010-09-13i965: Request that returns be lowered in shader mainIan Romanick
Fixes piglit tests glsl-vs-main-return and glsl-fs-main-return.
2010-09-10intel: Remove noise opcode support from i915 and i965 driversIan Romanick
With recent changes to the GLSL compiler, these opcode should never be seen in these drivers.
2010-09-09i965: Add switch cases for ir_unop_noise, which should have been lowered.Eric Anholt
Fixes compiler warnings.
2010-09-09glsl2: Add EmitNoNoise flag, use it to remove noise opcodesIan Romanick
2010-09-08glsl: add several EmitNo* options, and MaxUnrollIterationsLuca Barbieri
This increases the chance that GLSL programs will actually work. Note that continues and returns are not yet lowered, so linking will just fail if not supported. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-09-08glsl: make compiler options per-targetLuca Barbieri
This allows us to specify different options, especially useful for chips without unified shaders. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-09-07i965: Store the byte address in the VS constant buffer as an integer.Eric Anholt
We carefully multiplied our two ints (since we want to be precise after all) then stored them in a float, which is not specced to really work, in addition to wasting precision. Fixes vp-arl-constant-array-huge-* things since the assertions were added.
2010-09-07i965: Make pixel_xy results UW.Eric Anholt
There is a restriction on the destination of an operation involving a vector immediate being 128-bit aligned and the destination horizontal stride being equivalent to 2 bytes. Fixes bad pixel_x results from gl_FragCoord, where each pair had the same value.
2010-09-07i965: Don't bother with RNDZ for f2i.Eric Anholt
The default type conversion for MOV should be fine, and RNDZ actually requires two instructions.
2010-09-07i965: Add some validation on BRW_OPCODE_MUL and ADD's arguments.Eric Anholt
Now that we're playing with other types in brw_fs.cpp, it's easy to trip over issues like these.
2010-09-07i965: Add assertion for another requirement about types.Eric Anholt
This catches a failure in the FS backend.
2010-09-07i965: Align the start of attribute interp coefficients in FS to use PLN.Eric Anholt
2010-09-07i965: Just assert when we flagged a compile error in the FS for now.Eric Anholt
Dumping back to potentially 16-wide dispatch doesn't really work out at the moment, and hopefully I'll just be able to resolve all the failures so we never have to do this at all.
2010-09-07i965: Clean up fs_reg setup by using a helper for constructors.Eric Anholt
2010-09-07i965: When using the new FS backend, don't validate the Mesa IR version.Eric Anholt
2010-09-07i965: Add a bit of validation for some ISA restrictions in the docs.Eric Anholt
2010-09-07i965: set the source width/stride when handling reladdr dests in the VS.Eric Anholt
This is a requirement specified in the docs. No behavior change in glsl-vs-varying-array.shader_test that violated these requirements.
2010-09-01i965: DP2 produces a scalar result like DP3, DP4, etc.Eric Anholt
Fixes glsl-fs-dot-vec2-2.
2010-08-31i965: fix depth test on sandybridgeZhenyu Wang
This includes several corrections for fixing depth test on sandybridge. Fix wrong bits definition in depth stencil state. Fix wrong order of state buffer offset in 3DSTATE_CC_STATE_POINTERS command. Correctly use buffer width parameter in depth buffer setting. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-08-30i965: Clear the cached constant buffer entry in the VS at control flow.Eric Anholt
Fixes the 7 regressions with constant buffers forced on with piglit -t glsl (glsl-vs-if-*).
2010-08-30i965: Align the number of payload regs to 2 again in 16-wide mode.Eric Anholt
Fixes a regression in point-line-no-cull and glean/paths tests since 501c9dc62774a73c080d500a1eab773b0da9577e.
2010-08-30i965: Add support for loops to the new FS backend.Eric Anholt
This includes a handy little safety check to prevent the loop from going "too long", as permitted by the spec. I haven't gone out of my way to test it, though… Fixes 20 more piglit tests.
2010-08-30i965: Make brw_CONT and brw_BREAK take the pop count.Eric Anholt
We always need to set it, so pass it in.
2010-08-30i965: Add "discard" support to the new FS backend.Eric Anholt
Fixes 3 testcases related to discard.
2010-08-30i965: Fix the new implementation of ir_unop_sign to match brw_wm_emit.cEric Anholt
Like the comparison operations, this suffered from CMP only setting the low bit. Doing the AND instructions would be the same instruction count as the more obvious conditional moves, so do cond moves. Fixes glsl-fs-sign and 6 other cases, like trig functions that use sign() internally.
2010-08-30i965: Add support for texturing with bias to i965 FS backend.Eric Anholt
Fixes 5 piglit tests for bias. Note that LOD is a 1.30 feature and not yet supported.
2010-08-28i965: Add initial support for texturing to the new FS backend.Eric Anholt
Fixes 11 piglit tests.
2010-08-28i965: Add disasm for gen5 sampler messages.Eric Anholt
2010-08-28i965: Move libdrm/C++ hack introduced in fa2deb3d to intel_context.hCedric Vivier
Fixes build on Linux/GCC 4.4 as libdrm includes are also used by other brw_fs_*.cpp files. Bug #29855
2010-08-27i965: Set the pop count on BRK/CONT inside of an if statement in the FS.Eric Anholt
This is the same as 8de8c97275e9555183a7e8f2238143657bbe60b2 for the VS, and fixes glsl-fs-if-nested-loop and the mandelbrot demo. Bug #29498
2010-08-27i965: Don't strip negate/abs flags when assigning uniform locations.Eric Anholt
Fixes glsl-algebraic-sub-zero-4.