Mesa (master): 107 new commits
Marek Olšák
mareko at kemper.freedesktop.org
Wed Jul 22 23:25:18 UTC 2015
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bac12c8948681a23fd1a8f8a6bbb5523ccfe0939
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Feb 22 18:46:53 2015 +0100
radeonsi: enable tessellation, update GL3.txt & release notes
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a193c4978b0b536266afc7887457ab11473671d7
Author: Marek Olšák <marek.olsak at amd.com>
Date: Mon May 18 14:41:35 2015 +0200
radeonsi: add scratch buffer support for tessellation shaders
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=12df9a7876ed0e6cfffb7871dc37bf66c95edca3
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Feb 22 18:16:02 2015 +0100
radeonsi: update invariant registers for tessellation
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=99bf47f603502cd6f3a6040ba17c0881e3b0c15f
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Feb 22 18:10:38 2015 +0100
radeonsi: add assertions into draw_vbo and check tessellation
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5aa5f9082347941fd8ac2fc3e94cd91aa1489982
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Feb 22 18:09:18 2015 +0100
radeonsi: set the rasterization primitive type for tessellation
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3344699243b856c3bc7b8ea08a949d2e3274e871
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Feb 22 18:07:51 2015 +0100
radeonsi: set VGT_LS_HS_CONFIG for tessellation
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=09d02fa463b7207464c99ca887e253476fde851e
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Feb 22 18:06:34 2015 +0100
radeonsi: update IA_MULTI_VGT_PARAM for tessellation
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=74c1001d13f07538e349c157598f9de83f252c49
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Feb 22 18:01:18 2015 +0100
radeonsi: add derived tessellation state
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=db267a04ceee51ca1698c3a68127508fa1e31c86
Author: Marek Olšák <marek.olsak at amd.com>
Date: Mon May 18 01:59:37 2015 +0200
radeonsi: implement a fixed-function tessellation control shader and its state
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b6f4fdf6a9238bdb9e0589eafb22396da347b792
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Feb 22 17:25:37 2015 +0100
radeonsi: set up a ring buffer for tessellation factors
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ebfd9e007191d582e22d252e9ff9b93fe4f8c593
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Feb 22 17:07:34 2015 +0100
radeonsi: add tessellation shader states
ls_rsrc# will be emitted as part of the derived tessellation state
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa2fa6723a0f8ab86ce2e55b1ac093f2cffd87c6
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Feb 22 16:07:04 2015 +0100
radeonsi: update si_get_vs_info and si_get_vs_state for tessellation
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fff16e4ad2cf51749e01e04805908effe49217d1
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Feb 22 15:09:35 2015 +0100
radeonsi: add shader code generation for tessellation
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4805685b6fe6efb7891dbc6dbab6ae4edce7e19e
Author: Marek Olšák <marek.olsak at amd.com>
Date: Mon Oct 6 13:19:53 2014 +0200
radeonsi: implement TGSI_OPCODE_BARRIER
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=59b3556f4c69f0e6e5430ca6ab384d2ac9372bfc
Author: Marek Olšák <marek.olsak at amd.com>
Date: Fri Sep 19 00:16:12 2014 +0200
radeonsi: program VGT_SHADER_STAGES_EN for tessellation
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9d0de4d289fa0b18bf23c85586e0111d64bf3b7
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu Sep 18 23:39:44 2014 +0200
radeonsi: add translation of PATCH primitives
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=55b6f1caaeef4fa81fcc34d552aee4f0448417bb
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu Sep 18 22:54:40 2014 +0200
radeonsi: add support for tessellation shader resources and samplers
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1f43a7e5b889b30106c4db55ec1caac1ed6ca4a
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu Sep 18 22:50:52 2014 +0200
radeonsi: add code for creating, binding and destroying tessellation shaders
This doesn't do anything yet.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2670463fd50f5b74066f0e0ab8f9a31dcb37429
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu Sep 18 22:26:02 2014 +0200
radeonsi: add debug flags for dumping tessellation shaders
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ce91c727f2a00a05f414351266b0b45d677611e
Author: Marek Olšák <marek.olsak at amd.com>
Date: Mon Sep 15 23:34:28 2014 +0200
radeonsi: rework how shader pointers to descriptors are set
This is mainly needed for tessellation where a VS can be bound as VS, ES,
or LS, and TES (tess. evaluationshader) can be bound as VS or ES or neither.
Therefore we need the ability to move pointers to descriptors between
shaders arbitrarily.
The idea is that the context has a mapping from PIPE_SHADER_x to
SPI_SHADER_USER_DATA_x. After a shader is enabled or disabled,
si_shader_change_notify should be called to update this mapping accordingly.
There is a dirty flag for each shader pointer, but only one emit function
for all pointers in the whole context, whose code and logic is separated
from descriptors.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=57b6f8d9f9bfafd931974eae6942663e2ba6db02
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Feb 22 14:54:54 2015 +0100
radeonsi: rename build_streamout_store -> build_tbuffer_store_dwords
It will be reused later.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f66844820e3ae2403d66d3275b1bf3e77087189c
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Feb 22 14:46:20 2015 +0100
radeonsi: separate primitive ID computation
Support for new shader stages will be added here.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa1f2af572a0285e9f5779e17b2d753119e0ec85
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Feb 22 14:33:49 2015 +0100
radeonsi: move declaring streamout parameters to its own function
It will be reused later.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ecb06b946ff8bf4a96de79ab81926fa1bf5a93f
Author: Marek Olšák <marek.olsak at amd.com>
Date: Mon Oct 6 00:17:42 2014 +0200
radeonsi: make ES2GS offset sgpr location dynamic
It will have a different location in the tessellation evaluation shader.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1bc0fba572363f5460be7343cff8b8b7a315d755
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Mar 3 15:11:27 2015 +0100
gallium/radeon: expose emit_fetch
Radeonsi will use this.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3be59b4a91e25d47535f192194ff669cfe2ef6e
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Oct 5 20:20:18 2014 +0200
gallium/radeon: expose LLVM functions implementing emit_store
emit_store will be reimplemented for tessellation control shader outputs
where only radeon_llvm_saturate will be used, but radeonsi will want to
fall back to radeon_llvm_emit_store for other register types.
This exposes both functions.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7626ad8d6daad147bf9a1a82fa4c3ac9e2d3347c
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Feb 22 19:50:42 2015 +0100
st/mesa: enable tessellation if the driver supports it
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bda9094f1d69817ed1a51677d38e157ec3b37826
Author: Marek Olšák <marek.olsak at amd.com>
Date: Mon May 18 12:49:10 2015 +0200
st/mesa: set default tessellation levels
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=82f7fad96691480b9ffdeb3e8e1b3345ede713ef
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Sun Sep 7 18:36:06 2014 -0400
st/mesa: add barrier support
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f40428afbbfa9080964df3cd4f38f24122c4c5e
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Mon Jul 21 20:45:29 2014 -0400
st/mesa: disable copy propagation for tessellation shaders
This can't work due to shared inputs and outputs and barriers.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4c13fad6550f42524786c70b6f13fc510abaf0b
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Mon Jul 21 18:49:40 2014 -0400
st/mesa: set vertices_per_patch when drawing
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=37d1809dd7cdfedbee4fcfef148fcdb1c7b43068
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Sun Jul 13 15:02:53 2014 -0400
st/mesa: add 2d indexing support to outputs
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9998617a8f40ad7e65aca9c581f5bcc7f1d0f4c
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Feb 22 20:47:31 2015 +0100
st/mesa: handle tessellation 2D varyings correctly
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=05c847433f5a3f3b2032bef32284ad7d6a2db850
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Sat Jul 12 20:09:06 2014 -0400
st/mesa: lower gl_TessLevel from float[] to vecn
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d00e2763b153c212e8f01af610ae305606044bcc
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Sat Jul 12 17:28:24 2014 -0400
st/mesa: query shader CAPs for tessellation
The MaxTessPatchComponents query added by Marek.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=40bc1c32d2fb42207ea860053045fa49e45d80b9
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Sat Jul 12 17:15:51 2014 -0400
st/mesa: add texture updates for tessellation programs
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bda79139d4579b5105c45561401960a82bab2f7e
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Sat Jul 12 17:10:59 2014 -0400
st/mesa: handle constbufs/ubos for tessellation shaders
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a58a66fe8577940cf07530b6235a386950ae04f7
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Feb 22 20:44:39 2015 +0100
st/mesa: add conversion for tessellation shaders
Based on code from Ilia Mirkin <imirkin at alum.mit.edu>.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba9fb96f86344f1631b82114bb0ce6f926d3853a
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Fri Jul 11 22:11:21 2014 -0400
st/mesa: add tessellation shader states
additional fixes by Marek
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=df4ee8ef366c60ad41502d4e45e0347c1ef1e348
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Jun 16 13:07:04 2015 +0200
mesa: implement GL_IS_PER_PATCH
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0af240e9401c12f4237f4a36a2474fe2cc590404
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sat Jun 13 13:50:12 2015 +0200
glsl: use separate varying slots for patch varyings
The idea is to allow 32 normal varyings and 32 patch varyings,
a total of 64. Previously, only a total of 32 was allowed.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d07023894434325de850faabf005224f7b8ef4b8
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sat May 16 21:12:54 2015 +0200
glsl: fix locations of 2-dimensional varyings without varying packing (v2)
v2: renamed producer/consumer_type -> producer/consumer_stage
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=41acdae2e9eedb697a0f91815e201daf92d74ab4
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sat Oct 4 00:13:42 2014 +0200
glsl: don't demote tess control shader outputs
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a4b87f26d6c8c12eb119d72bf46461a7a384ab9
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sat Oct 4 00:15:33 2014 +0200
glsl: disable varying packing between tessellation shaders
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5787e7eef7c42e4a90cbd89dee81efbf1491487
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Jun 16 02:43:55 2015 +0200
glsl: allow indexing of gl_out with a non-const if length isn't known
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=19f46d0540d9557a4d458ceb72f27ece28fa935e
Author: Chris Forbes <chrisf at ijw.co.nz>
Date: Fri Sep 12 21:27:26 2014 +1200
glsl: allow redeclaration of TCS gl_out[]
Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cf72972ce2fc7df83d0572745968bbcb41a8c92
Author: Chris Forbes <chrisf at ijw.co.nz>
Date: Sun Sep 7 21:42:50 2014 +1200
glsl: validate restrictions on use of barrier()
With the exception of always-taken switch cases (which are
indistinguishable from straight line code in our IR), this
disallows use of the builtin barrier() function in all the
places it may not appear.
Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=799afadf51ad1ff0775a1bf7b4f3954a8d368b09
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Jun 14 20:14:22 2015 +0200
glsl: allow barrier() in tessellation control shaders
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=df16e0dd63dfeb7d5086339113ff7d7197010847
Author: Chris Forbes <chrisf at ijw.co.nz>
Date: Tue Sep 9 19:25:02 2014 +1200
glsl: analyze TES usage of gl_ClipDistance
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e94f350eeecd84cd5f15b10837b285bc9120684
Author: Chris Forbes <chrisf at ijw.co.nz>
Date: Sun Sep 7 18:19:15 2014 +1200
glsl: push vertex count determination down one level
We have the prog here, so we don't need the caller to work this out for
us.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=567f1b2ee89bf05f0600e9e79847140555f0a035
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Mon Jul 21 21:59:37 2014 -0400
glsl: pass shader stage to lower_output_reads and handle tess control
Tessellation control outputs can be read in directly without first
having been written. Accessing these will require some special logic
anyways, so just let them through.
V2: Never lower tess control output reads, whether patch or not -- both
can be read back by other threads.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=61846f222fffeba846f9f7277aba9cc7d48323ed
Author: Chris Forbes <chrisf at ijw.co.nz>
Date: Mon Sep 1 20:48:09 2014 +1200
glsl: properly size unsized arrays in tess stages
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d563946a4064d50f6fa7ce5e9e8ccb1479d1205e
Author: Chris Forbes <chrisf at ijw.co.nz>
Date: Sun Aug 31 19:35:46 2014 +1200
glsl: restrict indexing for writes to TCS outputs to gl_InvocationID
Marek: handle ir_swizzle
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=da7adb99e85fc6efa7f0e570ab93bd7b625975ae
Author: Chris Forbes <chrisf at ijw.co.nz>
Date: Sun Aug 17 22:37:16 2014 +1200
glsl: add builtin constants for ARB_tessellation_shader
Limits from other extensions added by Marek.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7f98f9f094090c6e8a24407dab67e4873c68694
Author: Chris Forbes <chrisf at ijw.co.nz>
Date: Sun Aug 24 16:46:40 2014 +1200
glsl: allow nonconst indexing of arrays where we can work out an implicit size
Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=64a0ae88b971e549852348b169de48d1d0b0869d
Author: Chris Forbes <chrisf at ijw.co.nz>
Date: Mon Aug 18 21:51:46 2014 +1200
glsl: relax unsized input/output block arrays for TCS/TES
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2abbe941e1bfaf494eb739b9fb81503736298f14
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Jun 16 01:32:28 2015 +0200
glsl: add the tessellation extension to the list for the "layout" qualifier
This is technically not needed, but it makes the compiler return a better
error message if tessellation is used with GLSL < 1.50.
Instead of:
error: syntax error, unexpected NEW_IDENTIFIER, expecting $end
It returns:
error: #version 150 layout qualifier `triangles' used
And the tessellation spec says:
OpenGL 3.2 and GLSL 1.50 are required.
So it makes perfect sense.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb800b3dcd32ddb6f57143b46105d677eb01da80
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu May 28 23:24:08 2015 +0200
glsl: don't lower variable indexing on non-patch tessellation inputs/outputs
There is no way to lower them, because the array sizes are unknown
at compile time.
Based on a patch from: Fabian Bieler <fabianbieler at fastmail.fm>
v2: add comments
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0cfac917554aeb46bd78ba5b5f5ee1c8ed1d68bc
Author: Fabian Bieler <fabianbieler at fastmail.fm>
Date: Thu Mar 20 22:34:42 2014 +0100
glsl: make stand-alone compiler work with tessellation shaders.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c53aa26379ccee9d53fe1d1ea9bfa26d4d469618
Author: Fabian Bieler <fabianbieler at fastmail.fm>
Date: Thu Mar 20 22:37:37 2014 +0100
glsl: add "in" or "out" prefix to name when flattening interface blocks
This is to prevent a name conflict in tessellation shaders built-in interface
blocks.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=73a9a1539a85ae8fe22e11b4064105d588597736
Author: Fabian Bieler <fabianbieler at fastmail.fm>
Date: Mon Mar 10 17:55:36 2014 +0100
glsl: lower gl_TessLevel* from float[n] to vecn.
Similar to gl_ClipDistance -> gl_ClipDistanceMESA
v2: - renamed is_mesa_var to lowered_builtin_array_variable
- moved LowerTessLevel into gl_constants
- cosmetic changes in lower_tess_level.cpp
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=54f29502972cdd33302e69e029c8d07fb31b7bdf
Author: Fabian Bieler <fabianbieler at fastmail.fm>
Date: Thu Mar 20 22:33:05 2014 +0100
glsl: make lower_clip_distance work with tessellation shaders.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c758c5a216b0a72a089c4fe9b4facde0e7b2726
Author: Chris Forbes <chrisf at ijw.co.nz>
Date: Sun Sep 21 13:33:14 2014 +1200
glsl: allow linking of tessellation shaders.
Marek: require a tess eval shader if a tess control shader is present
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1009b3311febe3909e82d4b5be38ceecad6afcc1
Author: Fabian Bieler <fabianbieler at fastmail.fm>
Date: Wed Mar 5 13:43:17 2014 +0100
glsl: add the patch in/out qualifier (v2)
v2: Dropped some unrelated reordering in glsl_parser.yy as Ken suggested.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1036b024d4c8ce2376ac41219dfda01d5a59b3ef
Author: Fabian Bieler <fabianbieler at fastmail.fm>
Date: Thu Mar 20 22:41:40 2014 +0100
glsl: add tessellation shader defines and built-in variables.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=497eb295838baccde1420adfcc4ef7e8fdddd774
Author: Fabian Bieler <fabianbieler at fastmail.fm>
Date: Thu Mar 20 22:44:43 2014 +0100
glsl: add tessellation shader parsing support (v2)
v2: Fixed things that Ken suggested.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=206af9d049cab6e794db5abf63e3d11281343423
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu May 28 22:08:55 2015 +0200
mesa: don't allow drawing with tess ctrl shader and without tess eval shader
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d528e7c476f25f24bca35d09d1f4c2b00123234
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Apr 22 23:05:34 2015 +0200
mesa: handle tessellation shaders in use_shader_program
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=882413f1c5926503550a42554a83f57f85fec82d
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Jun 14 01:21:02 2015 +0200
mesa: add program interface queries for tessellation shaders
Based on a patch by Chris Forbes <chrisf at ijw.co.nz>.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=550a570c5325cc64a547fe4d6e1e75af2d0e9587
Author: Fabian Bieler <fabianbieler at fastmail.fm>
Date: Fri Mar 7 10:39:39 2014 +0100
mesa: add misc tessellation shader stuff
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6823d713c68dfb5679a7c96d06f72c31f755d686
Author: Fabian Bieler <fabianbieler at fastmail.fm>
Date: Fri Mar 7 10:39:18 2014 +0100
mesa: add tessellation shader getters (v3)
Tessellation dependencies added by Marek.
v2: require tessellation in addition to atomics/images for some glGet queries
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb0c12512cf83ac412ecc78d4d4c5318c46c9b22
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sat Jun 13 23:06:06 2015 +0200
mesa: allow setting of patch parameters.
Based on a patch from Fabian Bieler <fabianbieler at fastmail.fm>.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e32e546c17932161e5417a952db3fb7a19cdc93c
Author: Chris Forbes <chrisf at ijw.co.nz>
Date: Sun Sep 21 12:08:22 2014 +1200
mesa: require VS if TCS or TES is present in pipeline
Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a30cc2882934ef25f41e1e41eb56d0b768f00b26
Author: Chris Forbes <chrisf at ijw.co.nz>
Date: Sun Sep 21 11:16:06 2014 +1200
mesa: allow tess stages in glUseProgramStages
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6435b2909e4f1b82268a1c5769c0c228cda768e0
Author: Fabian Bieler <fabianbieler at fastmail.fm>
Date: Fri Mar 7 10:33:54 2014 +0100
mesa: support tess stages in glGetProgramPipelineiv
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5852b5d2fa02d7716c2fbf859d058a2881416e9c
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sat Jun 13 22:26:56 2015 +0200
mesa: take tessellation into account when validating GS input primitive mode
I've reported the bug in the Khronos bugzilla.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e758c3a74a35f8ee6c5969d5bb5f788b4ef4337
Author: Chris Forbes <chrisf at ijw.co.nz>
Date: Sun Sep 21 12:37:47 2014 +1200
mesa: allow drawing of patch primitives
Cosmetic changes and fixes by Marek.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa602c208815c3e4d757072cadc00e617e30b933
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu May 28 19:11:07 2015 +0200
mesa: add _mesa_has_tessellation
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a894ed82931840713aac25634ed469ac65889bfa
Author: Fabian Bieler <fabianbieler at fastmail.fm>
Date: Mon Mar 10 11:58:37 2014 +0100
mesa: add misc tessellation shader support
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=78d3054980edd1a12e56ad0362e889915cff335b
Author: Fabian Bieler <fabianbieler at fastmail.fm>
Date: Fri Mar 7 10:28:03 2014 +0100
mesa: add tessellation shader init functions.
Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb97cc66c149d0782ec269aab29700252fda9db0
Author: Chris Forbes <chrisf at ijw.co.nz>
Date: Sun Sep 21 12:41:07 2014 +1200
mesa: add tessellation shader state and limits
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2af956963b6bc4d29f37485e44c98008d2ef077
Author: Fabian Bieler <fabianbieler at fastmail.fm>
Date: Fri Mar 7 10:19:09 2014 +0100
mesa: add tessellation shader enums
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=df3860a3e3269bfe77562058fd87b39ae2f57fcc
Author: Fabian Bieler <fabianbieler at fastmail.fm>
Date: Fri Mar 7 10:13:16 2014 +0100
mesa: add tessellation shader structs
Marek: remove unused members, cleanup
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2b59a39cbb64f6759f463f7bad162f5f03807b4
Author: Fabian Bieler <fabianbieler at fastmail.fm>
Date: Fri Mar 7 09:59:11 2014 +0100
mapi: add ARB_tessellation_shader
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ead448719f39d27bfbf4cabf138324dfee34a4f
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Jun 16 22:13:34 2015 +0200
drirc: drop support for Heaven 3.0, fixes tessellation in 4.0
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b37643b820b32c3e15e4a8661448a11af8321dd
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu Jul 16 15:27:34 2015 +0200
winsys/radeon: implement buffer_unmap
This has been a no-op due to performance concerns. From now on, drivers
should decide when they don't want to unmap, not the winsys.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e3974338ed7ea49a41405f8c2e4bcd5fd1f5c80
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu Jul 16 14:54:50 2015 +0200
gallium/radeon: remove buffer_unmap calls that can potentially decrease perf
buffer_unmap is currently a no-op on radeon and done correctly on amdgpu.
I plan to fix it for radeon, but before that, all occurences of buffer_unmap
that can negatively affect performance in the future must be removed.
There are 2 reasons for removing buffer_unmap calls:
- There is a likelihood that buffer_map will be called again, so we don't
want to unmap yet.
- The buffer is being released, which automatically unmaps it.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0aa2446e2c18e4a54ccf8555a8ff3426e4eb3ded
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu Jul 16 14:42:38 2015 +0200
radeonsi: remove switch statement in si_create_context
and make si_init_config static
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=46b2b3bda8d962fce02838e09c742ac06fbec45f
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu Jul 16 13:17:14 2015 +0200
radeonsi: don't change pipe_resource in resource_copy_region
Copied from r600g. pipe_resource can be shared by multiple threads, so we
shouldn't change it.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=50a957c5de842b18e10c361f7b0310aa46bb483f
Author: Marek Olšák <marek.olsak at amd.com>
Date: Fri Jul 10 23:35:55 2015 +0200
radeonsi: upload shader rodata after updating scratch relocations
Cc: 10.5 10.6 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4d738f6c6b98a78830c10ab7b89704d847637a5
Author: Marek Olšák <marek.olsak at amd.com>
Date: Fri Jul 10 23:29:04 2015 +0200
radeonsi: remove redundant parameter in si_shader_binary_read
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2369dc83826c7b1f413ff78f55e460c38d7a0660
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Jul 5 16:57:58 2015 +0200
cso: eliminate some sampler function wrappers
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=68dcbf4c4679ad4e62d55e4f2632311aeef38eed
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Jul 12 16:12:59 2015 +0200
gallium/tests: use cso_set_samplers
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=85f5722f70075e7a93b7a6cc41abee1bc493f4e2
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Jul 12 15:52:44 2015 +0200
gallium/util: use cso_set_samplers
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ef1782b9ff8aa06f5b7fdbc7ade3e80131d1fda
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Jul 5 16:54:44 2015 +0200
st/mesa: use cso_set_samplers
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ef7d93a941257b18506eae056631e8f4a11f893
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Jul 5 16:34:59 2015 +0200
cso: remove clip state handling
There is no need for this.
v2: handle redundant clip state changes in st/mesa
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7492a1f45866a01b00263f9e252ddc3835304e9
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Jul 5 16:32:49 2015 +0200
cso: only allow saving and restoring fragment sampler states
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e8bbed926729fe280701412d85aff64ab79856c
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Jul 5 16:10:54 2015 +0200
cso: drop inefficient checking for redundant sampler state changes
Drivers can do this better, because they can skip redundant state changes
at per-slot granularity.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3639d66a473591e21aa2ec7692c95c827b479632
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Jul 5 15:53:10 2015 +0200
cso: only allow saving and restoring fragment sampler views
Not needed for other shader stages.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d8213bfa9023b47a5fd6599596e1b02fdcdd4f6
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sat Jul 4 13:18:11 2015 +0200
gallium/util: improve dump functions
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8141b4cee514bb673e394f6fbe2cbe02e5b0faf2
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sat Jul 4 13:17:07 2015 +0200
tgsi: allow dumping to a file directly
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d082c5324914212f76e45be497229c7a0681f706
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu Jul 16 17:14:07 2015 +0200
st/mesa: don't call st_validate_state in BlitFramebuffer
None of the draw states are used here.
This fixes a crash in piglit: ext_framebuffer_blit/blit-early
Calling st_manager_validate_framebuffers is the minimum requirement here.
Cc: mesa-stable at lists.freedesktop.org
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f50fc040c223339dc14f2975c45d35dd4513c13
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Apr 29 17:57:46 2015 +0200
docs/relnotes: document new EGL extensions and EGL 1.5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1828357629721e53a305a29047c0eb18be10915b
Author: Anatoli Antonovitch <anatoli.antonovitch at amd.com>
Date: Wed Jun 10 14:47:03 2015 +0200
st/dri: enable 3D textures and sRGB colorspace for EGL
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f57ccd02d4c5f214c7e59e7302c1dc650cff31d
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Jun 10 14:45:58 2015 +0200
egl,dri_interface: use DRI2rendererQueryExtension to enable 3D textures & sRGB
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2c2e9ab604793c6e01f85497f3f5bf645f962fa
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Jun 10 02:49:29 2015 +0200
egl: implement EGL_KHR_gl_colorspace (v2)
v2: add missing "break"
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=956ebf41aca6b74052cf6876cc479b404777700c
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Jun 10 01:49:36 2015 +0200
st/dri: expose sRGB visuals (v2)
v2: The fix for the darkness in Ubuntu Unity is in the hunk
with the 4-line comment.
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
More information about the mesa-commit
mailing list