URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6dca30544e602ed21d601c59e6b5115e7e049f51
Author: Brian Paul <[email protected]>
Date: Thu May 30 09:18:27 2013 -0600
mesa: fix error checking of DXT sRGB formats in _mesa_base_tex_format()
For formats such as GL_COMPRESSED_SRGB_S3TC_DXT1_EXT we need to
have both the GL_EXT_texture_sRGB and GL_EXT_texture_compression_s3tc
extensions. This patch adds the missing check for the later.
Found when checking out https://bugs.freedesktop.org/show_bug.cgi?id=65173
NOTE: This is a candidate for the stable branches.
Reviewed-by: Jose Fonseca <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
(cherry picked from commit 51498a3e71ebffb7eac4b0376045bf28c5c76e17)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc5725d5c8638386a6d41676bc475f1e9e72b7d0
Author: Frank Henigman <[email protected]>
Date: Mon Jan 28 20:06:59 2013 -0500
intel: initialize fs_visitor::params_remap in constructor
Set fs_visitor::params_remap to NULL in the constructor.
This variable was potentially tested in fs_visitor::remove_dead_constants()
before being set.
NOTE: This is a candidate for stable release branches.
Signed-off-by: Frank Henigman <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit 02fe736cc0e6866daa50aaae1ed7b977522eaf65)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fdab71ec974760010f0e3cd3fa560e8d83201a74
Author: Kenneth Graunke <[email protected]>
Date: Wed May 29 08:31:54 2013 -0700
mesa: Delete the ctx->Array._RestartIndex derived state.
It's incorrect and isn't used any longer.
v2: Actually flush vertices/flag _NEW_TRANSFORM on RestartIndex change.
NOTE: This is a candidate for the 9.1 branch.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
(cherry picked from commit e6efb900e7a7601797b2e8263388fe72f6820e9b)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5201c6af2bbdf9c2afbbbb1ac111ad4e78a67a52
Author: Kenneth Graunke <[email protected]>
Date: Wed May 29 08:29:26 2013 -0700
mesa: Ignore fixed-index primitive restart in ArrayElement().
GL_PRIMITIVE_RESTART_FIXED_INDEX is only supposed to apply to
glDrawElements*. This code is for legacy drawing paths and display
lists, so it shouldn't apply.
NOTE: This is a candidate for the 9.1 branch.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
(cherry picked from commit 51c0ffacb24d1b4e48f8f53dc8e191b64fbd679a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5a8ac79429c41e8a783b4a69ca2bc3eedfd8da9
Author: Kenneth Graunke <[email protected]>
Date: Wed May 29 07:57:34 2013 -0700
st/mesa: Go back to using ctx->Array.RestartIndex, not _RestartIndex.
The derived _RestartIndex field is an attempt to support both
GL_PRIMITIVE_RESTART and GL_PRIMITIVE_RESTART_FIXED_INDEX (part of ES
3.0). Gallium drivers don't appear to support ES 3.0 yet, so they don't
need to use it. Plus, it's broken and going to go away soon.
NOTE: This is a candidate for the 9.1 branch.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
(cherry picked from commit a41478e3f60d0d4c16cc22170866e561fd216834)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e90367d27faba37ac121cbf8e01999c77930b05f
Author: Kenneth Graunke <[email protected]>
Date: Sat May 25 10:17:32 2013 -0700
i965: Fix can_cut_index_handle_restart_index() for byte/short types.
Pre-Haswell hardware doesn't support an arbitrary restart index, and
instead compares the index buffer value against 0xFF for byte-size
buffers, 0xFFFF for short-size buffers, or 0xFFFFFFFF for unsigned
integer buffers.
OpenGL allows the restart index to be an arbitrary unsigned integer.
When comparing against byte/short types, the index buffer value should
be promoted to a full 32-bit integer before doing the comparison. The
restart index is /not/ supposed to be masked to byte/short size.
This means that with certain restart indexes, the comparison should
always fail. For example, a restart index of 0xF000FFFF should never
match any byte/short index buffer values due to the extra high bits.
We must not enable hardware primitive restart in such a case. For now,
fall back to software primitive restart as it's the simplest fix. In
the future, we could detect restart indexes that will never match and
skip both hardware and software primitive restart.
NOTE: This is a candidate for stable branches.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
(cherry picked from commit 49aba27973d81e388bef49a79391d5fdef3f5f18)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=588fa81e44edb2aacb60581c53a9e8134f480c7b
Author: Kenneth Graunke <[email protected]>
Date: Wed Jun 5 11:02:56 2013 -0700
mesa: Cherry-ignore a patch that got picked but squashed.
The original commit introduced a regression which was fixed in this one,
so I just picked both and squashed them together. Since no patch landed
with this name, it still showed up in the list.
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=232f4ca7c1b1873289e35a9a9eeaacf7acf00cca
Author: Kenneth Graunke <[email protected]>
Date: Fri May 24 09:28:56 2013 -0700
i965: Use the correct restart index for fixed index mode on Haswell.
The code that updates the ctx->Array._RestartIndex derived state mashed
it to 0xFFFFFFFF when GL_PRIMITIVE_RESTART_FIXED_INDEX was enabled
regardless of the index buffer type. It's supposed to be 0xFF for byte,
0xFFFF for short, or 0xFFFFFFFF for integer types.
The new _mesa_primitive_restart_index() helper gets this right.
The hardware appears to compare against the full 32-bit value some of
the time, causing primitive restart not to occur when it should. The
fact that it works some of the time is rather frightening.
Fixes sporadic failures in the ES 3 instanced_arrays_primitive_restart
conformance test when run in combination with other tests.
(cherry picked from commit 7c87a3b5dac118697a9b67caa7b6d5cab60f316d
and commit 4405ff4055685841c9d9545da52c7edc8708b14b, squashed together)
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1c0c7b3b341abe4ad3f31ef3066ef6bb428b692
Author: Paul Berry <[email protected]>
Date: Fri Apr 5 20:15:39 2013 -0700
i965/gen7.5: Allow HW primitive restart for all primitive types.
Gen7.5 (Haswell) hardware supports primitive restart for all primitive
types. It also handles all possible primitive restart indices.
Rather than specialize both can_cut_index_handle_restart_index() and
the switch statement in can_cut_index_handle_prims() for Haswell, just
return early if the hardware is Haswell because we know it can handle
everything.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
(cherry picked from commit 34efd9214d4daabb56f7f39bdbd6836472979b76)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c0d21660e59ecaff0a81472c0d1ca9c2c305d28
Author: Kenneth Graunke <[email protected]>
Date: Wed May 29 08:21:14 2013 -0700
vbo: Use the new primitive restart index helper function.
This gets the correct restart index for unsigned byte/short types when
using GL_PRIMITIVE_RESTART_FIXED_INDEX.
NOTE: This is a candidate for the 9.1 branch.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
(cherry picked from commit 1569709663f5ad3c339494f756bcc05f37044182)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=10ccd3450d484de96060d85ec5cbf34d1fd19e4a
Author: Kenneth Graunke <[email protected]>
Date: Wed May 29 08:07:01 2013 -0700
mesa: Add a helper function for determining the restart index.
The derived state approach currently used (_RestartIndex) doesn't work:
in the GL_PRIMITIVE_RESTART_FIXED_INDEX case, the restart index depends
on the index buffer's data type, and that isn't known until draw time.
The existing code also fails to obey the GL 4.3 rules which say that
FIXED_INDEX takes precedence over normal primitive restart.
This helper function correctly determines the restart index, and will
replace the derived state.
NOTE: This is a candidate for the 9.1 branch.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
(cherry picked from commit 959d076b30fce8aa9f09c68e5fe885e98c55aaa5)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=21eb628e892c489a3717806071f0768d8e4ef0cb
Author: Kenneth Graunke <[email protected]>
Date: Sat May 25 08:19:40 2013 -0700
vbo: Ignore PRIMITIVE_RESTART_FIXED_INDEX for glDrawArrays().
The derived _PrimitiveRestart enable flag combines the PrimitiveRestart
and PrimitiveRestartFixedIndex enable flags. However, DrawArrays is not
supposed to do FixedIndex restart:
From the OpenGL 4.3 Core specification, section 10.3.5 (page 302):
"If PRIMITIVE_RESTART_FIXED_INDEX is enabled, primitive restart is not
performed for array elements transferred by any drawing command not
taking a type parameter, including all of the *Draw* commands other
than *DrawElements*."
The OpenGL ES 3.0 specification agrees by omission:
"When DrawElements, DrawElementsInstanced, or DrawRangeElements
transfers a set of generic attribute array elements to the GL..."
Notably, DrawArrays is not included in the list of draw calls that
take PRIMITIVE_RESTART_FIXED_INDEX into consideration.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
(cherry picked from commit 37f278000c7a1a6d15eeeed4e52cdea3063c0a0f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa0bd4dd85b4b8857008965f540c33358dd16ad3
Author: Eric Anholt <[email protected]>
Date: Tue May 28 14:35:19 2013 -0700
i965/vs: Fix implied_mrf_writes() for integer division pre-gen6.
Previously it would assertion fail in debug builds (though the correct
value was returned in a non-debug build). Marking it as a candidate for
stable even though it has no current consumers in the stable branches, in
case one shows up in a later backport.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64727
NOTE: This is a candidate for stable branches.
Reviewed-by: Kenneth Graunke <[email protected]>
(cherry picked from commit 6220cc931f15ddb428ea481e8b9a70ce26ca3304)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=96b294aceb54a8a0a37be293dd989d619a09ca5d
Author: Kenneth Graunke <[email protected]>
Date: Wed Jun 5 10:55:15 2013 -0700
mesa: Add a reverted commit to cherry-ignore.
v2 was reverted; v3 is actually in.
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=41c4b21d18936488db6de26080e57f712b8a2d87
Author: Chris Forbes <[email protected]>
Date: Mon May 13 21:54:36 2013 +1200
mesa: Stop clamping stencil reference value at specification time
All drivers now clamp this to the appropriate range for the bound
stencil buffer when emitting stencil state.
NOTE: This is a candidate for stable branches.
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
(cherry picked from commit 53a5f11f0d89a044546e2bf4396f1972c9d31c4f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=68c8db9db54709ac48ac480035593d900cf1ec38
Author: Chris Forbes <[email protected]>
Date: Mon May 13 21:49:30 2013 +1200
swrast: Use accessor for stencil reference values
NOTE: This is a candidate for stable branches.
Signed-off-by: Chris Forbes <[email protected]>
Acked-by: Paul Berry <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
(cherry picked from commit 978f91b8292cf504d3d50307aacfb94943d7f186)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=99540782b4d2fe28b52197b2f2a1e3dd3ed56015
Author: Chris Forbes <[email protected]>
Date: Mon May 13 21:49:11 2013 +1200
st: Use accessor for stencil reference values
NOTE: This is a candidate for stable branches.
Signed-off-by: Chris Forbes <[email protected]>
Acked-by: Paul Berry <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
(cherry picked from commit db8a84de8765fc969a3fff3f1275852916eda042)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=624fdd48062aa938ed26d6aa1bce22f1d5eab23e
Author: Chris Forbes <[email protected]>
Date: Mon May 13 21:48:34 2013 +1200
radeon: Use accessor for stencil reference values
V2: Drop spurious mask with 0xff.
NOTE: This is a candidate for stable branches.
Signed-off-by: Chris Forbes <[email protected]>
Acked-by: Paul Berry <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
(cherry picked from commit c411f40cba09fcb77cc867d65917389d53acaf7c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7d9a467378642ee1dd3fcce0ba44d53f36d92de
Author: Chris Forbes <[email protected]>
Date: Mon May 13 21:47:37 2013 +1200
nouveau: Use accessor for stencil reference values
NOTE: This is a candidate for stable branches.
Signed-off-by: Chris Forbes <[email protected]>
Acked-by: Paul Berry <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
(cherry picked from commit 7bbe9b78ae8ca44699bd3819afa240b0f223e25b)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0fdf9716a478427ef22854053463b55b7fa16981
Author: Chris Forbes <[email protected]>
Date: Mon May 13 21:46:50 2013 +1200
intel: Use accessor for stencil reference values
NOTE: This is a candidate for stable branches.
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
(cherry picked from commit f819ec46d57fd92012b2dca2e23232031bd1f621)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bfb801538606999234acc51f49b580a12d3525e2
Author: Chris Forbes <[email protected]>
Date: Mon May 13 21:17:29 2013 +1200
mesa: add accessor for effective stencil ref
Clamps the stencil reference value to the range representable in the
currently-bound draw framebuffer's stencil attachment.
V2: Add spec quote.
NOTE: This is a candidate for stable branches.
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
(cherry picked from commit 38f65162af772af6d05627e3af6e8b7caf03ec8f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e75c4d05fca93db674daf00975cab757dd520b5d
Author: Marek Olšák <[email protected]>
Date: Thu May 2 01:44:14 2013 +0200
glsl: fix the value of gl_MaxFragmentUniformVectors
NOTE: This is a candidate for the 9.1 branch.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
(cherry picked from commit d90f04a65ba5bf27e183f5d57a23716fedcc51d7)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d7ec8c4e517ab9a62b16f4b12f7bd34fecfa282
Author: Rodrigo Vivi <[email protected]>
Date: Mon May 13 17:53:39 2013 -0300
i965: Adding more reserved PCI IDs for Haswell.
At DDX commit Chris mentioned the tendency we have of finding out more
PCI IDs only when users report. So Let's add all new reserved Haswell IDs.
NOTE: This is a candidate for stable branches.
Bugzilla: http://bugs.freedesktop.org/show_bug.cgi?id=63701
Signed-off-by: Rodrigo Vivi <[email protected]>
Acked-by: Kenneth Graunke <[email protected]>
(cherry picked from commit ce67fb4715e0c2fab01de33da475ef4705622020)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0911db3ca5c21f6fe7d32cdbfcdda8ba2d455e41
Author: Rodrigo Vivi <[email protected]>
Date: Mon May 13 17:53:38 2013 -0300
i965: Add missing Haswell GT3 Desktop to IS_HSW_GT3 check.
NOTE: This is a candidate for stable branches.
Signed-off-by: Rodrigo Vivi <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
(cherry picked from commit 888fc7a89197972aac614fc19d1c82ed1adbb3f2)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bbd44a5eaf16cf09ad4dee1f5842f1d21d90d70e
Author: Paulo Zanoni <[email protected]>
Date: Fri Aug 10 12:06:37 2012 -0300
i965: make GT3 machines work as GT3 instead of GT2
We were not allowed to say the "GT3" name, but we really needed to
have the PCI IDs because too many people had such machines, so we had
to make the GT3 machines work as GT2.
Let's just say that GT2_PLUS was a short for GT2_PLUS_1 :)
NOTE: This is a candidate for stable branches.
Signed-off-by: Paulo Zanoni <[email protected]>
Signed-off-by: Kenneth Graunke <[email protected]>
(cherry picked from commit f1d2b373177dbbb582cefb0d6c88994073fab652)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e76e5497f8d2513f7c87446ed1e9dac2932edc1
Author: Kenneth Graunke <[email protected]>
Date: Wed Oct 3 14:26:29 2012 -0700
i965: Enable the Bay Trail platform.
This patch adds PCI IDs for Bay Trail (sometimes called Valley View).
As far as the 3D driver is concerned, it's very similar to Ivybridge,
so the existing code should work just fine.
Signed-off-by: Kenneth Graunke <[email protected]>
(cherry picked from commit e7965598b7cc1123847e5c87ab16745145e849e2)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed7fa63bbd375aaf6f1ed179ecd7b74f3a752c64
Author: Kenneth Graunke <[email protected]>
Date: Wed Mar 7 09:58:15 2012 -0800
i965: Add chipset limits for the Haswell GT3 variant.
NOTE: This is a candidate for stable branches.
Signed-off-by: Kenneth Graunke <[email protected]>
Signed-off-by: Eugeni Dodonov <[email protected]>
(cherry picked from commit d0b82b1add5d1d1419d4390a3f7c584b6ee7d92c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=acff9c2bbf6cf4d9aa270cf7ea04b40f29eb60ec
Author: Kenneth Graunke <[email protected]>
Date: Sat Sep 24 00:12:58 2011 -0700
i965: Update URB partitioning code for Haswell's GT3 variant.
Haswell's GT3 variant offers 32kB of URB space for push constants, while
GT1 and GT2 match Ivybridge, providing 16kB. Update the code to reserve
the full 32kB on GT3.
v2: Specify push constant size correctly. I thought GT3 reinterpreted
the value as multiples of 2kB, but it doesn't. You simply have to
program an even number.
NOTE: This is a candidate for stable branches.
Signed-off-by: Kenneth Graunke <[email protected]>
(cherry picked from commit eca2251f42f0234584d94268c29bddede3ff6451)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4311138e47224acea21f5ecde74a9ea2aee994f
Author: Kenneth Graunke <[email protected]>
Date: Tue Apr 2 21:11:51 2013 -0700
i965: Use a variable for the push constant size in kB.
This clarifies that the offset of 2 is actually 16 kB / 8kB units.
It also keys both computations off of a single variable, which should
make it easier to change in the future.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
(cherry picked from commit 967514ce680f7bf785ab544c6174786dd20425de)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=210f2794f5c4fedc7400d810af43b46d8e2dff84
Author: Kenneth Graunke <[email protected]>
Date: Tue Apr 2 21:11:50 2013 -0700
i965: Turn brw->urb.vs_size and gs_size into local variables.
These variables are only used within a single function, so we may as
well make them local variables.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
(cherry picked from commit 8cdb2d32ecd636a6d68840a68504c1fe1b14426b)
_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit