Mesa (master): 56 new commits

2018-04-05 Thread Marek Olšák
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=be4250aa885a38a32ac6a8ad19e2655ec94be3a3
Author: Marek Olšák 
Date:   Sun Apr 1 22:49:58 2018 -0400

radeonsi: remove more R600 references

Acked-by: Timothy Arceri 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0dfc0c6df2f2a2126e96bb1fb91862d1ff0bfa2
Author: Marek Olšák 
Date:   Sun Apr 1 20:56:07 2018 -0400

radeonsi: try to fix android

Acked-by: Timothy Arceri 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f55d1f806e6b6c33af559de166d08ec8fa3ebe90
Author: Marek Olšák 
Date:   Sun Apr 1 20:49:35 2018 -0400

radeonsi: try to fix meson

This is not fully tested. Meson can't link LLVM even though automake can.

PATH=/usr/llvm/x86_64-linux-gnu/bin:$PATH meson build/ -Dgallium-va=false \
-Dplatforms=x11,drm -Dgallium-drivers=radeonsi -Ddri-drivers= \
-Dgallium-omx=disabled -Dgallium-xvmc=false -Dgles1=false \
-Dtexture-float=true -Dvulkan-drivers=

src/gallium/auxiliary/libgallium.a(gallivm_lp_bld_misc.cpp.o):

