[Mesa-dev] [PATCH v2 0/3] cs: Add gl_GlobalInvocationID
Tapani Pälli
tapani.palli at intel.com
Wed Aug 26 22:13:27 PDT 2015
All 3 patches
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
On 08/23/2015 10:09 AM, Jordan Justen wrote:
> git://people.freedesktop.org/~jljusten/mesa cs-global-id-v2
> http://patchwork.freedesktop.org/bundle/jljusten/cs-global-id-v2
>
> For i965, these also depend on the texture sampling series:
> http://patchwork.freedesktop.org/bundle/jljusten/cs%20texture%20sampling/
>
> And the gl_LocalInvocationID series:
> http://patchwork.freedesktop.org/bundle/jljusten/i965-local-inv-id-v1/
>
> These patches allow piglit's
> tests/spec/arb_compute_shader/execution/basic-global-id-atomic.shader_test
> to pass.
>
> To test, I set MESA_GL_VERSION_OVERRIDE=4.3,
> MESA_GLSL_VERSION_OVERRIDE=430 and
> MESA_EXTENSION_OVERRIDE=GL_ARB_compute_shader.
>
> Jordan Justen (3):
> glsl/cs: Don't strip gl_GlobalInvocationID and dependencies
> glsl: Move link_get_main_function_signature to a common location
> glsl/cs: Initialize gl_GlobalInvocationID in main()
>
> src/glsl/builtin_functions.cpp | 28 ++++++++++++++++
> src/glsl/builtin_variables.cpp | 58 +++++++++++++++++++++++++++++++++
> src/glsl/glsl_parser_extras.cpp | 2 ++
> src/glsl/ir.h | 6 ++++
> src/glsl/linker.cpp | 31 ++----------------
> src/glsl/linker.h | 3 --
> src/glsl/lower_vertex_id.cpp | 2 +-
> src/glsl/opt_dead_builtin_variables.cpp | 14 ++++++++
> 8 files changed, 111 insertions(+), 33 deletions(-)
>
More information about the mesa-dev
mailing list