URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c154bbe6080ced9607bc3f3240d2f0866018aeb
Author: Tapani Pälli <[email protected]>
Date: Fri Mar 13 08:53:23 2015 +0200
mesa: refactor GetUniformBlockIndex
Use _mesa_program_resource_index to get index.
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b256eb0ec1f919f23641f8d47d4b2ce126dd1a4
Author: Tapani Pälli <[email protected]>
Date: Thu Mar 12 14:37:20 2015 +0200
mesa: refactor GetUniformIndices
Use _mesa_program_resource_index to get indices.
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=51313f567d59afd5491e03d1593030066df974eb
Author: Tapani Pälli <[email protected]>
Date: Thu Mar 12 14:31:15 2015 +0200
mesa: refactor GetUniformLocation
Use _mesa_program_resource_location to get location.
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=45637e9c1f47df8cc8284b39b18f6b5f2e14aae9
Author: Tapani Pälli <[email protected]>
Date: Thu Mar 12 13:33:25 2015 +0200
mesa: refactor GetActiveUniformBlockName
Use _mesa_get_program_resource_name to get name.
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=284003e1f1b84f165f2cffdcec47bee972b12a8d
Author: Tapani Pälli <[email protected]>
Date: Thu Mar 12 13:53:07 2015 +0200
mesa: remove unused _mesa_get_uniform_name
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d6fa52e33183942fe93e2fad27bf4881b0a1ce0
Author: Tapani Pälli <[email protected]>
Date: Thu Mar 12 13:22:16 2015 +0200
mesa: refactor GetActiveUniformName
Use _mesa_get_program_resource_name to get name.
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=17dc939f756cfed23574ad84764f5e2a5a9b6751
Author: Tapani Pälli <[email protected]>
Date: Thu Mar 12 12:55:18 2015 +0200
mesa: refactor GetActiveUniform
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc39d843d21898752ce5d79804ff9f638595d3a9
Author: Tapani Pälli <[email protected]>
Date: Thu Mar 12 12:08:56 2015 +0200
mesa: refactor GetTransformFeedbackVarying
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7519ddb4d8192f992c4a8b3fff84465b52905958
Author: Tapani Pälli <[email protected]>
Date: Thu Mar 12 10:17:09 2015 +0200
mesa: refactor GetActiveUniformsiv, use _mesa_program_resource_prop
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=34df5ebd778fd3027db0f380eab71a95cfa298c0
Author: Tapani Pälli <[email protected]>
Date: Thu Mar 12 07:58:48 2015 +0200
mesa: mesa_bufferiv utility function for buffer objects
Patch adds new function 'mesa_bufferiv' and refactors existing
GetActiveUniformBlockiv and GetActiveAtomicCounterBufferiv to
use it.
corresponding Piglit tests:
arb_uniform_buffer_object*
arb_shader_atomic_counters*
(Many tests hit the corresponding queries.)
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e7f134f89f52cf103e2b682faa72dac4cc2f840
Author: Tapani Pälli <[email protected]>
Date: Thu Mar 12 15:14:31 2015 +0200
mesa: refactor GetFragDataIndex
Use _mesa_program_resource_location_index to fetch index.
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=62057c77f135ae7ebe5f10def714edb5492cb0be
Author: Tapani Pälli <[email protected]>
Date: Thu Mar 12 15:13:30 2015 +0200
mesa: refactor GetFragDataLocation
Use program_resource_location to fetch location.
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d1544cc91cad4cca1deb67c82fc7390fe4196f9
Author: Tapani Pälli <[email protected]>
Date: Thu Mar 12 15:11:04 2015 +0200
mesa: refactor GetAttribLocation
Use program_resource_location to fetch location.
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=26c0394a964f13d0266b1dcf7283bf21b7bca340
Author: Tapani Pälli <[email protected]>
Date: Wed Mar 11 09:05:47 2015 +0200
mesa: refactor GetActiveAttrib
Instead of iterating IR, retrieve required information through
the new program resource functions.
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=41c230cd983195e3989153f8d82ec95e298352d4
Author: Tapani Pälli <[email protected]>
Date: Tue Apr 7 12:07:03 2015 +0300
mesa: enable GL_ARB_program_interface_query extension
(and mark it as DONE in docs/GL3.txt + 10.6.0 relnotes)
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ab8de2181988870a95de23aeb906df5678e1e90
Author: Tapani Pälli <[email protected]>
Date: Tue Mar 10 13:11:14 2015 +0200
mesa: implementation of glGetProgramResourceiv
Patch adds required helper functions to shaderapi.h and
the actual implementation.
The property query functionality can be tested with tests for
following functions that are refactored by later patches:
GetActiveAtomicCounterBufferiv
GetActiveUniformBlockiv
GetActiveUniformsiv
v2: code cleanup (Ilia Mirkin)
add bufSize < 0 check and error out
fix is_resource_referenced to return bool
check for propCount and bufSize, fixes in buffer_prop
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9367ade331e5d0a7724c595e7afb0322caaaddf7
Author: Tapani Pälli <[email protected]>
Date: Thu Mar 12 14:08:38 2015 +0200
mesa: glGetProgramResourceLocationIndex
Patch adds required helper functions to shaderapi.h and
the actual implementation.
The added functionality can be tested by tests for following
functions that are refactored by later patches:
GetFragDataIndex
v2: return -1 if output not referenced by fragment stage
(Ilia Mirkin)
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0e4d77f0120865b3ca0a4055358fc87d38d1cfe
Author: Tapani Pälli <[email protected]>
Date: Thu Mar 12 13:45:22 2015 +0200
mesa: glGetProgramResourceLocation
Patch adds required helper functions to shaderapi.h and
the actual implementation.
corresponding Piglit test:
arb_program_interface_query-resource-location
The added functionality can be tested by tests for following
functions that are refactored by later patches:
GetAttribLocation
GetUniformLocation
GetFragDataLocation
v2: code cleanup, changes to array element
syntax checking (Ilia Mirkin)
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a5a0d19d67b2ccd7eee33a6f3bead66cc2d78ff
Author: Tapani Pälli <[email protected]>
Date: Tue Mar 10 10:33:20 2015 +0200
mesa: glGetProgramResourceName
Patch adds required helper functions to shaderapi.h and
the actual implementation.
Name generation copied from '_mesa_get_uniform_name' which can
be removed later by refactoring functions to use resource list.
The added functionality can be tested by tests for following
functions that are refactored by later patches:
GetActiveUniformName
GetActiveUniformBlockName
v2: no index for geometry shader inputs (Ilia Mirkin)
add bufSize < 0 check and error out
validate enum
corresponding Piglit test:
arb_program_interface_query-getprogramresourcename
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=161f57f6103802de55d792bcc6a4370afa5c5173
Author: Tapani Pälli <[email protected]>
Date: Tue Mar 10 09:30:30 2015 +0200
mesa: glGetProgramResourceIndex
Patch adds required helper functions to shaderapi.h and
the actual implementation.
v2: code cleanup (Ilia Mirkin)
corresponding Piglit test:
arb_program_interface_query-getprogramresourceindex
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d3b98bc5801df27a7f9f2e3df28d66d83f883d9
Author: Tapani Pälli <[email protected]>
Date: Fri Mar 6 15:05:51 2015 +0200
mesa: glGetProgramInterfaceiv
Patch adds required helper functions to shaderapi.h and
the actual implementation.
v2: code cleanup (Ilia Mirkin)
fix array size fo xfb varyings
validate programInterface and throw error
v3: put GL_MAX_NUM_COMPATIBLE_SUBROUTINES where
it belongs
corresponding Piglit test:
arb_program_interface_query-getprograminterfaceiv
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c796ce4108ccc4987c24df43606d04a0f3658d44
Author: Tapani Pälli <[email protected]>
Date: Fri Mar 6 09:14:49 2015 +0200
mesa/glsl: build list of program resources during linking
Patch adds ProgramResourceList to gl_shader_program structure.
List contains references to active program resources and is
constructed during linking phase.
This list will be used by follow-up patches to implement hooks
for GL_ARB_program_interface_query. It can be also used to
implement any of the older shader program query APIs.
v2: code cleanups + note for SSBO and subroutines (Ilia Mirkin)
v3: code cleanups + assert(MESA_SHADER_STAGES < 8) (Martin Peres)
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b297fc27aa93c4af4cf8ecf9702fd0b95d2c4f9a
Author: Tapani Pälli <[email protected]>
Date: Mon Feb 16 14:15:36 2015 +0200
glapi: add GL_ARB_program_interface_query skeleton
v2: update dispatch_sanity test (Jason Ekstrand)
+ small code cleanups
v3: xml and Makefile fixes (Ilia Mirkin, Matt Turner)
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=993b9b6adbd2c97ccb58b7cbc46382d1ae87b9ab
Author: Tapani Pälli <[email protected]>
Date: Tue Mar 17 13:58:57 2015 +0200
linker: fix varying linking if SSO program has only gs and fs
Previously linker did not take in to account case where one would
have only gs and fs (with SSO), patch adds the case by refactoring
code around assign_varying_locations. This makes sure locations for
gs get populated correctly.
This was found with some of the SSO subtests of Martin's upcoming
GetProgramInterfaceiv Piglit test which passes with the patch, no
Piglit regressions.
v2: code cleanups (Martin Peres)
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit