From: Dave Airlie
Just add support to the double case, same code should work.
Signed-off-by: Dave Airlie
---
src/compiler/glsl/link_uniform_initializers.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/compiler/glsl/link_uniform_initializers.cpp
b/src/compiler/g
From: Dave Airlie
This adds all the opcodes to tgsi_exec for softpipe to use.
It also enables the cap.
v2: add conversion opcodes.
Signed-off-by: Dave Airlie
---
src/gallium/auxiliary/tgsi/tgsi_exec.c | 673 +--
src/gallium/drivers/softpipe/sp_screen.c | 2 +
From: Dave Airlie
This enables 64-bit integer support in gallivm and
llvmpipe.
v2: add conversion opcodes.
Signed-off-by: Dave Airlie
---
src/gallium/auxiliary/gallivm/lp_bld_tgsi.c| 2 +
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h| 4 +
src/gallium/auxiliary/gallivm/lp_bld
From: Dave Airlie
Signed-off-by: Dave Airlie
---
src/mesa/state_tracker/st_extensions.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index 04f6b1a..6c08895 100644
--- a/src/mesa/state_tracker/st_extensions.c
From: Dave Airlie
This adds support for 64-bit integer constants to the parser,
ast and ir.
v2: fix a few issues found in testing.
Signed-off-by: Dave Airlie
---
src/compiler/glsl/ast.h | 4 ++
src/compiler/glsl/ast_function.cpp | 8 ++-
src/compiler/glsl/ast_to_hir
From: Dave Airlie
This just adds the usual boilerplate in mesa core.
Signed-off-by: Dave Airlie
---
src/mesa/main/extensions_table.h | 1 +
src/mesa/main/mtypes.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h
From: Dave Airlie
TODO: go back and fill this out to avoid warnings.
v1.1: move to using a normal CAP. (Marek)
Signed-off-by: Dave Airlie
---
src/gallium/include/pipe/p_defines.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/include/pipe/p_defines.h
b/src/gallium/include/pip
From: Dave Airlie
This adds 64-bit integer support to some AST and IR operations
where it is needed.
Signed-off-by: Dave Airlie
---
src/compiler/glsl/ast_to_hir.cpp | 12 ++--
src/compiler/glsl/ir_validate.cpp | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/s
From: Dave Airlie
v2: add conversion opcodes.
Signed-off-by: Dave Airlie
---
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 217 ++---
1 file changed, 198 insertions(+), 19 deletions(-)
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
b/src/mesa/state_tracker/st_
From: Dave Airlie
This adds support to TGSI for 64-bit integer immediates.
Signed-off-by: Dave Airlie
---
src/gallium/auxiliary/tgsi/tgsi_dump.c | 14 ++
src/gallium/auxiliary/tgsi/tgsi_exec.c | 2 ++
src/gallium/auxiliary/tgsi/tgsi_parse.c| 2 ++
src/gallium/auxiliary/tg
From: Dave Airlie
This adds support to call the new operations on conversions.
Signed-off-by: Dave Airlie
---
src/compiler/glsl/ast_function.cpp | 75 ++
src/compiler/glsl/ast_to_hir.cpp | 20 ++
2 files changed, 95 insertions(+)
diff --git a/src/
From: Dave Airlie
This adds all the conversions in the world, I'm not 100%
sure of all of these are needed, but add all of them and
we can cut them down later.
v2: fix issue with packing output types.
Reviewed-by: Ian Romanick
Signed-off-by: Dave Airlie
---
src/compiler/glsl/ir.cpp
From: Dave Airlie
We need builder support to implement some of the builtins.
Signed-off-by: Dave Airlie
---
src/compiler/glsl/ir_builder.cpp | 24
src/compiler/glsl/ir_builder.h | 6 ++
2 files changed, 30 insertions(+)
diff --git a/src/compiler/glsl/ir_builder
From: Dave Airlie
This passes all my current piglit tests except the variants on:
fs-op-div-int64_t-i64vec3
I'm guessing this is probably a backend bug.
[rfc: this needs more testing - just posting to show I've done
it]
Signed-off-by: Dave Airlie
---
src/gallium/drivers/radeon/radeon_llvm.h
From: Dave Airlie
This hooks up the API to the internals for 64-bit integer uniforms.
Signed-off-by: Dave Airlie
---
src/mesa/main/uniform_query.cpp | 60 +-
src/mesa/main/uniforms.c| 170 +++-
2 files changed, 225 insertions(+), 5 delet
From: Dave Airlie
As for the double code, but using the 64-bit integer conversions.
Signed-off-by: Dave Airlie
---
src/compiler/glsl/lower_packed_varyings.cpp | 62 +
1 file changed, 62 insertions(+)
diff --git a/src/compiler/glsl/lower_packed_varyings.cpp
b/src/c
From: Dave Airlie
This just adds the basic boilerplate support.
Signed-off-by: Dave Airlie
---
src/compiler/glsl/glcpp/glcpp-parse.y| 3 +++
src/compiler/glsl/glsl_parser_extras.cpp | 1 +
src/compiler/glsl/glsl_parser_extras.h | 7 +++
3 files changed, 11 insertions(+)
diff --git a
From: Dave Airlie
Just add operations to the switch statement here.
Signed-off-by: Dave Airlie
---
.../dri/i965/brw_fs_channel_expressions.cpp| 30 ++
1 file changed, 30 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp
b/src/mesa
From: Dave Airlie
These are all the allowed 64-bit functions from ARB_gpu_shader_int64
spec.
v2: restrict int64/double functions better.
Signed-off-by: Dave Airlie
---
src/compiler/glsl/builtin_functions.cpp | 179 +++-
1 file changed, 176 insertions(+), 3 deletion
From: Dave Airlie
This just adds the basic support for 64-bit opcodes,
and the new types.
v2: add conversion opcodes.
add documentation.
Signed-off-by: Dave Airlie
---
src/gallium/auxiliary/tgsi/tgsi_info.c | 92 +--
src/gallium/auxiliary/tgsi/tgsi_info.h | 4 +-
src/galliu
From: Dave Airlie
Just add support in two more places in ast parsing.
Signed-off-by: Dave Airlie
---
src/compiler/glsl/ast_to_hir.cpp | 5 +
1 file changed, 5 insertions(+)
diff --git a/src/compiler/glsl/ast_to_hir.cpp b/src/compiler/glsl/ast_to_hir.cpp
index 82fc922..3380a1a 100644
--- a
From: Dave Airlie
This adds 64-bit ints to the link_varyings 64-bit support.
Signed-off-by: Dave Airlie
---
src/compiler/glsl/link_varyings.h | 8
1 file changed, 8 insertions(+)
diff --git a/src/compiler/glsl/link_varyings.h
b/src/compiler/glsl/link_varyings.h
index 39e9070..a44f9f
From: Dave Airlie
Just add types into unsupported or double
equivalent spots.
Signed-off-by: Dave Airlie
---
src/mesa/drivers/dri/i965/brw_fs.cpp | 2 ++
src/mesa/drivers/dri/i965/brw_shader.cpp | 2 ++
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 2 ++
3 files changed, 6 i
From: Dave Airlie
This just adds the new operations and add 64-bit integer
support to all the existing cases where it is needed.
v2: fix some issues found in testing.
Signed-off-by: Dave Airlie
---
src/compiler/glsl/ir_constant_expression.cpp | 428 ---
1 file changed,
From: Dave Airlie
---
src/mesa/program/ir_to_mesa.cpp | 30 ++
1 file changed, 30 insertions(+)
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
index 94a6ca3..b010cbd 100644
--- a/src/mesa/program/ir_to_mesa.cpp
+++ b/src/mesa/program/i
From: Dave Airlie
This adds the builtins and the lexer support.
To avoid too many warnings, it adds basic
support to the type in a few other places
in mesa, mostly in the trivial places.
It also adds a query to be used later for
if a type is an integer 32 or 64.
Signed-off-by: Dave Airlie
---
Okay this is the second posting for the ARB_gpu_shader_int64 series.
This adds support for the conversion and plumbs the necessary ones
down through gallium and into the drivers. It documents the gallium
opcodes as well.
I haven't taken Ian's advice to macroise the GLSL constant
expression stuff
From: Dave Airlie
Just add the boilerplate xml code.
Signed-off-by: Dave Airlie
---
src/mapi/glapi/gen/ARB_gpu_shader_int64.xml | 262
src/mapi/glapi/gen/Makefile.am | 1 +
src/mapi/glapi/gen/gl_API.xml | 2 +
src/mesa/main/uniforms.c
This also fixes 'make check' for me.
--Aaron
On Sat, Jun 18, 2016 at 9:06 PM, wrote:
> From: Roland Scheidegger
>
> Apparently, these are deprecated. There's some AutoUpgrade feature which
> is supposed to promote these to cmp/select, which apparently doesn't work
> with jit code. It is possib
On 06/19/2016 04:09 PM, Ilia Mirkin wrote:
On Sun, Jun 19, 2016 at 9:56 AM, Samuel Pitoiset
wrote:
I don't know if you remember, but I suggested exactly the same patch few
days ago when I was looking at the Talos issue, but I was not really sure if
this was the "correct" fix.
Sorry, I had n
On Sun, Jun 19, 2016 at 9:56 AM, Samuel Pitoiset
wrote:
> I don't know if you remember, but I suggested exactly the same patch few
> days ago when I was looking at the Talos issue, but I was not really sure if
> this was the "correct" fix.
Sorry, I had no recollection of that - I only remember th
Looks correct to me.
Reviewed-by: Samuel Pitoiset
On 06/19/2016 06:47 AM, Ilia Mirkin wrote:
The generic version gets this right already, but this was using an
incorrect formula in SSE.
Signed-off-by: Ilia Mirkin
---
src/gallium/auxiliary/translate/translate_sse.c | 14 +++---
1 fil
I don't know if you remember, but I suggested exactly the same patch few
days ago when I was looking at the Talos issue, but I was not really
sure if this was the "correct" fix.
Anyways, this patch looks fine to me (even if we don't exactly know why
it works this way).
This will also improve
Reviewed-by: Samuel Pitoiset
On 06/18/2016 10:05 PM, Ilia Mirkin wrote:
If we have a loop, instructions before the tex might be added as tex
uses, and those may in fact dominate all other uses of the tex results.
This however doesn't mean that we don't need a texbar after the tex.
Only check if
Reviewed-by: Samuel Pitoiset
On 06/19/2016 06:54 AM, Ilia Mirkin wrote:
The start instance is applied as an offset into the buffer directly,
ignoring the divisor, not as an instance id offset that respects the
divisor.
Signed-off-by: Ilia Mirkin
Cc: "11.2 12.0"
---
v1 -> v2: use translate's
On Sat, Jun 18, 2016 at 7:06 PM, wrote:
> From: Roland Scheidegger
>
> Apparently, these are deprecated. There's some AutoUpgrade feature which
> is supposed to promote these to cmp/select, which apparently doesn't work
> with jit code. It is possible it's not actually even meant to work (see
>
36 matches
Mail list logo