(.data.rel.ro._ZTI26DelegatingJITMemoryManager[_ZTI26DelegatingJITMemoryManager]+0x10):
undefined reference to `typeinfo for llvm::RTDyldMemoryManager'

Acked-by: Timothy Arceri 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=38faac43e32d58ce7b42d35e11146208f2c7b4e5
Author: Marek Olšák 
Date:   Sun Apr 1 20:34:40 2018 -0400

radeonsi: don't build libradeon.la separately

for better parallelism

Acked-by: Timothy Arceri 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9323ddbb9de667475d12f7a9183a855f3f33ac8
Author: Marek Olšák 
Date:   Sun Apr 1 19:58:22 2018 -0400

radeonsi: clean up GET_MAX_VIEWPORT_RANGE definition

Acked-by: Timothy Arceri 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a93441295c884022daa955059e74befc667510d
Author: Marek Olšák 
Date:   Sun Apr 1 19:44:25 2018 -0400

radeonsi: remove r600_common_context

Acked-by: Timothy Arceri 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f77361d2e02ab3c8ec6e2b1710f1c0c257c415c
Author: Marek Olšák 
Date:   Sun Apr 1 19:03:10 2018 -0400

radeonsi: remove r600_pipe_common::screen

Acked-by: Timothy Arceri 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=321bd6c280bf54b00921014d77732a8dbdf83c21
Author: Marek Olšák 
Date:   Sun Apr 1 19:01:32 2018 -0400

radeonsi: move r600_buffer_common.c and r600_texture.c into radeonsi

Acked-by: Timothy Arceri 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d58080b318ebb360e3ed8c2dc479f348345c0799
Author: Marek Olšák 
Date:   Sun Apr 1 18:51:44 2018 -0400

radeonsi: move r600_gpu_load.c to si_gpu_load.c

Acked-by: Timothy Arceri 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7f4ba5306d4de04606c106725fb25ee1e79275c
Author: Marek Olšák 
Date:   Sun Apr 1 18:47:05 2018 -0400

radeonsi: move r600_query.c/h files to si_query.c/h

Acked-by: Timothy Arceri 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5777488406cc1a956bc9fb571f1dbc5a2833475a
Author: Marek Olšák 
Date:   Sun Apr 1 18:42:33 2018 -0400

radeonsi: move r600_cs.h contents into si_pipe.h, si_build_pm4.h

Acked-by: Timothy Arceri 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=eced536ed6ab44e183561138b28dff56119a8609
Author: Marek Olšák 
Date:   Sun Apr 1 18:32:54 2018 -0400

radeonsi: rename query definitions R600_ -> SI_

Acked-by: Timothy Arceri 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=72e9e98076d0ee0281aa3982602a6e85cd14bf2b
Author: Marek Olšák 
Date:   Sun Apr 1 18:30:47 2018 -0400

radeonsi: move and rename R600_ERR out of r600_pipe_common.h

Acked-by: Timothy Arceri 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=076afb4f0e71ece84b875466da920aa62415151a
Author: Marek Olšák 
Date:   Sun Apr 1 18:28:20 2018 -0400

radeonsi: rename a few R600/r600_ -> SI_/si_

Acked-by: Timothy Arceri 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f1cddde78aa93ea1272c50a93e479cb76144af7
Author: Marek Olšák 
Date:   Sun Apr 1 18:24:21 2018 -0400

radeonsi: move definitions out of r600_pipe_common.h

Acked-by: Timothy Arceri 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a67ee02388db727a165fd14af313043789f43ad3
Author: Marek Olšák 
Date:   Sun Apr 1 18:12:34 2018 -0400

radeonsi: move functions out of and remove r600_pipe_common.c

Acked-by: Timothy Arceri 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=90d12f1d776f41ab3d72cea5b2bc39bf9ee28b25
Author: Marek Olšák 
Date:   Sun Apr 1 17:52:55 2018 -0400

radeonsi: rename r600 -> si in some places

Acked-by: Timothy Arceri 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=50c7aa67565fee2c103ed6229ac599e8d23839d8
Author: Marek Olšák 
Date:   Sun Apr 1 17:08:35 2018 -0400

radeonsi: use s

Mesa (master): 56 new commits

2018-03-07 Thread Jason Ekstrand
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c217607b65ae00918ea86454eb59e6ee69c6ea68
Author: Jason Ekstrand 
Date:   Thu Nov 9 19:17:29 2017 -0800

anv: Support version overrides

While always sketchy to do, this is useful for debugging.

Reviewed-by: Samuel Iglesias Gonsálvez 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a1ee51309ef7a36aef177ef523260e7b574ce4ab
Author: Jason Ekstrand 
Date:   Thu Nov 9 19:17:17 2017 -0800

vulkan/util: Add a helper to get a version override

Reviewed-by: Samuel Iglesias Gonsálvez 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6b65222df53677e5d3b2f6f42163387725d57b8
Author: Jason Ekstrand 
Date:   Fri Sep 22 07:44:10 2017 -0700

anv: Enable Vulkan 1.1

Reviewed-by: Samuel Iglesias Gonsálvez 
Reviewed-by: Iago Toral Quiroga 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=03c07ac5480886ef5f5bd4cff4a7b6d20e142bc9
Author: Jason Ekstrand 
Date:   Fri Apr 28 01:22:39 2017 -0700

anv: Add support for SPIR-V 1.3 subgroup operations

This requires us to bump the subgroup size to 32 for all shader stages
because Vulkan requires that to be a physical device query.

Reviewed-by: Iago Toral Quiroga 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b4a5e641bc3cb9cf0cfe7d0487926127fc25de7
Author: Jason Ekstrand 
Date:   Fri Sep 1 15:18:02 2017 -0700

intel/fs: Add support for subgroup quad operations

NIR has code to lower these away for us but we can do significantly
better in many cases with register regioning and SIMD4x2.

Acked-by: Lionel Landwerlin 
Reviewed-by: Iago Toral Quiroga 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2292b20b2969c9e3e0494ccc55c6216f330762ae
Author: Jason Ekstrand 
Date:   Thu Aug 31 22:12:48 2017 -0700

intel/fs: Implement reduce and scan opeprations

Acked-by: Lionel Landwerlin 
Reviewed-by: Iago Toral Quiroga 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4150920b95b8a7db84cd4607ede09f42b85530bb
Author: Jason Ekstrand 
Date:   Thu Aug 31 21:50:31 2017 -0700

intel/fs: Add a helper for emitting scan operations

This commit adds a helper to the builder for emitting "scan" operations.
Given a binary operation #, a scan takes the vector [a0, a1, ..., aN]
and returns the vector [a0, a0 # a1, ..., a0 # a1 # ... # aN] where each
channel contains the combination of all previous channels.  The sequence
of instructions to perform the scan is fairly optimal; a 16-wide scan on
a 32-bit type is only 6 instructions.  The subgroup scan and reduction
operations will be implemented in terms of this.

Acked-by: Lionel Landwerlin 
Reviewed-by: Iago Toral Quiroga 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0858c1cc6711168087b6774f3dc02a73b14fed2
Author: Jason Ekstrand 
Date:   Thu Aug 31 21:45:30 2017 -0700

intel/fs: Add a couple of simple helper opcodes

Acked-by: Lionel Landwerlin 
Reviewed-by: Iago Toral Quiroga 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=57bff0a546c8ebe9a09335200719cb9e13d6aea9
Author: Jason Ekstrand 
Date:   Tue Aug 29 20:10:35 2017 -0700

spirv: Add support for subgroup arithmetic

Reviewed-by: Lionel Landwerlin 
Reviewed-by: Iago Toral Quiroga 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=789221dcfa5df3c88e28978c90ccfb9eafb30e10
Author: Jason Ekstrand 
Date:   Tue Aug 29 20:36:55 2017 -0700

nir: Add a helper for getting binop identities

Reviewed-by: Lionel Landwerlin 
Reviewed-by: Iago Toral Quiroga 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=82d493a939e9485311f002f65bdc98cddcb44ce8
Author: Jason Ekstrand 
Date:   Tue Aug 29 20:09:58 2017 -0700

nir: Add subgroup arithmetic reduction intrinsics

Reviewed-by: Lionel Landwerlin 
Reviewed-by: Iago Toral Quiroga 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3a5b0f3fcac3ff722ea2727302aa6f53463d50a
Author: Jason Ekstrand 
Date:   Tue Aug 29 10:21:31 2017 -0700

spirv: Add subgroup quad support

Reviewed-by: Lionel Landwerlin 
Reviewed-by: Iago Toral Quiroga 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=493a165544e3430a9951dc960dd756d4e81bc0c9
Author: Jason Ekstrand 
Date:   Tue Aug 29 10:20:56 2017 -0700

nir: Add quad operations and lowering

Reviewed-by: Lionel Landwerlin 
Reviewed-by: Iago Toral Quiroga 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=90c9f29518d32a29725b114f3b16ad8c62a812ff
Author: Jason Ekstrand 
Date:   Tue Aug 29 09:21:32 2017 -0700

i965/fs: Add support for nir_intrinsic_shuffle

Reviewed-by: Iago Toral Quiroga 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8256ee3fa363064ac3bd824d436aced81c61d23f
Author: Jason Ekstrand 
Date:   Tue Aug 29 09:44:44 2017 -0700

spirv: Add subgroup shuffle support


Mesa (master): 56 new commits

2016-10-25 Thread Timothy Arceri
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e423ca1477bd212c01676c5e4828ebdb83310d8
Author: Timothy Arceri 
Date:   Tue Oct 25 10:23:25 2016 +1100

nir: stop adjusting driver location for varying packing

As of 59864e8e020 we just use the location assigned by the front-end and
no longer need this for i965.

Since there were some issues in the logic with assigning arrays the same
driver location if they didn't start at the same location just remove it
and let other drivers implement a solution if needed when they add
ARB_enhanced_layouts support.

Reviewed-by: Kenneth Graunke 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ac668616573b73a742a971bb0d7abe8234b6aa9
Author: Timothy Arceri 
Date:   Thu Oct 20 16:40:16 2016 +1100

compiler: remove copy_shader_info()

This temporary helper is no longer needed now that we have finished
refactoring common shader metadata.

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9972c591e7686658caaa1df46701137f98487811
Author: Timothy Arceri 
Date:   Thu Oct 20 16:37:27 2016 +1100

glsl: set uses texture gather directly in shader_info

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4016f08854a41b50d7636fc5e3cf0dfab5029cab
Author: Timothy Arceri 
Date:   Thu Oct 20 16:30:56 2016 +1100

glsl/st/mesa: use common system values read field

And set system values read directly in shader_info.

st/mesa changes where:
Reviewed-by: Marek Olšák 

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f59f3eee591600aa8b3a0b0a30aea321185bcb5
Author: Timothy Arceri 
Date:   Thu Oct 20 16:25:28 2016 +1100

glsl: set patch outputs written directly in shader_info

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f79d37f1ecffcc5f7de04d5f3bb4166750703052
Author: Timothy Arceri 
Date:   Thu Oct 20 16:24:58 2016 +1100

st/mesa: use common patch outputs written field

Reviewed-by: Marek Olšák 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=419de307dc9a2b21d94ca4aa8b81810c5f390f0f
Author: Timothy Arceri 
Date:   Thu Oct 20 16:21:24 2016 +1100

glsl: set patch inputs read directly in shader_info

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d2a5039987b7182e775949ee1a4a63ea70ab289
Author: Timothy Arceri 
Date:   Thu Oct 20 16:19:34 2016 +1100

st/mesa: use common patch inputs read field

Reviewed-by: Marek Olšák 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fdf42d3abc1cfa723d8cf5e46fb86061416602e6
Author: Timothy Arceri 
Date:   Thu Oct 20 16:17:23 2016 +1100

glsl: set outputs read directly in shader_info

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5346630593bec80efa732c40b63e0e95a00af074
Author: Timothy Arceri 
Date:   Thu Oct 20 15:27:35 2016 +1100

r200/glsl/st/mesa: use common outputs written field

And set outputs written directly in shader_info.

st/mesa changes where:
Reviewed-by: Marek Olšák 

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4b450a5cbd22690b221d0252e6d11f4c0e02ab8
Author: Timothy Arceri 
Date:   Thu Oct 20 15:21:06 2016 +1100

mesa/glsl: set double inputs read directly in shader_info

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=24093975e89178ebee19e4d00fed3d9eb2470c89
Author: Timothy Arceri 
Date:   Thu Oct 20 15:18:28 2016 +1100

st/mesa: use common double inputs read field

Reviewed-by: Marek Olšák 
Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e81aaeba37f5419323d8f88bc10943c77e25ed14
Author: Timothy Arceri 
Date:   Thu Oct 20 14:24:03 2016 +1100

r200/i915/st/mesa/compiler: use common inputs read field

And set set inputs_read directly in shader_info.

To avoid regressions between changes this change is a squashed
version of the following patches.

st/mesa changes where:
Reviewed-by: Marek Olšák 

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dfcbdba47119de6c1d81a869f8625bcc3d7560a2
Author: Timothy Arceri 
Date:   Thu Oct 20 14:09:15 2016 +1100

mesa/compiler: copy early fragment tests to shader_info in 
_mesa_copy_linked_program_data()

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c2fcf6a8a7bcecf27bf7a5fcb27f11a951f59ee
Author: Timothy Arceri 
Date:   Thu Oct 20 09:30:01 2016 +1100

meta: remove remaining tabs in meta.c

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d8947824f7f97b9ba3c3e96b179e87de843a46d
Author: Timothy Arceri 
Date:

Mesa (master): 56 new commits

2015-12-06 Thread Dave Airlie
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ca98257580b7e1258d7360fd546c0d45a0e43cb
Author: Dave Airlie 
Date:   Mon Dec 7 10:06:44 2015 +1000

docs: consolidate r600 entry in GL3.txt

Though fp64 emulation still needs to be done for a lot of the evergreen hw.

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7fa2914b062a939e415168e07668b86476d125b9
Author: Dave Airlie 
Date:   Fri Dec 4 04:05:54 2015 +

docs: update with r600 tessellation status.

Signed-off-by: Dave Airlie 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=33404f141551d0ace00101e78f9b2d93cad135f1
Author: Dave Airlie 
Date:   Mon Nov 30 16:01:31 2015 +1000

r600: enable tessellation for evergreen/cayman (v2)

This enables tessellation for evergreen/cayman,

This will need changes before committing depending
on what hw works etc.
working are CAYMAN/REDWOOD/BARTS/TURKS/SUMO/CAICOS

v2: only enable on evergreen and above.

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2885d9cf902071d1c8a61a2906017462cf7bd0e
Author: Dave Airlie 
Date:   Fri Dec 4 02:08:12 2015 +

r600g: reduce number of ps thread on caicos

this allows tess apps to start

Signed-off-by: Dave Airlie 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe64a0c8bfd439fa474cef2e2080c3040a98120e
Author: Dave Airlie 
Date:   Fri Dec 4 01:44:12 2015 +

r600g: adjust ls/hs thread counts for sumo

these stop tess hangs here.

Signed-off-by: Dave Airlie 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e7ce9e3bb8540433c511b481bae0faa5ef2c3249
Author: Dave Airlie 
Date:   Mon Nov 30 16:06:20 2015 +1000

r600/asm: enable nstack check for tess ctrl/eval shaders.

This just makes sure they register at least one stack
usage frame like vertex shaders.

Signed-off-by: Dave Airlie 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb44c1f036f053c2099df00184f27aee6dece444
Author: Dave Airlie 
Date:   Mon Nov 30 16:05:14 2015 +1000

r600/asm: handle lds read operations.

Reads from the queue shouldn't be merged for now read operations.

Reads from the queue shouldn't be merged for now, or put in
T slots.

Signed-off-by: Dave Airlie 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ec2cb13e5a950b298935acabcac4346b3e63cd4
Author: Dave Airlie 
Date:   Mon Nov 30 16:03:33 2015 +1000

r600/asm: add LDS ops and barrier to the once per group restriction.

LDS ops must be scheduled in X slot, and barrier should be on its
own in a group.

Signed-off-by: Dave Airlie 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=18871ac576380fcc0764e5e55f725a1f62a045a0
Author: Dave Airlie 
Date:   Mon Nov 30 16:02:38 2015 +1000

r600: move VGT_VTX_CNT_EN into shader stages atom.

This should be enabled for tessellation shaders as well.

Signed-off-by: Dave Airlie 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=958d617d981a24edc2de4240301c1e26c586b615
Author: Dave Airlie 
Date:   Mon Nov 30 16:01:43 2015 +1000

r600: enable tcs/tes dumping for R600_DUMP_SHADERS.

Trivial patch just to enable dumping more.

Signed-off-by: Dave Airlie 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8df7d03c8ff045233dff4c98016329577204ae6
Author: Dave Airlie 
Date:   Mon Nov 30 16:00:02 2015 +1000

r600: handle SIMD allocation issue with HS/LS

At least one SIMD must be kept away from the HS/LS
stages in order to avoid a hw issue on evergreen/cayman.

This patch implements this workaround.

Signed-off-by: Dave Airlie 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b5878ee0491e7a93914389a8369cd6752b9757d
Author: Dave Airlie 
Date:   Mon Nov 30 15:59:28 2015 +1000

r600/shader: increase number of inputs/outputs to 64.

Tessellation exceeds these sometimes, so increase them for now.

Signed-off-by: Dave Airlie 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=22058f69fbeda77ccfc2175850bead95a9ef048f
Author: Edward O'Callaghan 
Date:   Mon Nov 30 15:58:18 2015 +1000

r600: handle barrier opcode.

This handles the barrier opcode for EG/CM.

Signed-off-by: Edward O'Callaghan 
Signed-off-by: Dave Airlie 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9662a43d23c0ae46b4294561476b57e22e76ae04
Author: Dave Airlie 
Date:   Mon Nov 30 15:56:33 2015 +1000

r600/shader: handle tess related system-values.

This adds handling for TESSINNER/TESSOUTER in the TES
where they need to be fetched from LDS,
and TESSCOORD which comes in via r0.

It also handle primitive ID and invocation ID.

Signed-off-by: Dave Airlie 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=92fbf856f42b22f68f62c2516e0c6453c454cf05
Author: Dave Airlie 
Date:   Mon Nov 30 15:51:54 2015 +1000

Mesa (master): 56 new commits

2015-07-29 Thread Francisco Jerez
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e645e68d6672cac2872fa509fb22bc2581f4b67
Author: Francisco Jerez 
Date:   Mon Jul 27 19:18:51 2015 +0300

i965/fs: Switch opt_cse() to the fs_builder constructor from instruction.

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=992cda2c8a452ec86386a0f98eaf522afe206695
Author: Francisco Jerez 
Date:   Mon Jul 27 18:41:18 2015 +0300

i965/fs: Switch lower_logical_sends() to the fs_builder constructor from 
instruction.

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=930ebb258524762c765fa864ef7063bd8bb754a1
Author: Francisco Jerez 
Date:   Mon Jul 27 18:34:43 2015 +0300

i965/fs: Switch lower_load_payload() to the fs_builder constructor from 
instruction.

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0b192d3d9fa64f6f8bff5f1e456e40e72f4875e
Author: Francisco Jerez 
Date:   Mon Jul 27 20:14:41 2015 +0300

i965/fs: Don't rely on the default builder to create a null register in 
emit_spill.

It's not guaranteed to have the same width as the instruction
generating the spilled variable.

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bfad71606a987f14f20d2c3607846648f8537f2b
Author: Francisco Jerez 
Date:   Mon Jul 27 18:15:44 2015 +0300

i965/fs: Set up the builder execution size explicitly in opt_sampler_eot().

opt_sampler_eot() was relying on the default builder to have the same
width as the sampler and FB write opcodes it was eliminating, the
channel selects didn't matter because the builder was only being used
to allocate registers, no new instructions were being emitted with it.
A future commit will change the width of the default builder what will
break this assumption, so initialize it explicitly here.

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=09039f4bc120481219d01ed17e1552ca8ad66455
Author: Francisco Jerez 
Date:   Mon Jul 27 19:20:50 2015 +0300

i965/fs: Initialize a builder explicitly in opt_peephole_predicated_break().

This wasn't taking into account the execution controls of the original
instruction, but it was most likely not a bug because control flow
instructions are typically full width.

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1f4724097d1074ec9afdc9ce9ad024add125923
Author: Francisco Jerez 
Date:   Mon Jul 27 19:27:30 2015 +0300

i965/fs: Set execution controls explicitly in opt_peephole_sel().

Emit the SELs and MOVs with the same execution controls as the
original MOVs, and the CMP with the same execution controls as the IF.
Also explicitly check that the execution controls of any pair of MOVs
being folded into a SEL are compatible (which is almost always going
to be the case), since otherwise it would seem wrong to initialize the
builder object below from the then_mov instruction only.

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff463af436bcf07430807512c9f0bf0f627288ce
Author: Francisco Jerez 
Date:   Mon Jul 27 18:38:59 2015 +0300

i965/fs: Set execution controls correctly in lower_integer_multiplication().

lower_integer_multiplication() was ignoring the execution controls of
the original MUL instruction.  Fix it by using the new fs_builder
constructor.

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce90227c71c8cbe6ca4317f1873ff12c70081c4c
Author: Francisco Jerez 
Date:   Mon Jul 27 17:55:49 2015 +0300

i965/fs: Set execution controls correctly for lowered pull constant loads.

demote_pull_constants() was ignoring the execution size and channel
selects of the instruction that wanted the constant, which doesn't
matter for uniform pull constant loads because all channels get the
same scalar value, but it might for varying pull constant loads.  Fix
it by using the new fs_builder() constructor that takes care of
setting execution controls compatible with the instruction passed as
argument.

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=53077aee6670022e634a4775d8abbb59c458b7d7
Author: Francisco Jerez 
Date:   Mon Jul 27 19:09:45 2015 +0300

i965/fs: Set the execution size of the MOVs correctly in 
opt_combine_constants().

The execution size was being left equal to the default of 8/16, which
AFAICT would have overwritten components other than the one we wanted
to initialize and could potentially have corrupted other registers.

Reviewed-by: Jason Ekstrand 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f7dea0b3212aa4ce49fcf9e94bf7aab130eeab2
Author: Francisco Jerez 
Date:   Mon J

Mesa (master): 56 new commits

2009-06-26 Thread Brian Paul
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a18e209edb5348eb167e9d7184597031e622
Merge: 4fdc6ad41b843109febbe9596dde87f676a8b0e9 
418987ff05f892d3c33ed4ddbe856c496b05ea14
Author: Brian Paul 
Date:   Fri Jun 26 17:07:07 2009 -0600

Merge branch 'mesa_7_5_branch'

Conflicts:

Makefile
src/gallium/drivers/softpipe/sp_screen.c
src/mesa/main/version.h

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=418987ff05f892d3c33ed4ddbe856c496b05ea14
Author: Brian Paul 
Date:   Fri Jun 26 16:54:44 2009 -0600

docs: detect when too many varying vars are used

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=21320b24c5350943da9ed4cb0f1e8b05a09d4ef2
Author: Brian Paul 
Date:   Fri Jun 26 16:53:46 2009 -0600

glsl: check number of varying variables against the limit

Link fails if too many varying vars.

(cherry picked from master, commit cc58fbcf2c5c88f406818db60910f537e03610d6)

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4181a107cba1dfcb362084fc98be0c5e7e2aedde
Author: Brian Paul 
Date:   Fri Jun 26 16:47:57 2009 -0600

docs: fix typos, remove old text from relnotes file

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a41df86a3580f4d3e8379955492b886056c8b36
Author: Brian Paul 
Date:   Fri Jun 26 16:46:21 2009 -0600

docs: bring over news updates from 7.4 branch

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=318122b60a2af704086f719d1d9d36bede6f4e69
Author: Brian Paul 
Date:   Fri Jun 26 16:45:54 2009 -0600

docs: bring in 7.4.3 and 7.4.4 release notes, news

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd585db687f700de465fe78f9937eb785805e756
Author: Brian Paul 
Date:   Fri Jun 26 16:41:54 2009 -0600

docs: increase max varying vars to 16

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f08bebfe246d786c39731871d8c4aa00a10b29ab
Author: Brian Paul 
Date:   Fri Jun 26 16:33:46 2009 -0600

mesa: raise MAX_VARYING (number of shader varying vars) to 16

16 is the limit for now because of various 32-bit bitfields.

(cherry picked from master, commit 4e762395ef7e8c332c16fd0c11025cfa52763a45)

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d86503471cb8691ce266342810237fc1b15a7b2
Author: Ian Romanick 
Date:   Fri Jun 26 13:30:16 2009 -0700

intel / DRI2: Additional flush of fake front-buffer to real front-buffer

To maintain correctness, the server will copy the real front-buffer to
a newly allocated fake front-buffer in DRI2GetBuffersWithFormat.
However, if the DRI2GetBuffersWithFormat is triggered by glViewport,
this will copy stale data into the new buffer.  Fix this by flushing
the current fake front-buffer to the real front-buffer in
intel_viewport.

Fixes bug #22288.

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=077a06c140001849dafbedc4175f9aa703bbba69
Author: Brian Paul 
Date:   Fri Jun 26 13:16:08 2009 -0600

mesa: bump version to 7.5-rc4

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=62ad606065312cecb1e2dcad0ad2cadf402f0b5c
Author: Brian Paul 
Date:   Fri Jun 26 13:15:17 2009 -0600

docs: document for/continue bug fix

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=928e1ce47ffa54dd73b141eb2e4c272378cdda7f
Author: Brian Paul 
Date:   Fri Jun 26 12:51:05 2009 -0600

cell: PIPE_CAP_TGSI_CONT_SUPPORTED query

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=af7fb892d8f1eff1f0e787bf8c7d65165e3aa51e
Author: Brian Paul 
Date:   Fri Jun 26 12:50:58 2009 -0600

softpipe: PIPE_CAP_TGSI_CONT_SUPPORTED query

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5dc352e5fbf9cd84638922e8dfdc4b5fb49538c
Author: Brian Paul 
Date:   Fri Jun 26 12:50:45 2009 -0600

gallium: added PIPE_CAP_TGSI_CONT_SUPPORTED

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e80ecdf6596eb1f570ab6ae3dbcbd30660cd5b3a
Author: Brian Paul 
Date:   Fri Jun 26 12:34:03 2009 -0600

glsl: move/simplify error checking for 'return' statements

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e6dd8bf7991d8fc4938af692e5ce880ef139b4d
Author: Brian Paul 
Date:   Fri Jun 26 11:33:05 2009 -0600

glsl: overhaul 'return' statement handling

A new node type (SLANG_OPER_RETURN_INLINED) is used to denote 'return'
statements inside inlined functions which need special handling.

All glean glsl1 tests pass for EmitContReturn=FALSE and TRUE.

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa48becb829932f410ef93cf1bbf02e0386ea646
Author: Brian Paul 
Date:   Thu Jun 25 14:01:43 2009 -0600

glsl: predicate assignments according to __returnFlag

Fixes glean "function with early return (3)" case (when 
EmitContReturn=FALSE).

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=16787c513b677d850ecce9697d81814a2a48fc7f
Author: Brian Paul 
Date:   Thu Jun 25 14:02:41 2009 -0600

glsl: added slang_va

Mesa (master): 56 new commits

2008-09-21 Thread Keith Whitwell
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6fd15dd80666ccb1e9b99cedd306e32cc7cee989
Author: Brian Paul <[EMAIL PROTECTED]>
Date:   Tue Aug 19 18:14:15 2008 -0600

mesa: allow for extra per-context init
(cherry picked from commit 815cdcfbc0740c66b901361620c88d99541bdad2)

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b7e90984511cfa47597c255d73ca416ddd2db6f
Author: Brian Paul <[EMAIL PROTECTED]>
Date:   Tue Aug 12 17:41:57 2008 -0600

mesa: texture crop rect state
(cherry picked from commit c01fbc7866d7cd5cf4263dffec6d9591470b4c23)

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=93c90d34d10e06105984796b7b157f2a3e6db5c1
Author: Brian Paul <[EMAIL PROTECTED]>
Date:   Tue Aug 12 10:00:36 2008 -0600

mesa: set point state
(cherry picked from commit af3d9dba562813ffed71691bffd7faf6665c4487)

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=868c09a267f3c25591075f5a9e5d54535958632f
Author: Brian Paul <[EMAIL PROTECTED]>
Date:   Fri Aug 8 13:06:54 2008 -0600

mesa: fix some feature tests
(cherry picked from commit 74b14fe6ddbece8bc662aac4d3b2b18d8d853486)

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8122ab2dfd0e158a4982e1bfeb1f7a6f185b69ee
Author: Brian Paul <[EMAIL PROTECTED]>
Date:   Fri Aug 8 12:29:48 2008 -0600

mesa: fix some pixel transfer state tests for depth formats
(cherry picked from commit 966e199e409a1b52eef88e48997442250997f45e)

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6bc8749cd593e29e7950da36cd166aa1c9ebc34b
Author: Brian Paul <[EMAIL PROTECTED]>
Date:   Fri Jul 25 08:34:54 2008 -0600

mesa: fix issues causing warnings on Windows

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9614eac85df028bbb77a5073f2f1839bdaa308a0
Author: Michal Krol <[EMAIL PROTECTED]>
Date:   Tue Jul 15 11:15:27 2008 +0200

mesa: Silence compiler warnings on Windows.

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce1685ce947545fac8c254cafdc0f133b6202ca9
Author: Brian Paul <[EMAIL PROTECTED]>
Date:   Mon Jul 14 11:20:58 2008 -0600

mesa: comments about vectors vs components

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb10fa3ed6262a8103e5f3f579b2ec2b9d72afa9
Author: Brian Paul <[EMAIL PROTECTED]>
Date:   Tue Jul 8 16:58:50 2008 -0600

mesa: remove debug code

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6246dd890f356cc8beaab035018890e719e06227
Author: Brian Paul <[EMAIL PROTECTED]>
Date:   Tue Jul 8 16:12:01 2008 -0600

mesa: implement glGetUniformiv() with new ctx->Driver function

The old implementation could overwrite the caller's param buffer.

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=48cba703fa6fdbe2ad34770d54aeafdd01493f27
Author: Brian Paul <[EMAIL PROTECTED]>
Date:   Thu Jul 3 14:12:27 2008 -0600

mesa: added case for fixed pt

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1cf2c8a04313b80a01ef23b06993586ce62281a4
Author: Brian Paul <[EMAIL PROTECTED]>
Date:   Wed Jun 25 08:45:14 2008 -0600

mesa: point size arrays

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8e50dd796a72c396bb22d414feba75c426c5e7e
Author: José Fonseca <[EMAIL PROTECTED]>
Date:   Tue Jun 24 14:02:24 2008 +0900

mesa: Replace deprecated __MSC__ macro.

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=60325331a8a76f3c783284c65b81cee471d7d64c
Author: José Fonseca <[EMAIL PROTECTED]>
Date:   Tue Jun 24 13:12:41 2008 +0900

mesa: More signed/unsigned float/integer fixes.

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=457d7218b8e0f0c21ae31564d25b7031b423b0f8
Author: José Fonseca <[EMAIL PROTECTED]>
Date:   Tue Jun 24 11:34:46 2008 +0900

mesa: Use appropriate unsigned/signed, float/integer types.

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=88f729e4ec145ca388fb20e72d65c51af154d2e5
Author: José Fonseca <[EMAIL PROTECTED]>
Date:   Tue Jun 24 11:33:03 2008 +0900

mesa: Use _mesa_bsearch.

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=baa76e9aa255c4b459991b6ad6d80e69d9c1
Author: José Fonseca <[EMAIL PROTECTED]>
Date:   Tue Jun 24 10:58:55 2008 +0900

mesa: bsearch implementation for WinCE.

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e8af5ffcf5b59b6852cf0c7ad992af97de13fce
Author: José Fonseca <[EMAIL PROTECTED]>
Date:   Tue Jun 24 02:37:21 2008 +0900

mesa: ASSERT macro is already defined by WinCE headers.

Even when just the standard headers are used

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c115616bda80390e6d4b11e7ce6184ef1cc00838
Author: Brian Paul <[EMAIL PROTECTED]>
Date:   Fri Jun 20 14:29:49 2008 -0600

mesa: init ctx->RenderMode

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d17485fef9b084a6812c626d9734816429f29199
Author: Brian Paul <[EMAIL PROTECTED]>
Date:   Fri Jun 20 11:49:25 2008 -0600

mesa: GL_BYTE vertex/texcoord arrays

URL:
http://cgit.freedesktop.org/mesa/mesa/