From: David Heidelberg
Fixes bug: fdo #89978
Signed-off-by: David Heidelberg
Cc: "10.4 10.5 10.6"
---
configure.ac | 4
1 file changed, 4 insertions(+)
diff --git a/configure.ac b/configure.ac
index 4e751e3..c355092 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1632,6 +1632,10 @@ if
It wasn't giving the expected result.
This fixes some object being transparents
in games like FEAR.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_pipe.c | 12 +++-
src/gallium/state_trackers/nine/nine_state.c | 20
src/gallium/state_tra
This is quite rare that an app does set again
the same shaders, but it isn't an expensive check
either.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/device9.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/gallium/state_trackers/nine/device9.c
b/src/ga
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_shader.c | 36 ---
1 file changed, 27 insertions(+), 9 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_shader.c
b/src/gallium/state_trackers/nine/nine_shader.c
index 7e76d7d..9680c5a 100644
From: Patrick Rudolph
Return 0 for non MANAGED textures and surfaces.
Fixes failing wine d3d9 tests device.c test_resource_priority.
Reviewed-by: Axel Davy
Signed-off-by: Patrick Rudolph
---
src/gallium/state_trackers/nine/resource9.c | 10 --
1 file changed, 8 insertions(+), 2
Separate state preparation and state commit
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_pipe.c | 8
src/gallium/state_trackers/nine/nine_pipe.h | 2 +-
src/gallium/state_trackers/nine/nine_state.c | 23 ---
src/gallium/state_trackers/nine
For now the path updated is only used by Amd drivers, but a later
patch will make it used by all drivers. Some drivers like llvmpipe
doesn't support the uploading of constants from user buffers, so improve
the path to work for all drivers
Inspired from the gl state tracker.
Signed-off-by:
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/adapter9.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/gallium/state_trackers/nine/adapter9.c
b/src/gallium/state_trackers/nine/adapter9.c
index c5ffcb1..ff1c33c 100644
--- a/src/gallium
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_ff.c | 53 +++
1 file changed, 19 insertions(+), 34 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_ff.c
b/src/gallium/state_trackers/nine/nine_ff.c
index c08f5d3..9638d9c 100644
--- a
From: Christoph Bumiller
This type of blending is used for gallium nine software cursor
Signed-off-by: David Heidelberg
---
src/gallium/include/pipe/p_state.h | 1 +
src/gallium/state_trackers/nine/device9.c| 1 +
src/gallium/state_trackers/nine/swapchain9.c | 2 ++
src/mesa/stat
Always use a user constant buffer for ff.
It means we have to:
. commit the user constant buffer for ff when we use it
. commit back the non-ff constant buffer when we stop using it
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/device9.c| 8 ++
src/gallium/state_trackers
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/device9.c| 21 ++---
src/gallium/state_trackers/nine/device9.h| 3 ++-
src/gallium/state_trackers/nine/nine_state.c | 35
3 files changed, 24 insertions(+), 35 deletions(-)
diff --git
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_shader.c | 49 +++
1 file changed, 42 insertions(+), 7 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_shader.c
b/src/gallium/state_trackers/nine/nine_shader.c
index a11c4c7..d9a20a5 100644
Separate state preparation and state commit
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_pipe.c | 5 +++--
src/gallium/state_trackers/nine/nine_pipe.h | 2 +-
src/gallium/state_trackers/nine/nine_state.c | 27 +++
src/gallium/state_trackers/nine
It was only used to discriminate update framebuffer vs update
everything. Instead use two functions.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/device9.c| 14 +++---
src/gallium/state_trackers/nine/nine_state.c | 23 ++-
src/gallium
From: Patrick Rudolph
For the case of D3DPOOL_MANAGED textures, This->base.resource can be NULL
at the start of the function. In This case, UploadSelf will take care
of the defining. Assign resource after the UploadSelf call
to prevent NULL pointer exception.
Reviewed-by: Axel Davy
Signed-
From: Tiziano Bacocco
Signed-off-by: Tiziano Bacocco
---
src/gallium/state_trackers/nine/device9.c | 32 ++-
src/gallium/state_trackers/nine/nine_shader.c | 126 +++--
src/gallium/state_trackers/nine/nine_shader.h | 1 +
src/gallium/state_trackers/nine/nine_sta
Separate state preparation and state commit
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_pipe.c | 4 ++--
src/gallium/state_trackers/nine/nine_pipe.h | 2 +-
src/gallium/state_trackers/nine/nine_state.c | 23 ---
src/gallium/state_trackers/nine
The compiler was complaining the value may be uninitialised
when it is used (which is wrong). Initialize to NULL to silent
the warning.
---
src/gallium/state_trackers/nine/cubetexture9.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/nine/cubetexture
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_ff.c | 68 +++
1 file changed, 61 insertions(+), 7 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_ff.c
b/src/gallium/state_trackers/nine/nine_ff.c
index 1033050..6740274 100644
--- a
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_shader.c | 47 +++--
src/gallium/state_trackers/nine/nine_shader.h | 47 +
src/gallium/state_trackers/nine/nine_state.c| 43 +++---
src/gallium/state_trackers
There were flags all sm3 cards do advertise,
and we weren't.
Some games can trigger buggy rendering path
if the caps are not what they expect.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/adapter9.c | 26 +++---
1 file changed, 11 insertions(+), 15 dele
There was an unused variable
---
src/gallium/state_trackers/nine/nine_state.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/gallium/state_trackers/nine/nine_state.c
b/src/gallium/state_trackers/nine/nine_state.c
index 847cf1b..558d07a 100644
--- a/src/gallium/state_trackers/nine/nine_sta
From: Patrick Rudolph
Allow more than two errors, and return D3DERR_INVALIDCALL for failed display
resolution changes.
Reviewed-by: Axel Davy
Signed-off-by: Patrick Rudolph
---
src/gallium/state_trackers/nine/device9.c| 4 ++--
src/gallium/state_trackers/nine/swapchain9.c | 4 +++-
2
ned-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_state.c | 74
1 file changed, 43 insertions(+), 31 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_state.c
b/src/gallium/state_trackers/nine/nine_state.c
index 68f14d2..47e4148 100644
--- a/
From: Patrick Rudolph
Texture with pool D3DPOOL_SCRATCH and D3DPOOL_MANAGED cannot be used with flag
D3DUSAGE_DYNAMIC.
Signed-off-by: Patrick Rudolph
---
src/gallium/state_trackers/nine/basetexture9.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_trac
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_ff.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/nine/nine_ff.c
b/src/gallium/state_trackers/nine/nine_ff.c
index 9638d9c..4428ce6 100644
--- a/src/gallium/state_trackers/nine
Signed-off-by: Axel Davy
Reviewed-by: David Heidelberg
---
src/gallium/state_trackers/nine/pixelshader9.h | 1 -
src/gallium/state_trackers/nine/vertexshader9.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/src/gallium/state_trackers/nine/pixelshader9.h
b/src/gallium/state_trackers
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_state.c | 139 +++
1 file changed, 76 insertions(+), 63 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_state.c
b/src/gallium/state_trackers/nine/nine_state.c
index a439217..04b5f18 100644
Automatically switch to userbuf path when
we would need to upload fog or bumpmat
constants
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_state.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/src/gallium/state_trackers/nine/nine_state.c
b/src/gallium
From: Patrick Rudolph
In case NineBaseTexture9_ctor returns an error This->surfaces[l] might be NULL.
Reviewed-by: Axel Davy
Signed-off-by: Patrick Rudolph
---
src/gallium/state_trackers/nine/texture9.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gall
non-debug build was complaining
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_ff.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/state_trackers/nine/nine_ff.c
b/src/gallium/state_trackers/nine/nine_ff.c
index 59ea2cb..fe8933b 100644
--- a/src/gallium
non-debug build was complaining
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_shader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/nine/nine_shader.c
b/src/gallium/state_trackers/nine/nine_shader.c
index 9680c5a..28f2787
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/device9.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/nine/device9.c
b/src/gallium/state_trackers/nine/device9.c
index 2ac49a1..28daeba 100644
--- a/src/gallium/state_trackers
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/device9.c | 3 ++
src/gallium/state_trackers/nine/nine_shader.c | 59 --
src/gallium/state_trackers/nine/nine_shader.h | 1 +
src/gallium/state_trackers/nine/nine_state.c | 5 ++-
src/gallium
restore all states. Instead the commit of the constant
buffer is moved to nine_state, and the other field settings
moved to other functions where more appropriate.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/device9.c| 69 +--
src/gallium/state_trackers/nine/device9.h
Taken from wine tests
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_ff.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/gallium/state_trackers/nine/nine_ff.c
b/src/gallium/state_trackers/nine/nine_ff.c
index 6740274..59ea2cb 100644
--- a/src/gallium
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
---
src/gallium/state_trackers/nine/device9.c| 3 ---
src/gallium/state_trackers/nine/nine_pipe.c | 4 ++--
src/gallium/state_tra
It is very common for d3d9 apps to set again the constants
they need before every draw call, even if nothing changed.
Since we are mostly gpu bound, it is better to check
for change, and upload constants again (and thus use
gpu bandwith) only if the constants changed.
Signed-off-by: Axel Davy
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_state.c| 188 +++-
src/gallium/state_trackers/nine/nine_state.h| 4 +-
src/gallium/state_trackers/nine/pixelshader9.c | 30 +++-
src/gallium/state_trackers/nine/pixelshader9.h | 41 +-
src
The number of texture stages is 8.
'tex_stage' array was too big, and thus
the checks with 'Elements(state->ff.tex_stage)' were passing,
causing some invalid API calls to pass, and crash because of
out of bounds write since bumpmap_vars was just the correct size.
S
Wine tests were used to get it right.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_ff.c | 161 ++--
src/gallium/state_trackers/nine/nine_ff.h | 81
src/gallium/state_trackers/nine/vertexshader9.h | 2 +-
3 files changed, 174
On Sun, 16 Aug 2015, Axel Davy wrote:
void
-nine_convert_rasterizer_state(struct cso_context *ctx, const DWORD *rs)
+nine_convert_rasterizer_state(struct pipe_rasterizer_state *rast_state, const
DWORD *rs)
{
struct pipe_rasterizer_state rast;
-memset(&rast, 0, sizeof(rast)); /* me
.
User constant buffers are expected to be slower
for Nvidia cards, so ideally this patch should be
reverted when the path is fixed.
I add this patch to the list of patches I will merge today.
Axel DAvy
On 21/08/2015 13:05, Krzysztof A. Sobiecki wrote :
st/nine: Disable NV path, it's b
vendor, or advertise another vendor (some games do disable
some features for some cards).
Yours,
Axel Davy
On 17/08/2015 19:30, Benjamin Bellec write :
Hello,
Where does this mapping list come from ? Is this an official map
(Vendor or Windows drivers) ? Is that used just for information ?
Because
On 16/09/2016 14:51, Nayan Deshmukh wrote:
bool flushed;
+ bool is_different_gpu;
};
I get a warning when I build about incompatible pointer type at the line
fd = loader_get_user_preferred_fd(fd, &scrn->is_different_gpu);
When compiling on 32 bits.
I get this should be int.
Hi,
If I understand, there hasn't been yet statements on whether the freeze
is for Oct 7 or Oct 14.
Could there be one ?
I'd prefer myself Oct 14, because we have a lot of patches for nine, and
they deserve more cleaning and testing, but if it's Oct 7, we'll try be
on time.
Axel
On 29/09
On 04/10/2016 12:32, Emil Velikov wrote:
On 2 October 2016 at 14:17, Axel Davy wrote:
Hi,
If I understand, there hasn't been yet statements on whether the freeze is
for Oct 7 or Oct 14.
Could there be one ?
I'd prefer myself Oct 14, because we have a lot of patches for nine
The new defines will be reused in a later patch.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_defines.h | 8
src/gallium/state_trackers/nine/swapchain9.c | 8
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/gallium/state_trackers/nine
Fixes several game bugs with nine.
Fixes https://github.com/iXit/Mesa-3D/issues/234
Signed-off-by: Axel Davy
Signed-off-by: Patrick Rudolph
Cc: "12.0"
---
src/gallium/auxiliary/util/u_box.h | 31 ---
1 file changed, 20 insertions(+), 11 deletions(-)
di
Uses the new defines introduced in previous commit.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/adapter9.c | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/src/gallium/state_trackers/nine/adapter9.c
b/src/gallium/state_trackers/nine
d3d9 doesn't have seamless cubemap.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/device9.c | 2 +-
src/gallium/state_trackers/nine/nine_pipe.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/nine/device9.c
b/src/ga
This will help to support swvp constants.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/device9.c | 35 +++
src/gallium/state_trackers/nine/nine_state.c | 4 +--
src/gallium/state_trackers/nine/nine_state.h | 4 +--
src/gallium/state_trackers/nine
To implement the feature we copy the ps inputs to a temp array.
This is not optimal for performance, but it is the simplest solution.
This is a feature that is very very rarely used.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_shader.c | 30 ---
1
In mixed vertex processing, the user can enable or disable
software vertex processing. It is on hardware by default.
This feature is not a state, and thus the setting doesn't
need to be recorded by stateblocks.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/device9.c
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/swapchain9.c | 43 +---
src/gallium/state_trackers/nine/swapchain9.h | 8 +++---
2 files changed, 11 insertions(+), 40 deletions(-)
diff --git a/src/gallium/state_trackers/nine/swapchain9.c
b/src/gallium
Processing
should now work, and The Sims 2 (which needs ProcessVertices with vs3
support) works (These are not yet supported by wine ogl, but this is
likely to come as well on their side in some near future).
Yours,
Axel
Axel Davy (50):
llvmpipe: Fix overflow for 32 bits available memory
Fixes crash after Reset() when using thread_submit=true
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/swapchain9.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/gallium/state_trackers/nine/swapchain9.c
b/src/gallium/state_trackers/nine/swapchain9.c
index bc34dd2
no behaviour change, actually
solved a visual bug observed on a sample program.
This was due to ureg_normalize3 polluting a temporary
variable.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_ff.c | 233 +-
1 file changed, 135 insertions(+), 98
swvp has relaxed limits (more nested loops, etc).
In particular it enables more constants.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_shader.c | 156 ++--
src/gallium/state_trackers/nine/nine_shader.h | 2 +
src/gallium/state_trackers/nine
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/device9.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/nine/device9.c
b/src/gallium/state_trackers/nine/device9.c
index f2317b6..e4ede6e 100644
--- a/src/gallium/state_trackers/nine
This change makes easier to introduce tracking for
swvp constants.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/device9.c | 14 +++---
src/gallium/state_trackers/nine/nine_state.c | 18 +
src/gallium/state_trackers/nine/nine_state.h | 8 +++---
src/gallium
position_t disables fog computation.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_ff.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_ff.c
b/src/gallium/state_trackers/nine/nine_ff.c
index 7b3c67c..40717f1
When this state is set, the normals computed
in the vs ff shader should be normalized.
Signed-off-by: Axel Davy
Signed-off-by: Patrick Rudolph s...@das-labor.org
---
src/gallium/state_trackers/nine/nine_ff.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/gallium
From: Patrick Rudolph
Signed-off-by: Patrick Rudolph
Reviewed-by: Axel Davy
---
src/gallium/state_trackers/nine/swapchain9.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/gallium/state_trackers/nine/swapchain9.c
b/src/gallium/state_trackers/nine/swapchain9
The new order simplified the code a bit for
next patches.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_ff.c | 124 +-
1 file changed, 72 insertions(+), 52 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_ff.c
b/src/gallium
Deduced by test on windows.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_ff.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_ff.c
b/src/gallium/state_trackers/nine/nine_ff.c
index 4c92920..86e1420 100644
rash on Windows.
Increase buffersize for ATI1 to fix this crash.
The same issue was present in WINE but a patch has been sent by me.
Signed-off-by: Patrick Rudolph
Reviewed-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_pipe.h | 21 +
src/gallium/state_trackers/nine/surface
From: Patrick Rudolph
To ease debugging print interface id.
Signed-off-by: Patrick Rudolph
Reviewed-by: Axel Davy
---
src/gallium/state_trackers/nine/surface9.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/src/gallium/state_trackers/nine/surface9.c
b/src/gallium/state_trackers
According to spec.
Signed-off-by: Axel Davy
Signed-off-by: Patrick Rudolph
---
src/gallium/state_trackers/nine/nine_ff.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_ff.c
b/src/gallium/state_trackers/nine/nine_ff.c
index 924cb4c
This path has been disabled for some time because
of some bugs with it. It hasn't been updated to the
new features, and is not faster.
Signed-off-by: Axel Davy
Signed-off-by: Patrick Rudolph
---
src/gallium/state_trackers/nine/device9.c| 26
src/gallium/state_trackers/nine/devi
Fixes a softpipe assertion failure with wine tests
Signed-off-by: Axel Davy
Signed-off-by: Patrick Rudolph
---
src/gallium/state_trackers/nine/nine_ff.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/nine/nine_ff.c
b/src/gallium
For now only VS 3 support is implemented.
This enables The Sims 2 to work.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/device9.c | 143 +---
src/gallium/state_trackers/nine/device9.h | 7 +
src/gallium/state_trackers/nine/nine_shader.c | 69
This behaviour has been partially tested on windows.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_ff.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_ff.c
b/src/gallium/state_trackers/nine/nine_ff.c
From: Patrick Rudolph
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
Reviewed-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_pipe.c | 14
Fix deduced from the spec.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_ff.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_ff.c
b/src/gallium/state_trackers/nine/nine_ff.c
index c2ce352..2c237f4 100644
--- a
From: Patrick Rudolph
Switch {Set/Get/Free}PrivateData function to introduced IUnknown functions.
Signed-off-by: Patrick Rudolph
Reviewed-by: Axel Davy
---
src/gallium/state_trackers/nine/cubetexture9.c | 6 +-
src/gallium/state_trackers/nine/indexbuffer9.c | 6 +-
src/gallium
From: Patrick Rudolph
To ease debugging print interface id.
Signed-off-by: Patrick Rudolph
Reviewed-by: Axel Davy
---
src/gallium/state_trackers/nine/volume9.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/src/gallium/state_trackers/nine/volume9.c
b/src/gallium/state_trackers
Fixes hangs on radeonsi, and assert on llvmpipe.
Signed-off-by: Axel Davy
Cc: "12.0"
---
src/gallium/state_trackers/nine/nine_shader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/nine/nine_shader.c
b/src/gallium/state_tra
From: Patrick Rudolph
Move assert to function entry.
Signed-off-by: Patrick Rudolph
Reviewed-by: Axel Davy
---
src/gallium/state_trackers/nine/surface9.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/nine/surface9.c
b/src/gallium
From: Patrick Rudolph
Return error instead of crashing on source surfaces
with format D3DFMT_NULL.
Fix for issue #236.
Tested on Windows 7.
Signed-off-by: Patrick Rudolph
Reviewed-by: Axel Davy
---
src/gallium/state_trackers/nine/device9.c | 2 ++
1 file changed, 2 insertions(+)
diff
Found reading msdn and checking Wine.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_ff.c | 21 +
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_ff.c
b/src/gallium/state_trackers/nine/nine_ff.c
index
D3DFMT_NULL is mapped to PIPE_FORMAT_NONE.
Instead of relying on PIPE_FORMAT_NONE to
return a size, pick one.
The one picked is the same than Wine.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_pipe.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium
From: Patrick Rudolph
Add debug output to ease debugging.
Signed-off-by: Patrick Rudolph
Reviewed-by: Axel Davy
---
src/gallium/state_trackers/nine/swapchain9.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/state_trackers/nine/swapchain9.c
b/src/gallium/state_trackers
There was an multiplication by the world matrix 0
which had nothing to do there.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_ff.c | 27 ++-
1 file changed, 10 insertions(+), 17 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_ff.c
b
Buffers with this flag must be usable with both software
and hardware vertex processing. Use Staging for fast cpu access.
Signed-off-by: Axel Davy
Signed-off-by: Patrick Rudolph
---
src/gallium/state_trackers/nine/buffer9.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
Behaviour checked with a test app.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/adapter9.c | 2 +-
src/gallium/state_trackers/nine/nine_ff.c | 32 +++---
2 files changed, 30 insertions(+), 4 deletions(-)
diff --git a/src/gallium/state_trackers/nine
Signed-off-by: Axel Davy
Signed-off-by: Patrick Rudolph
---
src/gallium/state_trackers/nine/nine_ff.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/nine/nine_ff.c
b/src/gallium/state_trackers/nine/nine_ff.c
index 12d422b..ce19b9b 100644
--- a
From: Patrick Rudolph
According to MSDN the device is returned for surfaces that do
not have a regular container.
Such surfaces are:
OffscreenPlainSurface, DepthStencilSurface and RenderTarget
Tested and verified on Windows.
Signed-off-by: Patrick Rudolph
Reviewed-by: Axel Davy
---
src
Modern cards do advertise 8.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/adapter9.c | 2 +-
src/gallium/state_trackers/nine/nine_ff.c | 8
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/gallium/state_trackers/nine/adapter9.c
b/src/gallium
Signed-off-by: Axel Davy
Signed-off-by: Patrick Rudolph
---
src/gallium/state_trackers/nine/nine_ff.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_ff.c
b/src/gallium/state_trackers/nine/nine_ff.c
index 18d00a7..56876f0 100644
From: Patrick Rudolph
Use strict aliasing in SetPrivateData and struct pheader.
Casting char[1] to IUnknown** isn't allowed in strict aliasing.
Compute pointer to body by adding size of header to header pointer.
Signed-off-by: Patrick Rudolph
Reviewed-by: Axel Davy
---
src/ga
From: Patrick Rudolph
Allocate resources in surface ctor.
Allows to use statetracker internal memory accounting.
Fix for issue #231.
Signed-off-by: Patrick Rudolph
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/device9.c | 53 ---
src/gallium
And cap to 2 GB on 32 bits.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=94561
Signed-off-by: Axel Davy
Signed-off-by: Patrick Rudolph
---
src/gallium/auxiliary/os/os_misc.c | 2 +-
src/gallium/drivers/llvmpipe/lp_screen.c | 5 +
2 files changed, 6 insertions(+), 1 deletion
Wine tests for the passthrough feature are for positiont.
Nothing seems to indicate passthrough happens when positiont
it not used. However having passthrough with positiont makes
sense (to be used with ProcessVertices outputs).
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine
The formula is different from the one of the spec,
but otherwise nothing particular.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_ff.c | 26 +-
1 file changed, 21 insertions(+), 5 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_ff.c
From: Patrick Rudolph
Check for errors and pass them to the callers.
Signed-off-by: Patrick Rudolph
Reviewed-by: Axel Davy
---
src/gallium/state_trackers/nine/swapchain9.c | 8
1 file changed, 8 insertions(+)
diff --git a/src/gallium/state_trackers/nine/swapchain9.c
b/src/gallium
Found with wine tests for the rTmp register.
Not sure for the other ones.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/nine_ff.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/src/gallium/state_trackers/nine/nine_ff.c
b/src/gallium/state_trackers/nine/nine_ff.c
index
ch.
Fixes several old games not having multisample support until now.
Fix for issue #73.
Signed-off-by: Patrick Rudolph
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/adapter9.c | 20 --
src/gallium/state_trackers/nine/device9.c| 8 +++-
src/gallium/state_tra
force
the resource_copy_region path, which should be fine without
PIPE_BIND_SAMPLER_VIEW.
Thus fix the check for 1), and remove the code.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/adapter9.c | 6 +-
src/gallium/state_trackers/nine/swapchain9.c | 16
2 files
101 - 200 of 1092 matches
Mail list logo