eb884a4ac2579a8c15a0548e0a72cf9cc07530e0 |
|
28-Oct-2016 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Integrate nine_pipe_context_clear to nine_context_clear Part of the refactor to move all gallium calls to nine_state.c, and have all internal states required for those calls in nine_context. Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
b95205b1f28ba23d88bc24bbb663b1e4938bbb48 |
|
28-Oct-2016 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Move pipe and cso to nine_context Part of the refactor to move all gallium calls to nine_state.c, and have all internal states required for those calls in nine_context. Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
c7237e2c5c9935d80f04f2793bde9489ca6bda9d |
|
28-Oct-2016 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Access pipe_context via NineDevice9_GetPipe Except for nine_ff and nine_state. Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
09edc0555f91d76001b1ffc0e656b0614abb809a |
|
24-Sep-2016 |
Patrick Rudolph <siro@das-labor.org> |
st/nine: Set CLAMP_TO_EDGE on cubetextures Wine tests show that cubetextures always use PIPE_TEX_WRAP_CLAMP_TO_EDGE regardless of set sampler states. Fixes failing d3d9 wine test test_cube_wrap. Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
9ff0dc31296fe8b40689948101ba2eb6e56a3755 |
|
17-Apr-2016 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Disable seamless cubemap for d3d d3d9 doesn't have seamless cubemap. Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
b76fa5673924ce09e28f3000808e3bd50ffe4570 |
|
14-Jun-2016 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Use offset_units_unscaled offset_units_unscaled enables proper support for depth bias for gallium nine. Use it if available. Solves issues with some games using depth bias. For example: https://github.com/iXit/Mesa-3D/issues/220 Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
9cae3cdc890b2aa261d635667a5850929a0913f5 |
|
03-Apr-2016 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Fix usage of rasterizer multisample bit. pipe_rasterizer multisample bit should be enabled only when really wanting to do multisampling, thus we should disable when not having msaa render target. This fixes some depth calculation precision issues on radeon. Also disable it when depth and stencil tests are disabled, since in that case multisampling is same as not multisampled. Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
f297e7de0f3fc0bd4fec483d4bf778a9678992c7 |
|
03-Apr-2016 |
Axel Davy <axel.davy@ens.fr> |
st/nine: ATOC has effect only with ALPHATESTENABLE ATOC extension does something only when alpha test is enabled. Use a second bit to encode the difference with ATIATOC. Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
10e548c0c954d50a594728b228f8d59b76579956 |
|
07-Mar-2016 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Add support for X8L8V8U8 X8L8V8U8 support should be common. Some more recent cards do support this format, but not L6V5U5. Add fallback for this format to have it alwaus supported. L6V5U5 conversion rule apparently differs a bit from the normal spec, and thus the gallium equivalent format leads to slightly wrong colors. Since some recent cards do not support it, do not support it either. Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
e85ef7d8e501b3f0a94d8e53fbd3372ba24b89ec |
|
04-Jan-2016 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Use linear filtering for shadow mapping Some docs say linear filtering is always used when app does shadow mapping. Signed-off-by: Axel Davy <axel.davy@ens.fr> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
eeeab8d6b48ff83c0f42480fcd43031c34bda33f |
|
09-Nov-2015 |
Patrick Rudolph <siro@das-labor.org> |
st/nine: Support D3DFMT_R8G8B8 Add support for D3DFMT_R8G8B8. It allows format conversion for surfaces of pool scratch. Usually gallium formats equivalents for d3d9 formats have their names reversed. The gallium format PIPE_FORMAT_R8G8B8_UNORM is the right equivalent here, and its name is likely wrong (reversed). Fixes a crash in TmNationsForever. Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
f15ff98e2c53f6ce62443b24e3a9cf79c60ddff7 |
|
14-May-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Use CSO cache for sampler views The CSO cache unbinds views that are not needed anymore, which we don't do. It checks for change before committing the views. Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
bae2c7c15444b02a4820e3182c345545bd348561 |
|
13-Aug-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Remove NINED3DRS_ZBIASSCALE It wasn't giving the expected result. This fixes some object being transparents in games like FEAR. Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
a3f0d21da9a33e58a4be41f65f77eebe1dd85841 |
|
24-Mar-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Rework blend states Separate state preparation and state commit Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
5a2302b5ece2edf944b474eeb19ad7fc17906e7d |
|
24-Mar-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Rework rasterizer states Separate state preparation and state commit Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
71616d0c501077a04deb4f2a3cc115b50634763d |
|
15-May-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Reorder DSA state settings Separate state preparation and state commit Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
1b645df2f309833cca5dbeaa2deceeda36a7426c |
|
19-Apr-2015 |
Patrick Rudolph <siro@das-labor.org> |
st/nine: Account POINTSIZE_MIN and POINTSIZE_MAX for point size When using D3DRS_POINTSIZE make sure the value is at least D3DRS_POINTSIZE_MIN but not greater than D3DRS_POINTSIZE_MAX. Fixes some Wine tests. Reviewed-by: Axel Davy <axel.davy@ens.fr> Signed-off-by: Patrick Rudolph <siro@das-labor.org>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
3c4864fa5539d6b34863c28f3650289fd2a4ce93 |
|
16-May-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Always set point_quad_rasterization to 1 Both Points and Point Sprites are rasterized like quads, according to d3d9 doc and gallium rasterizer doc. Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
a2a1a5805fd617e7f3cc8be44dd79b50da07ebb9 |
|
21-Jul-2015 |
Ilia Mirkin <imirkin@alum.mit.edu> |
gallium: replace INLINE with inline Generated by running: git grep -l INLINE src/gallium/ | xargs sed -i 's/\bINLINE\b/inline/g' git grep -l INLINE src/mesa/state_tracker/ | xargs sed -i 's/\bINLINE\b/inline/g' git checkout src/gallium/state_trackers/clover/Doxyfile and manual edits to src/gallium/include/pipe/p_compiler.h src/gallium/README.portability to remove mentions of the inline define. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Acked-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
0a4aaf1d411360c2a557fb016ffcb41f2701b9a2 |
|
14-Jan-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Implement AMD alpha to coverage This D3D hack is supposed to be supported by all AMD SM2+ cards. Apps use it without checking if they are on AMD. Reviewed-by: Tiziano Bacocco <tizbac2@gmail.com> Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
27e438e35630819914bd42c5aa27fe6e53ebe491 |
|
10-Jan-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Refactor format d3d9 to pipe conversion Move the checks of whether the format is supported into a common place. The advantage is that allows to handle when a d3d9 format can be mapped to several formats, and that cards don't support all of them. Reviewed-by: Tiziano Bacocco <tizbac2@gmail.com> Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
f8713b1bfd0099e262f1224bb5fb02ee42838d55 |
|
10-Jan-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Refactor nine_d3d9_to_pipe_format_map The order of the format is changed to have an increasing ordering of the d3d9 format values. Some missing formats are added and matched to PIPE_FORMAT_NONE Reviewed-by: Tiziano Bacocco <tizbac2@gmail.com> Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|
fdd96578ef2dfe9c4ad5aab5858036298d444a64 |
|
04-Aug-2011 |
Joakim Sindholt <opensource@zhasha.com> |
nine: Add state tracker nine for Direct3D9 (v3) Work of Joakim Sindholt (zhasha) and Christoph Bumiller (chrisbmr). DRI3 port done by Axel Davy (mannerov). v2: - nine_debug.c: klass extended from 32 chars to 96 (for sure) by glennk - Nine improvements by Axel Davy (which also fixed some wine tests) - by Emil Velikov: - convert to static/shared drivers - Sort and cleanup the includes - Use AM_CPPFLAGS for the defines - Add the linker garbage collector - Restrict the exported symbols (think llvm) v3: - small nine fixes - build system improvements by Emil Velikov v4: [Emil Velikov] - Do no link against libudev. No longer needed. Acked-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Axel Davy <axel.davy@ens.fr> Signed-off-by: David Heidelberg <david@ixit.cz>
/external/mesa3d/src/gallium/state_trackers/nine/nine_pipe.c
|