History log of /external/mesa3d/src/mesa/state_tracker/st_atom_msaa.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
187c2781210a05f1e144f87fffdd4f513d2380c4 15-Sep-2016 Brian Paul <brianp@vmware.com> st/mesa: update comment in st_atom_msaa.c

The old comment was a copy and paste mistake. Indent another comment.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_msaa.c
c8fe3b9dca73e3b91979d92ba4136b302001b3bb 17-Jul-2016 Marek Olšák <marek.olsak@amd.com> st/mesa: completely rewrite state atoms

The goal is to do this in st_validate_state:
while (dirty)
atoms[u_bit_scan(&dirty)]->update(st);

That implies that atoms can't specify which flags they consume.
There is exactly one ST_NEW_* flag for each atom. (58 flags in total)

There are macros that combine multiple flags into one for easier use.

All _NEW_* flags are translated into ST_NEW_* flags in st_invalidate_state.
st/mesa doesn't keep the _NEW_* flags after that.

torcs is 2% faster between the previous patch and the end of this series.

v2: - add st_atom_list.h to Makefile.sources

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_msaa.c
53bc28920a8524d7bc795c3ce6398dc34a8e2152 17-Jul-2016 Marek Olšák <marek.olsak@amd.com> st/mesa: remove st_tracked_state::name

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_msaa.c
60a27ad122128145d28be37e9c0b0bc86a8e5181 23-Jun-2016 Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Remove wrongly repeated words in comments

Clean up misrepetitions ('if if', 'the the' etc) found throughout the
comments. This has been done manually, after grepping
case-insensitively for duplicate if, is, the, then, do, for, an,
plus a few other typos corrected in fly-by

v2:
* proper commit message and non-joke title;
* replace two 'as is' followed by 'is' to 'as-is'.
v3:
* 'a integer' => 'an integer' and similar (originally spotted by
Jason Ekstrand, I fixed a few other similar ones while at it)

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_msaa.c
c5d822dad902b19f06c9be3c6863a51e1881ec5b 31-Mar-2014 Ilia Mirkin <imirkin@alum.mit.edu> mesa/st: add support for ARB_sample_shading

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_msaa.c
9baa45f78b8ca7d66280e36009b6a685055d7cd6 08-Jan-2014 Marek Olšák <marek.olsak@amd.com> st/mesa: bind NULL colorbuffers as specified by glDrawBuffers

An example why it is required:

Let's say there's a fragment shader writing to gl_FragData[0..1].
The user calls: glDrawBuffers(2, {GL_NONE, GL_COLOR_ATTACHMENT0});

That means gl_FragData[0] is unused and gl_FragData[1] is written
to GL_COLOR_ATTACHMENT0.

st/mesa was skipping the GL_NONE draw buffer, therefore gl_FragData[0]
was written to GL_COLOR_ATTACHMENT0, which was wrong.

This commit fixes it, but drivers must also be fixed not to crash when
binding NULL colorbuffers. There is also a new set of piglit tests for this.

The MSAA state also had to be fixed not to crash when reading fb->cbufs[0].

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_msaa.c
f152da6bf990c330108da25972f28e08b2f233aa 03-Mar-2013 Dave Airlie <airlied@redhat.com> st/mesa: add support for ARB_texture_multisample (v3)

This adds support to the mesa state tracker for ARB_texture_multisample.

hardware doesn't seem to use a different texture instructions, so
I don't think we need to create one for TGSI at this time.

Thanks to Marek for fixes to sample number picking.

v2: idr pointed out a bug in how we picked the max sample counts,
use new internal format chooser interface to pick proper answers.
v3: use st_choose_format directly, it was okay, fix anding of masks.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_msaa.c
ead664e506be7b845e6e4ccb1e380c438f168f1b 17-Oct-2012 Brian Paul <brianp@vmware.com> st/mesa: silence MSVC double/unsigned assignment warning

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_msaa.c
127328bfadaa5f080730fd41f404f1bc74f490d3 17-May-2010 Roland Scheidegger <sroland@vmware.com> mesa/st: adapt to interface changes

adapt to blit changes, and also handle a bit more msaa state in theory
(incomplete, doesn't handle resolves in any way for now).
/external/mesa3d/src/mesa/state_tracker/st_atom_msaa.c