CC: <mesa-sta...@lists.freedesktop.org>
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
src/mesa/main/fbobject.c | 72 +++-
1 file changed, 41 insertions(+), 31 deletions(-)
diff --git a/src/mesa/main/fbobject.c b/src/mesa/mai
It was put in pipe_context because get_sample_position was there. It's
not really a strong reason to have it there though, so I'll put it in
pipe_screen.
On Wed, May 9, 2018 at 2:37 AM, Marek Olšák wrote:
> BTW, is there any reason for get_sample_pixel_grid to be in
Rhys Perry (4):
mesa: add support for nvidia conservative rasterization extensions
gallium: add initial support for conservative rasterization
st/mesa: add support for nvidia conservative rasterization extensions
nvc0: add conservative rasterization support
src/gallium/docs/source/cso
Although the specs are written against compatibility GL 4.3 and allows core
profile and GLES2+, it is exposed for GL 1.0+ and GLES1 and GLES2+.
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
src/mapi/glapi/gen/gl_API.xml | 47
src/mapi/glapi/gen/gl_gene
Although the specs are written against compatibility GL 4.3 and allows core
profile and GLES2+, it is exposed for GL 1.0+ and GLES1 and GLES2+.
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
src/mapi/glapi/gen/gl_API.xml | 47
src/mapi/glapi/gen/gl_gene
into pipe_rasterizer_state
- set the conservative rasterization state using a PGRAPH macro
Changes in v2:
- fix indentation error in gl_API.xml
- fix code to handle earlier hardware
Rhys Perry (4):
mesa: add support for nvidia conservative rasterization extensions
gallium: add initial support
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
src/mesa/state_tracker/st_atom_rasterizer.c | 15 +
src/mesa/state_tracker/st_context.c | 2 ++
src/mesa/state_tracker/st_extensions.c | 34 +
3 files changed, 51 insertions(+)
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
docs/features.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/features.txt b/docs/features.txt
index e786bbecf4..2eac14fb32 100644
--- a/docs/features.txt
+++ b/docs/features.txt
@@ -305,7 +305,7 @@ Khrono
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
src/gallium/auxiliary/util/u_framebuffer.c | 30 +++
src/gallium/auxiliary/util/u_framebuffer.h | 5
src/gallium/docs/source/context.rst | 3 +++
src/gallium/docs/source/scre
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
src/mapi/glapi/gen/gl_API.xml | 104 +
src/mesa/main/config.h | 9 ++
src/mesa/main/dd.h | 9 ++
src/mesa/main/extensions_table.h| 2 +
src/mesa/main/fbob
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
src/mesa/state_tracker/st_atom.h | 2 +-
src/mesa/state_tracker/st_atom_list.h | 2 +-
src/mesa/state_tracker/st_atom_msaa.c | 77 +-
src/mesa/state_tracker/st_cb_msaa.c| 27 +++
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
.../drivers/nouveau/codegen/nv50_ir_driver.h | 2 +
.../drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 7 +
.../nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 91 +--
.../nouveau/codegen/nv50_ir_lowering_
NV_sample_locations so the feature is available on ES
- decouple framebuffer and sample location state in the state tracker and nvc0
- rebase to upstream master
Rhys Perry (5):
mesa: add support for ARB_sample_locations
gallium: add support for programmable sample locations
st/mesa: add support
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
src/gallium/drivers/nouveau/nvc0/mme/com9097.mme | 2 +-
src/gallium/drivers/nouveau/nvc0/mme/com9097.mme.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/nouveau/nvc0/mme/com9097.mme
---
src/compiler/nir/.gitignore | 2 ++
src/intel/vulkan/.gitignore | 1 +
2 files changed, 3 insertions(+)
diff --git a/src/compiler/nir/.gitignore b/src/compiler/nir/.gitignore
index 64828eba6d..8faf93f0b2 100644
--- a/src/compiler/nir/.gitignore
+++ b/src/compiler/nir/.gitignore
@@ -3,3 +3,5
nit-picks below.
>
>
>
> On 05/04/2018 06:09 AM, Rhys Perry wrote:
>>
>> Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
>> ---
>> src/mesa/state_tracker/st_atom_framebuffer.c | 64
>>
>> src/mesa/state_tracker/st
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
src/mesa/state_tracker/st_atom_framebuffer.c | 64
src/mesa/state_tracker/st_cb_msaa.c | 22 ++
src/mesa/state_tracker/st_extensions.c | 1 +
3 files changed, 87 insertions(+)
diff
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
docs/features.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/features.txt b/docs/features.txt
index b1eb9e91a2..cf15ac854f 100644
--- a/docs/features.txt
+++ b/docs/features.txt
@@ -305,7 +305,7 @@ Khrono
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
src/mapi/glapi/gen/gl_API.xml | 52 +++
src/mesa/main/config.h | 7 +
src/mesa/main/dd.h | 7 +
src/mesa/main/extensions_table.h| 1 +
src/mesa/main/fbob
This patch set adds support for GL_ARB_sample_locations in mesa core, gallium,
the mesa OpenGL state tracker and the nvc0 driver.
Rhys Perry (5):
mesa: add support for ARB_sample_locations
gallium: add support for programmable sample locations
st/mesa: add support for ARB_sample_locations
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
.../drivers/nouveau/codegen/nv50_ir_driver.h | 2 +
.../drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 7 +
.../nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 91 ++--
.../nouveau/codegen/nv50_ir_lowering_
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
src/gallium/auxiliary/cso_cache/cso_context.c| 31 +++
src/gallium/auxiliary/cso_cache/cso_context.h| 5
src/gallium/auxiliary/util/u_framebuffer.c | 32
src/gallium/aux
Changes in v2:
- move "#ifdef DEBUG" from above dumpProgram to above createDumpFilename
Previously, findFirstUse() only considered reads "uses". This fixes that by
making it check both an instruction's sources and definitions. It also shortens
both findFistUse() and findFirstDef() along the way.
The NV50_PROG_DUMP environment variable specifies a (already created) directory
to dump both shader binaries and tgsi code. The NV50_PROG_REPLACE environment
variable specified a (again, already created) directory that is searched to
find replacement binaries. This is all much like
Previously, findFirstUse() only considered reads "uses". This fixes that by
making it check both an instruction's sources and definitions. It also shortens
both findFistUse() and findFirstDef() along the way.
---
.../drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp | 103 ++---
1
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
src/gallium/drivers/nouveau/nvc0/mme/com9097.mme | 91 --
src/gallium/drivers/nouveau/nvc0/mme/com9097.mme.h | 64 ---
src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c | 81 ++-
3
Changes in v2:
- move "#ifdef DEBUG" from above dumpProgram to above createDumpFilename
Changes in v3:
- Fixed messed up patch description and diff
- Use the checksum of the TGSI instead of the binary if possible
The NV50_PROG_DUMP environment variable specifies a (already created) directory
to
Both the availability and result paths shared a bit of code so they were
marged.
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
src/gallium/drivers/nouveau/nvc0/mme/com9097.mme | 45
src/gallium/drivers/nouveau/nvc0/mme/com9097.mme.h | 34 ++
src/gallium/d
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c
b/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c
index a420ed4ac0..db5f5092ba
ase space requirement in patch 3 to ensure there is room for fence
emission.
Rhys Perry (3):
nvc0: ensure nvc0->bufctx is in effect in nvc0_hw_get_query_resource()
nvc0: rewrite query buffer write macro to output 64-bit predicates
nvc0: use a macro to write query result availability to a
Changes in v2:
- Stylistic changes
- Use OP_SLCT instead of OP_SELP which only worked by luck
- Fix issues in edge cases
Signed-off-by: Rhys Perry
---
.../drivers/nouveau/codegen/nv50_ir_peephole.cpp | 30 +++---
1 file changed, 26 insertions(+), 4 deletions(-)
diff --git
Might be good to do something like this: https://codepen.io/anon/pen/ERNdYJ
So that those with NoScript or something won't have gears constantly
rotating on their screen.
On Fri, Jun 8, 2018 at 2:25 PM, Erik Faye-Lund wrote:
> On Fri, Jun 8, 2018 at 2:06 PM, Rob Clark wrote:
>> On Fri, Jun 8,
Signed-off-by: Rhys Perry
---
.../drivers/nouveau/codegen/nv50_ir_peephole.cpp | 29 +++---
1 file changed, 25 insertions(+), 4 deletions(-)
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
index
This is mainly useful for when one needs to add new opcodes in a painless
and reliable way.
Signed-off-by: Rhys Perry
---
.../drivers/nouveau/codegen/nv50_ir_target_nv50.cpp | 21 -
.../drivers/nouveau/codegen/nv50_ir_target_nvc0.cpp | 20 +++-
2 files
helped 0 0 7120162016
hurt 0 0 52 19 19
Rhys Perry (2):
nv50/ir: handle SHLADD in IndirectPropagation
nv50/ir: move LateAlgebraicOpt back to right after ConstantFolding
src/gallium/d
32 32
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
index
0
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp | 12
1 file changed, 12 insertions(+)
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
index 39177bd044..83fb1
Forgot to CC you.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouveau/codegen/nv50_ir.cpp| 3 ++-
src/gallium/drivers/nouveau/codegen/nv50_ir.h | 14
.../drivers/nouveau/codegen/nv50_ir_peephole.cpp | 12 +--
.../drivers/nouveau/codegen/nv50_ir_print.cpp | 20
74 23 23
Signed-off-by: Rhys Perry
---
.../drivers/nouveau/codegen/nv50_ir_peephole.cpp | 123 ++---
src/util/bitscan.h | 26 +
2 files changed, 135 insertions(+), 14 deletions(-)
diff --git a/src/gallium/dri
programs : 360704 -> 360704 (0.00%)
total local used in shared programs : 20952 -> 20952 (0.00%)
local sharedgpr inst bytes
helped 0 0 255 680 680
hurt 0 0 128 1484
Signed-off-by: Rhys Perry
---
.../drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp | 61 ++
.../nouveau/codegen/nv50_ir_target_gm107.cpp | 6 ++-
.../nouveau/codegen/nv50_ir_target_nvc0.cpp| 1 +
3 files changed, 67 insertions(+), 1 deletion(-)
diff --git a/src
t bytes
helped 0 0 39 0 0
hurt 1 0 33422772277
Signed-off-by: Rhys Perry
---
.../drivers/nouveau/codegen/nv50_ir_peephole.cpp | 53 ++
1 file changed, 53 insertions(+)
diff
Signed-off-by: Rhys Perry
---
src/compiler/glsl/ast_to_hir.cpp | 5 +
src/compiler/glsl/glsl_parser_extras.cpp | 1 +
src/compiler/glsl/glsl_parser_extras.h | 7 +++
src/mesa/main/extensions_table.h | 1 +
src/mesa/main/mtypes.h | 1 +
5 files changed
Signed-off-by: Rhys Perry
---
src/mesa/state_tracker/st_extensions.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index 467d9b0759..10342c1be2 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src
Signed-off-by: Rhys Perry
---
src/gallium/auxiliary/gallivm/lp_bld_limits.h | 1 +
src/gallium/auxiliary/tgsi/tgsi_exec.h | 1 +
src/gallium/drivers/nouveau/nv30/nv30_screen.c | 1 +
src/gallium/drivers/nouveau/nv50/nv50_screen.c | 1 +
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 1
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouveau/codegen/nv50_ir.h | 4 +++
.../drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp | 34 ++
.../nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 3 --
.../drivers/nouveau/codegen/nv50_ir_peephole.cpp | 27
the format used in an image operation before
function inlining can be difficult, because formats don't have to (and
currently can't) be specified in the paramter declaration. So this series
leaves this issue to hopefully be resolved in a later patch.
Rhys Perry (5):
gallium: add support
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 3 +--
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c| 3 ++-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
Yeah, I think that's right.
I must have misread something.
On Fri, Jun 15, 2018 at 9:31 PM, Ilia Mirkin wrote:
> On Fri, Jun 15, 2018 at 4:24 PM, Rhys Perry wrote:
>> Signed-off-by: Rhys Perry
>> ---
>> src/compiler/glsl/ast_to_hir.cpp | 5 +
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouveau/codegen/nv50_ir.h | 4 +++
.../drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp | 34 ++
.../nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 3 --
.../drivers/nouveau/codegen/nv50_ir_print.cpp | 17
Signed-off-by: Rhys Perry
---
src/compiler/glsl/ast_to_hir.cpp | 5 +
src/compiler/glsl/glsl_parser_extras.cpp | 1 +
src/compiler/glsl/glsl_parser_extras.h | 7 +++
src/mesa/main/extensions_table.h | 1 +
src/mesa/main/mtypes.h | 1 +
5 files changed
Signed-off-by: Rhys Perry
---
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 467d9b0759..115472d790 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src
can't) be specified in the paramter declaration. So this series
leaves this issue to hopefully be resolved in a later patch.
Rhys Perry (5):
gallium: add support for formatted image loads
mesa,glsl: add support for EXT_shader_image_load_formatted
st/mesa: add support
Signed-off-by: Rhys Perry
---
src/gallium/drivers/etnaviv/etnaviv_screen.c | 1 +
src/gallium/drivers/freedreno/freedreno_screen.c | 1 +
src/gallium/drivers/i915/i915_screen.c | 1 +
src/gallium/drivers/llvmpipe/lp_screen.c | 1 +
src/gallium/drivers/nouveau/nv30
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 3 +--
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c| 3 ++-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
Previously, TargetNVC0::insnCanLoadOffset() returned whether the offset
could be set to a specific value. The IndirectPropagation pass expected
it to return whether the offset could be increased.
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouveau/codegen/nv50_ir_target_nvc0.cpp | 1 +
1
Ping to those who seem appropriate for this patch in case it was forgotten
or missed.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
hurt 0 0 0 0 0
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
is
is all much like MESA_SHADER_DUMP_PATH and MESA_SHADER_READ_PATH expect
using CRC-32 checksums instead of program IDs and chip-specific binaries
instead of GLSL.
Signed-off-by: Rhys Perry
---
src/gallium/auxiliary/tgsi/tgsi_util.h | 1 +
src/gallium/drivers/nouveau/Makefile.sources
Signed-off-by: Rhys Perry
Reviewed-by: Brian Paul (v2)
Reviewed-by: Marek Olšák (v2)
---
src/gallium/auxiliary/util/u_framebuffer.c | 30 +
src/gallium/auxiliary/util/u_framebuffer.h | 5 +++
src/gallium/docs/source/context.rst | 14
src
Signed-off-by: Rhys Perry
Reviewed-by: Brian Paul (v2)
Reviewed-by: Marek Olšák (v2)
---
src/mapi/glapi/gen/gl_API.xml | 104 +
src/mesa/main/config.h | 9 ++
src/mesa/main/dd.h | 8 +
src/mesa/main/extensions_table.h| 2
the feature is available on ES
- decouple framebuffer and sample location state in the state tracker and nvc0
- rebase to upstream master
Rhys Perry (5):
mesa: add support for ARB_sample_locations
gallium: add support for programmable sample locations
st/mesa: add support for ARB_sample_locations
Signed-off-by: Rhys Perry
---
.../drivers/nouveau/codegen/nv50_ir_driver.h | 2 +
.../drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 7 +
.../nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 102 --
.../nouveau/codegen/nv50_ir_lowering_nvc0.h| 2 +
src/gallium
Signed-off-by: Rhys Perry
Reviewed-by: Brian Paul (v2)
---
docs/features.txt | 2 +-
docs/relnotes/18.2.0.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/features.txt b/docs/features.txt
index e786bbecf4..2eac14fb32 100644
--- a/docs/features.txt
+++ b
Signed-off-by: Rhys Perry
Reviewed-by: Brian Paul (v2)
Reviewed-by: Marek Olšák (v2)
---
src/mesa/state_tracker/st_atom.h | 2 +-
src/mesa/state_tracker/st_atom_list.h | 2 +-
src/mesa/state_tracker/st_atom_msaa.c | 77 +-
src/mesa/state_tracker
Having this if statement here prevented the next if statement from being
reached in the case of image stores, which is needed for instructions with
indirect bindless handles like "STORE TEMP[ADDR[2].x+1](1) ...".
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouve
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouveau/codegen/nv50_ir.cpp| 2 ++
src/gallium/drivers/nouveau/codegen/nv50_ir.h | 2 ++
.../drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 22 +++
.../drivers/nouveau/codegen/nv50_ir_inlines.h | 4
Signed-off-by: Rhys Perry
---
src/compiler/glsl/ir.cpp | 32 --
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 14 ++---
2 files changed, 41 insertions(+), 5 deletions(-)
diff --git a/src/compiler/glsl/ir.cpp b/src/compiler/glsl/ir.cpp
index
Signed-off-by: Rhys Perry
---
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 55 +++-
src/mesa/state_tracker/st_glsl_to_tgsi_private.h | 1 +
2 files changed, 55 insertions(+), 1 deletion(-)
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
b/src/mesa
Signed-off-by: Rhys Perry
---
src/compiler/glsl/opt_function_inlining.cpp | 52 -
1 file changed, 44 insertions(+), 8 deletions(-)
diff --git a/src/compiler/glsl/opt_function_inlining.cpp
b/src/compiler/glsl/opt_function_inlining.cpp
index 04690b6cf4..52f57da936
Signed-off-by: Rhys Perry
---
src/compiler/glsl/ast_to_hir.cpp | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/compiler/glsl/ast_to_hir.cpp b/src/compiler/glsl/ast_to_hir.cpp
index 3bf581571e..8a7dd62506 100644
--- a/src/compiler/glsl/ast_to_hir.cpp
+++ b/src
This commit does not add support for the opcodes in gallivm or tgsi_to_nir.c
Signed-off-by: Rhys Perry
---
src/gallium/auxiliary/tgsi/tgsi_info.c | 2 ++
src/gallium/auxiliary/tgsi/tgsi_info_opcodes.h | 4 ++--
src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h | 3 +++
src/gallium/docs
and IMG2HND
- IMG2HND with Kepler is not implemented
Usage of bound handles as l-values and casting them is handled better than
before though.
Some tests for these changes have been posted on the piglit mailing list.
Rhys Perry (6):
gallium: add new SAMP2HND and IMG2HND opcodes
nv50/ir: add support
Oops, I meant r-values, not l-values.
Seems to meaning of the word in my head changed at some point.
On Wed, Jun 6, 2018 at 8:55 PM, Rhys Perry wrote:
> Previously, there were some errors in the compiler's implementation of
> ARB_bindless_texture, mostly related to usage of bound
expect
using CRC-32 checksums instead of program IDs and chip-specific binaries
instead of GLSL.
Signed-off-by: Rhys Perry
---
src/gallium/auxiliary/tgsi/tgsi_util.h | 1 +
src/gallium/drivers/nouveau/Makefile.sources | 2 +
src/gallium/drivers/nouveau/codegen/n
at 9:05 PM, Ilia Mirkin wrote:
> ARB_sample_locaitons has all this stuff about a resolve of some sort
> when you switch around the locations. I don't see anything here about
> that. Thoughts?
>
> Also some more specific comments inline:
>
> On Thu, May 10, 2018 at 12:28
It doesn't seem to be used and removing it doesn't seem to break things on
my GP106.
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouveau/nvc0/nvc0_context.h | 3 ---
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 8 +---
2 files changed, 1 insertion(+), 10 deletions(-)
diff --git
With this commit, things no longer break if NVC0_CB_AUX_TEX_INFO is
changed to anything other than 0x20.
Fixes: 902bbda81b31bacb2a8c60ca6a8ba8ca34ae73d3
("nvc0: avoid using magic numbers for the uniform_bo offsets")
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouveau/nvc0/
is searched to find replacement binaries and headers. This
is all much like MESA_SHADER_DUMP_PATH and MESA_SHADER_READ_PATH expect
using CRC-32 checksums instead of program IDs and chip-specific binaries
instead of GLSL.
Signed-off-by: Rhys Perry
---
src/gallium/auxiliary/tgsi/tgsi_util.h
For Brian Paul:
Since you seemed to have looked over v3 of this patch, you were Cc'd.
Compared to v3, it fixes the style problems (including the CLAMP() thing) and
adds ALWAYS_INLINE to conservative_raster_parameter().
___
mesa-dev mailing list
Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
---
src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp
b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp
Signed-off-by: Rhys Perry
---
.../drivers/nouveau/codegen/nv50_ir_lowering_gm107.cpp | 16
.../drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp| 3 +++
.../drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h | 2 +-
src/gallium/drivers/nouveau/nv50/nv50_resource.h
how the smallest n programs affected for attr
(it doesn't seem to matter where --top/--smallest is)
On Fri, Aug 3, 2018 at 10:29 PM, Ilia Mirkin wrote:
> I'd rather keep these as positional args. You can still use argparse
> for other optional items.
>
> On Fri, Aug 3, 2018 at 3:53 PM,
Yeah
"base" in nve4_cp_launch_desc_set_cb() and
gp100_cp_launch_desc_set_cb() are uint32_t too. They should probably
be updated
On Fri, Aug 3, 2018 at 11:04 PM, Ilia Mirkin wrote:
> On Fri, Aug 3, 2018 at 5:57 PM, Rhys Perry wrote:
>> Previously, UBOs were implemented using
0%)
total local used in shared programs : 21068 -> 21064 (-0.02%)
local sharedgpr inst bytes
helped 1 0 152 274 274
hurt 0 0 0 0 0
Signed-off-by
Signed-off-by: Rhys Perry
---
nv-report.py | 49 +
1 file changed, 33 insertions(+), 16 deletions(-)
diff --git a/nv-report.py b/nv-report.py
index 3f0be63557..487074fdd6 100644
--- a/nv-report.py
+++ b/nv-report.py
@@ -45,8 +45,14 @@ class Stats
Signed-off-by: Rhys Perry
---
nv-report.py | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/nv-report.py b/nv-report.py
index 079b2e08a3..1c1491af0a 100644
--- a/nv-report.py
+++ b/nv-report.py
@@ -12,11 +12,15 @@ fields, except for the type, are optional
Signed-off-by: Rhys Perry
---
nv-report.py | 28 +++-
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/nv-report.py b/nv-report.py
index 487074fdd6..079b2e08a3 100644
--- a/nv-report.py
+++ b/nv-report.py
@@ -46,11 +46,13 @@ class Stats(object
Signed-off-by: Rhys Perry
---
nv-report.py | 53 +++--
1 file changed, 19 insertions(+), 34 deletions(-)
diff --git a/nv-report.py b/nv-report.py
index bdc2093a73..3f0be63557 100644
--- a/nv-report.py
+++ b/nv-report.py
@@ -14,6 +14,9 @@ import re
This adds two new features to nv-report:
- additionally reporting changes of only affected programs
- an option to print smallest affected programs or most affected programs
Rhys Perry (5):
nv-report: deduplicate list of fields
nv-report: move code out of main()
nv-report: additionally
v2: rework --top and --smallest
v2: add --affected option
v2: make the summary after the affected program lists
Signed-off-by: Rhys Perry
---
nv-report.py | 119 ++-
1 file changed, 117 insertions(+), 2 deletions(-)
diff --git a/nv
Signed-off-by: Rhys Perry
Reviewed-by: Ilia Mirkin
---
nv-report.py | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/nv-report.py b/nv-report.py
index 5049207c22..1894f91409 100644
--- a/nv-report.py
+++ b/nv-report.py
@@ -12,11 +12,15 @@ fields, except
v2: rename create_totals() to compute_totals()
v2: simplify create_totals()/compute_totals()
Signed-off-by: Rhys Perry
---
nv-report.py | 46 ++
1 file changed, 30 insertions(+), 16 deletions(-)
diff --git a/nv-report.py b/nv-report.py
index
v2: change compute_totals() to take an include instead of an exclude list
v2: show number of affected programs
v2: flip around the shared and affected statistics
Signed-off-by: Rhys Perry
---
nv-report.py | 35 +--
1 file changed, 25 insertions(+), 10 deletions
This adds the following features to nv-report:
- additionally reporting changes of only affected programs
- options to print affected or hurt programs, sorted in some way
Rhys Perry (5):
nv-report: deduplicate list of fields
nv-report: move code out of main()
nv-report: additionally report
Signed-off-by: Rhys Perry
Reviewed-by: Ilia Mirkin
---
nv-report.py | 53 +++--
1 file changed, 19 insertions(+), 34 deletions(-)
diff --git a/nv-report.py b/nv-report.py
index bdc2093a73..3f0be63557 100644
--- a/nv-report.py
+++ b/nv-report.py
uniform_buffer_bound to be bool instead of a uint32_t
v3: remove magic constants
v3: remove pointless code in nvc0_validate_driverconst
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=100177
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouveau/nvc0/nvc0_compute.c| 13 +++---
src/gallium/drivers/nouveau
I don't think so.
On Wed, Aug 8, 2018 at 11:27 PM, Karol Herbst wrote:
> On Mon, Jul 23, 2018 at 12:40 PM, Rhys Perry wrote:
>> Signed-off-by: Rhys Perry
>> ---
>> src/gallium/drivers/nouveau/codegen/nv50_ir.h | 26
>> ++
>
lved.
On Thu, Aug 9, 2018 at 11:32 PM, Karol Herbst wrote:
> On Mon, Jul 23, 2018 at 12:40 PM, Rhys Perry wrote:
>> Signed-off-by: Rhys Perry
>> ---
>> .../drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp | 65
>> ++
>> .../nouve
1 - 100 of 342 matches
Mail list logo