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 | 2 +
src/gallium/drivers/nouveau
less.
On Mon, May 28, 2018 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:
>
eaders. 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 | 1 +
src/gallium/drivers/nouveau/Makefi
o 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_loca
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
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
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
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
MP2HND 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: a
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
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
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
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 bou
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, 20
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
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 a
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
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
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
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
in shared 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
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
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/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 s
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/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
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
ently 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 s
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
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/
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(-)
I don't have push access.
Rhys Perry (3):
nv50/ir: improve maintainability of Target*::initOpInfo()
configure: require c++11 for the gallium nouveau driver
nv50/ir: use range-based for loops in Target*::initOpInfo()
configure.ac | 4 ++
.../no
Signed-off-by: Rhys Perry
---
.../nouveau/codegen/nv50_ir_target_nv50.cpp| 54 +++---
.../nouveau/codegen/nv50_ir_target_nvc0.cpp| 16 +++
2 files changed, 34 insertions(+), 36 deletions(-)
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50
This is mainly useful for when one needs to add new opcodes in a painless
and reliable way.
Signed-off-by: Rhys Perry
Reviewed-by: Karol Herbst
---
.../drivers/nouveau/codegen/nv50_ir_target_nv50.cpp | 21 -
.../drivers/nouveau/codegen/nv50_ir_target_nvc0.cpp | 20
Signed-off-by: Rhys Perry
---
configure.ac | 4
1 file changed, 4 insertions(+)
diff --git a/configure.ac b/configure.ac
index f135d05736..16d1832578 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2678,6 +2678,10 @@ if test -n "$with_gallium_drivers&q
Just read the IRC logs and saw that things seemed to settle to "let's
not require c++11 in nouveau", so ignore the second and third patches
I guess.
On Fri, Jun 29, 2018 at 11:57 AM, Rhys Perry wrote:
> I don't have push access.
>
> Rhys Perry (3):
> nv50/ir: i
This is mainly useful for when one needs to add new opcodes in a painless
and reliable way.
Signed-off-by: Rhys Perry
---
Changes in v2:
- use operation instead of uint32_t
- use ARRAY_SIZE()
- add "set below" comments
I don't have push access.
.../nouveau/codegen/nv50_ir_
tory that 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_ut
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
Changes in v2:
- make loadSuInfo32() protected without making the rest protected
- move NVC0_SU_INFO_* into nv50_ir_lowering_nvc0.h instead of duplicating
NVC0_SU_INFO_MS
Signed-off-by: Rhys Perry
---
.../nouveau/codegen/nv50_ir_lowering_gm107.cpp | 13 +
.../nouveau/codegen
4
hurt 0 01579 97 97
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp| 5 +
src/gallium/drivers/nouveau/codegen/nv50_ir_target_nvc0.cpp | 9 ++---
2 files changed, 7 insertions(+), 7 deletions(-)
and we do too. Why change it?
>
> On Thu, Jul 5, 2018, 06:21 Rhys Perry wrote:
>>
>> Seems to increase GPR count by a few in some shaders, but also decreases
>> instruction count by a bit.
>>
>> This should only combine them when a mov can not be used (whe
l sharedgpr inst bytes
helped 0 0 0 5 5
hurt 0 0 0 191 191
Signed-off-by: Rhys Perry
---
Instead of combining SV_TID reads into a SV_COMBINED_TID read, this has
SV_TID reads
Both the availability and result paths shared a bit of code so they were
marged.
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouveau/nvc0/mme/com9097.mme | 45
src/gallium/drivers/nouveau/nvc0/mme/com9097.mme.h | 34 ++
src/gallium/drivers/nouveau/nvc0/nvc0_macros.h
This patch set applies improvements related to the query buffer object
functionality of the nvc0 driver.
Changes in v2:
- Increase space requirement in patch 3 to ensure there is room for fence
emission.
Rhys Perry (3):
nvc0: set current bufctx to nvc0->bufctx at the end of nvc0_draw_
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouveau/nvc0/nvc0_state.c| 9 +
src/gallium/drivers/nouveau/nvc0/nvc0_stateobj.h | 2 +-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_state.c
b/src/gallium/drivers/nouveau/nvc0
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouveau/nvc0/nvc0_state.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_state.c
b/src/gallium/drivers/nouveau/nvc0/nvc0_state.c
index 99d45a238a..1977a04832 100644
--- a/src/gallium
This was done a while ago but never marked on features.txt.
Signed-off-by: Rhys Perry
---
docs/features.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/features.txt b/docs/features.txt
index d579d245eb..c561fd480a 100644
--- a/docs/features.txt
+++ b/docs
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
mesa
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 for
Signed-off-by: Rhys Perry
---
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(+)
diff --git a/src/mesa
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
---
src/mapi/glapi/gen/gl_API.xml | 47
src/mapi/glapi/gen/gl_genexec.py| 1 +
src/mesa
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
---
src/mapi/glapi/gen/gl_API.xml | 47
src/mapi/glapi/gen/gl_genexec.py| 1 +
src/mesa
Signed-off-by: Rhys Perry
---
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
index ab39f9fdf6..cbb21f5f72
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
---
.../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_nvc0.h| 2 +
src/gallium
Signed-off-by: Rhys Perry
---
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/auxiliary/util/u_framebuffer.h
Signed-off-by: Rhys Perry
---
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/fbobject.c| 247
Signed-off-by: Rhys Perry
---
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 --git a/src/mesa/state_tracker
Signed-off-by: Rhys Perry
---
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 @@ Khronos, ARB, and OES extensions that
CC:
Signed-off-by: Rhys Perry
---
src/mesa/main/fbobject.c | 72 +++-
1 file changed, 41 insertions(+), 31 deletions(-)
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index c72204e11a..0fc3319fe9 100644
--- a/src/mesa/main
ks below.
>
>
>
> On 05/04/2018 06:09 AM, Rhys Perry wrote:
>>
>> Signed-off-by: Rhys Perry
>> ---
>> src/mesa/state_tracker/st_atom_framebuffer.c | 64
>>
>> src/mesa/state_tracker/st_cb_msaa.c | 22 +
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 pipe_context? It
> seems that
xpose 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 suppor
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 | 91 +--
.../nouveau/codegen/nv50_ir_lowering_nvc0.h| 2 +
src/gallium
Signed-off-by: Rhys Perry
---
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/fbobject.c| 256
Signed-off-by: Rhys Perry
---
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
src/mesa/state_tracker
Signed-off-by: Rhys Perry
---
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/screen.rst | 3 +++
src
Signed-off-by: Rhys Perry
---
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 @@ Khronos, ARB, and OES extensions that
Signed-off-by: Rhys Perry
---
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
b/src/gallium/drivers/nouveau/nvc0
---
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 @
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 MESA_SHADER_DUMP
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 fi
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.
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 du
Signed-off-by: Rhys Perry
---
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 100644
--- a/src/gallium/drivers
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
Both the availability and result paths shared a bit of code so they were
marged.
Signed-off-by: Rhys Perry
---
src/gallium/drivers/nouveau/nvc0/mme/com9097.mme | 45
src/gallium/drivers/nouveau/nvc0/mme/com9097.mme.h | 34 ++
src/gallium/drivers/nouveau/nvc0/nvc0_macros.h
Signed-off-by: Rhys Perry
---
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 files changed, 133 insertions
TGSI has no I64MAD/U64MAD opcode.
Fixes: 278580729a5 ('st/glsl_to_tgsi: add support for 64-bit integers')
Signed-off-by: Rhys Perry
---
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 4
1 file changed, 4 insertions(+)
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
Requiring a 4th component to be free when only 3 is needed for compounds
limits the RA's options.
total instructions in shared programs : 7696203 -> 7695915 (-0.00%)
total gprs used in shared programs: 804270 -> 802998 (-0.16%)
total shared used in shared programs : 639636 -> 639636 (0.00%)
t
1 - 100 of 342 matches
Mail list logo