Tested on a few cards. Probably works quite well for most, given they should
all be GDDR3.
Signed-off-by: Roy Spliet rspl...@eclipso.eu
---
drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
Signed-off-by: Roy Spliet rspl...@eclipso.eu
---
drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ramcfg.h | 1 +
drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.c | 3 ++-
drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.c | 2 ++
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gddr3.c
On 24.05.2015 16:15, Pierre Moreau wrote:
On 24 May 2015, at 16:03, Tobias Klausmann
tobias.johannes.klausm...@mni.thm.de wrote:
On 24.05.2015 10:38, Samuel Pitoiset wrote:
On 05/24/2015 06:58 AM, Ilia Mirkin wrote:
nv30_validate_clip depends on the rasterizer state. Also we should
Signed-off-by: Roy Spliet rspl...@eclipso.eu
---
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gddr3.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/fb/gddr3.c
b/drivers/gpu/drm/nouveau/nvkm/subdev/fb/gddr3.c
index 8d759f8a..4465446
On 24 May 2015, at 16:03, Tobias Klausmann
tobias.johannes.klausm...@mni.thm.de wrote:
On 24.05.2015 10:38, Samuel Pitoiset wrote:
On 05/24/2015 06:58 AM, Ilia Mirkin wrote:
nv30_validate_clip depends on the rasterizer state. Also we should
upload all the new clip planes on
On 24.05.2015 10:38, Samuel Pitoiset wrote:
On 05/24/2015 06:58 AM, Ilia Mirkin wrote:
nv30_validate_clip depends on the rasterizer state. Also we should
upload all the new clip planes on change since next time the plane data
won't have changed, but the enables might.
Signed-off-by: Ilia
- What about signature files that are required for secure boot?
As with above, if it's possible to ship them in a single file with the
ucode that it belongs to, that'd be ideal. It's not a huge deal
though.
So here we actually have several files - it is kind of a mess
actually. However I
On 05/24/2015 06:58 AM, Ilia Mirkin wrote:
nv30_validate_clip depends on the rasterizer state. Also we should
upload all the new clip planes on change since next time the plane data
won't have changed, but the enables might.
Signed-off-by: Ilia Mirkin imir...@alum.mit.edu
---
Signed-off-by: Tobias Klausmann tobias.johannes.klausm...@mni.thm.de
---
src/mapi/glapi/gen/gl_API.xml | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index 3090b9f..a792056 100644
---
This patch series adds the needed support for this extension to the various
parts of mesa to finally enable it for nvc0.
Dave Airlie (1):
glsl: lower cull_distance into cull_distance_mesa
Tobias Klausmann (10):
glapi: add GL_ARB_cull_distance
mesa/main: add support for GL_ARB_cull_distance
Signed-off-by: Tobias Klausmann tobias.johannes.klausm...@mni.thm.de
---
src/mesa/main/extensions.c | 1 +
src/mesa/main/get.c | 26 ++
src/mesa/main/get_hash_params.py | 4
src/mesa/main/mtypes.h | 22
Signed-off-by: Tobias Klausmann tobias.johannes.klausm...@mni.thm.de
---
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 2 +-
src/mesa/drivers/dri/i965/brw_gs.c | 2 +-
src/mesa/drivers/dri/i965/brw_vec4.cpp | 2 +-
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 2 +-
Signed-off-by: Tobias Klausmann tobias.johannes.klausm...@mni.thm.de
---
src/glsl/glsl_types.cpp | 8
src/glsl/glsl_types.h | 10 --
src/glsl/linker.cpp | 2 +-
3 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/src/glsl/glsl_types.cpp
For when you resend, I tend to name things like this nv50/ir or
nvc0/ir. In this case, I would have chosen nv50/ir since it
applies to both nvc0 and nv50. When it's a driver change, I just call
it nv50: or nvc0: (even if it might include small codegen
changes).
On Sun, May 24, 2015 at 1:58 PM,
From: Dave Airlie airl...@redhat.com
Signed-off-by: Tobias Klausmann tobias.johannes.klausm...@mni.thm.de
---
src/glsl/Makefile.sources| 1 +
src/glsl/ir_optimization.h | 1 +
src/glsl/link_varyings.cpp | 15 +-
src/glsl/link_varyings.h | 3 +-
Signed-off-by: Tobias Klausmann tobias.johannes.klausm...@mni.thm.de
---
src/glsl/ast_to_hir.cpp | 14 +
src/glsl/builtin_variables.cpp | 13 +++-
src/glsl/glcpp/glcpp-parse.y| 3 +
src/glsl/glsl_parser_extras.cpp | 1 +
src/glsl/glsl_parser_extras.h |
Signed-off-by: Tobias Klausmann tobias.johannes.klausm...@mni.thm.de
---
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 5 +
1 file changed, 5 insertions(+)
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
Signed-off-by: Tobias Klausmann tobias.johannes.klausm...@mni.thm.de
---
src/mesa/state_tracker/st_extensions.c | 4
src/mesa/state_tracker/st_program.c| 34 ++
2 files changed, 38 insertions(+)
diff --git a/src/mesa/state_tracker/st_extensions.c
This enables ARB_cull_distance.
Signed-off-by: Tobias Klausmann tobias.johannes.klausm...@mni.thm.de
---
docs/GL3.txt | 2 +-
docs/relnotes/10.7.0.html | 4 +++-
src/gallium/drivers/nouveau/nvc0/nvc0_program.c| 6
Add another pipe cap so we can savely enable of disable this extension
Signed-off-by: Tobias Klausmann tobias.johannes.klausm...@mni.thm.de
---
src/gallium/auxiliary/cso_cache/cso_context.c| 3 +++
src/gallium/drivers/freedreno/freedreno_screen.c | 1 +
src/gallium/drivers/i915/i915_screen.c
Signed-off-by: Tobias Klausmann tobias.johannes.klausm...@mni.thm.de
---
src/mesa/program/prog_print.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/mesa/program/prog_print.c b/src/mesa/program/prog_print.c
index d588d07..e8855cd 100644
--- a/src/mesa/program/prog_print.c
+++
I'm having a bit of trouble tracing through this. What happens if I
have a shader that just does:
gl_ClipDistance[0] = 1;
gl_CullDistance[0] = 1;
what does the resulting TGSI look like? (Assuming that clip plane 0 is
enabled.) What about the generated nvc0 code (for the vertex shader)?
On Sun,
On Sun, May 24, 2015 at 7:58 PM, Tobias Klausmann
tobias.johannes.klausm...@mni.thm.de wrote:
Signed-off-by: Tobias Klausmann tobias.johannes.klausm...@mni.thm.de
---
src/mesa/state_tracker/st_extensions.c | 4
src/mesa/state_tracker/st_program.c| 34
On 24.05.2015 20:11, Ilia Mirkin wrote:
On Sun, May 24, 2015 at 1:58 PM, Tobias Klausmann
tobias.johannes.klausm...@mni.thm.de wrote:
Signed-off-by: Tobias Klausmann tobias.johannes.klausm...@mni.thm.de
---
src/mesa/main/extensions.c | 1 +
src/mesa/main/get.c |
On Sun, May 24, 2015 at 3:30 PM, Tobias Klausmann
tobias.johannes.klausm...@mni.thm.de wrote:
On 24.05.2015 20:25, Ilia Mirkin wrote:
I'm having a bit of trouble tracing through this. What happens if I
have a shader that just does:
gl_ClipDistance[0] = 1;
gl_CullDistance[0] = 1;
what
On Sun, May 24, 2015 at 10:56 AM, Tobias Klausmann
tobias.johannes.klausm...@mni.thm.de wrote:
On 24.05.2015 16:15, Pierre Moreau wrote:
On 24 May 2015, at 16:03, Tobias Klausmann
tobias.johannes.klausm...@mni.thm.de wrote:
On 24.05.2015 10:38, Samuel Pitoiset wrote:
On 05/24/2015
Would it be possible to modify lower_clip_distance to add support for
cull distances instead of duplicating it?
Marek
On Sun, May 24, 2015 at 7:58 PM, Tobias Klausmann
tobias.johannes.klausm...@mni.thm.de wrote:
From: Dave Airlie airl...@redhat.com
Signed-off-by: Tobias Klausmann
On Sun, May 24, 2015 at 11:52 AM, Tobias Klausmann
tobias.johannes.klausm...@mni.thm.de wrote:
On 24.05.2015 17:42, Ilia Mirkin wrote:
On Sun, May 24, 2015 at 10:56 AM, Tobias Klausmann
tobias.johannes.klausm...@mni.thm.de wrote:
On 24.05.2015 16:15, Pierre Moreau wrote:
On 24 May 2015,
On Sun, May 24, 2015 at 1:58 PM, Tobias Klausmann
tobias.johannes.klausm...@mni.thm.de wrote:
Signed-off-by: Tobias Klausmann tobias.johannes.klausm...@mni.thm.de
---
src/mesa/main/extensions.c | 1 +
src/mesa/main/get.c | 26 ++
On 24.05.2015 20:12, Marek Olšák wrote:
On Sun, May 24, 2015 at 7:58 PM, Tobias Klausmann
tobias.johannes.klausm...@mni.thm.de wrote:
Signed-off-by: Tobias Klausmann tobias.johannes.klausm...@mni.thm.de
---
src/mesa/state_tracker/st_extensions.c | 4
On 24.05.2015 17:42, Ilia Mirkin wrote:
On Sun, May 24, 2015 at 10:56 AM, Tobias Klausmann
tobias.johannes.klausm...@mni.thm.de wrote:
On 24.05.2015 16:15, Pierre Moreau wrote:
On 24 May 2015, at 16:03, Tobias Klausmann
tobias.johannes.klausm...@mni.thm.de wrote:
On 24.05.2015 10:38,
On 24.05.2015 20:25, Ilia Mirkin wrote:
I'm having a bit of trouble tracing through this. What happens if I
have a shader that just does:
gl_ClipDistance[0] = 1;
gl_CullDistance[0] = 1;
what does the resulting TGSI look like? (Assuming that clip plane 0 is
enabled.) What about the generated
On 24.05.2015 21:36, Ilia Mirkin wrote:
On Sun, May 24, 2015 at 3:30 PM, Tobias Klausmann
tobias.johannes.klausm...@mni.thm.de wrote:
On 24.05.2015 20:25, Ilia Mirkin wrote:
I'm having a bit of trouble tracing through this. What happens if I
have a shader that just does:
gl_ClipDistance[0]
It's the same on Radeon. There are 2x ClipOrCullDistance output
vectors and a mask saying it should clip or cull or do nothing.
Marek
On Sun, May 24, 2015 at 9:56 PM, Tobias Klausmann
tobias.johannes.klausm...@mni.thm.de wrote:
On 24.05.2015 21:36, Ilia Mirkin wrote:
On Sun, May 24, 2015 at
Op 23-05-15 om 08:45 schreef Alexandre Courbot:
On Fri, May 22, 2015 at 3:23 AM, Martin Peres martin.pe...@free.fr wrote:
On 21/05/2015 11:47, Ben Skeggs wrote:
On 21 May 2015 at 16:08, Alexandre Courbot acour...@nvidia.com wrote:
Add a flag allowing Nouveau to specify that an object should be
35 matches
Mail list logo