Mesa (master): 22 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Oct 17 20:59:35 UTC 2019
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a4e6726baa15e362c8297d6d64cd51e9b27491d
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Thu Oct 10 20:54:28 2019 -0700
freedreno/a6xx: Turn on geometry shaders
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d3945e3b9b3f73b2c434a9d6f784ceb13714fb03
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Sun Oct 13 19:32:37 2019 -0700
freedreno/ci: Add failing tests to skip list
Some queries are still failing and layered rending needs more work.
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=622afc8dbdca3ac58137d888184f22371cb58c68
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Wed Oct 16 12:08:19 2019 -0700
freedreno/a6xx: Implement PIPE_QUERY_PRIMITIVES_GENERATED for GS
When we don't have streamout enabled, we have to read this register to
get the number of primitives emitted.
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c8e1522a50e66e81437e3fcdb67918218240b02e
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Fri Oct 11 15:15:23 2019 -0700
freedreno/blitter: Save GS state
We have GS state now.
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=946a1e206f266c06d73aef1269033ed90a0ae8ed
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Thu Oct 10 11:27:47 2019 -0700
st/mesa: Also enable GS when ESSLVersion > 320
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7cb672227bea9f61c6fd25b3eef534e7f79442fb
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Fri Oct 11 13:56:20 2019 -0700
freedreno/a6xx: Support layered render targets
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0eebedb6190fdab8956769b2485180cc4a07119a
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Fri Oct 11 13:43:53 2019 -0700
freedreno/a6xx: Emit program state for GS
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6ed39e20e76a0f9726de75afc6a6280abf36cf2
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Fri Oct 11 12:37:38 2019 -0700
freedreno/ir3: End VS with CHMASK and CHSH in GS pipelines
When used in a GS pipeline, the VS doesn't end with the END
instruction. Instead it chains to the GS, which continues running with
the same register allocation. The intended use cases seems to be that
you can compile a regular VS (ie outputs in registers and ending with
END) but then tack on link-time generated code past the END to write
the outputs using STLW, in case the VS is used with GS.
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b7312b763b1417374ee5ce84c0bdb1f120e5d44
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Fri Oct 11 12:36:49 2019 -0700
freedreno/ir3: Start GS with (ss) and (sy)
We don't know what kind of loads we might have to wait on when coming
in from chsh in the VS so set both sync flags.
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c347708bea00907de3f290090e7769c72a12a15a
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Fri Oct 11 12:34:54 2019 -0700
freedreno/ir3: Pre-color GS header and primitive ID
These sysvals have to be unclobbered by VS and in the same registers
in both VS and GS, since the chsh from VS to GS doesn't reload the
values. We use the pre-color argument to ir3_ra() to always place
these values in r0.x and r0.y.
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce08fddbbe5888a5d573edb127c623e7be7d3169
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Fri Oct 11 12:24:12 2019 -0700
freedreno/ir3: Setup ir3 inputs and outputs for GS
Inputs are the GS header, which contains vertex ID, local primitive ID
and thread ID as well as primitive ID. The setup is a little different
from other sysvals, since we always have to receive them in the VS so
that it can pass them on into the GS.
The vertex flag outputs from GS is set up as a proper nir output in
the lowering pass and doesn't need special handling here.
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0293d14719201fc5802aa2573e03d293f06d94fa
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Thu Oct 10 21:02:45 2019 -0700
freedreno/ir3: Implement primitive layout intrinsics
This implements the load_vs_primitive_stride_ir3,
load_vs_vertex_stride_ir3 and load_primitive_location_ir3 intrinsics,
used for getting the primitive layout strides and locations.
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e16fb152813d13121d13710f72ecce009c1885e
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Thu Oct 10 17:17:10 2019 -0700
freedreno/ir3: Implement lowering passes for VS and GS
This introduces two new lowering passes. One to lower VS to explicit
outputs using STLW and one to lower GS to load input using LDLW and
implement the GS specific functionality.
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f39985b01b34cbb6a84b4614f5cb732748954d1
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Thu Oct 10 15:37:19 2019 -0700
freedreno/ir3: Add has_gs flag to shader key
Since the presence of GS changes how the VS operates we need to track
that in the shader key.
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2703844cb315a47761727da9aea4591d7fa59ce1
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Thu Oct 10 15:24:10 2019 -0700
freedreno/a6xx: Add missing adjacency primitives to table
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0324706764b9d0a1a6a6c1af13fc7cfb01500d80
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Thu Oct 10 15:15:37 2019 -0700
freedreno/ir3: Add intrinsics that map to LDLW/STLW
These intrinsics will let us do all the offset calculations in nir,
which is nicer to work with and lets nir_opt_algebraic eat it all up.
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=436d125adfab09d2c31835fc9dca49c308039c06
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Thu Oct 10 15:09:49 2019 -0700
freedreno/ir3: Add new LDLW/STLW instructions
These access memory used for passing data between geometry stages.
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=956d3194464a83eaf1bb8fb64aeac897edf2943b
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Thu Oct 10 14:43:03 2019 -0700
freedreno/ir3: Extend RA with mechanism for pre-coloring registers
We'll need to pre-color certain input registers betwee VS and GS
shaders.
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b6625d825f437a33bc885a9b21e3d5dd0aa65df
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Thu Oct 10 13:44:14 2019 -0700
freedreno/ir3: Use third register for offset for LDL and LDLV
Before, offset held the offset, which can be either immediate or a
register. Use a third register to hold the offset so that we can use
a register.
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a93e60e7bba1bbb6ecac170c25623c08d6ff55f
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Thu Oct 10 13:21:25 2019 -0700
freedreno/ir3: Add support for CHSH and CHMASK instructions
Just add the constructors for now and special case similar to END so
we don't remove them.
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f335a6663d0dd93f5240cefd3783af50c4dcbb47
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Fri Oct 11 12:17:54 2019 -0700
freedreno/a6xx: Trim a few regs from fd6_emit_restore()
We know what these do an either write them in the program stateobj or
don't need to write them.
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=610c8c938e32a389fc6ae79418adf77319b419ee
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Thu Oct 10 15:21:25 2019 -0700
freedreno/registers: Update with GS, HS and DS registers
Signed-off-by: Kristian H. Kristensen <hoegsberg at google.com>
More information about the mesa-commit
mailing list