OSDN Git Service

glsl: add intrinsics for ARB_shader_group_vote and ARB_shader_ballot
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 19 Apr 2017 08:08:25 +0000 (10:08 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 28 Apr 2017 09:33:58 +0000 (11:33 +0200)
commit99941a97241e550985e8e5624e4959835eb0cd6b
treed592659396a1a91d05366f075477d2ebc4885420
parent24011ead71ea9980e6b34e40d9dbd64e6560f5a4
glsl: add intrinsics for ARB_shader_group_vote and ARB_shader_ballot

These operations are currently implemented as IR expressions. However,
they cannot be transformed and moved in the way that other IR
expressions can because they have non-trivial interactions with
control-flow.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/compiler/glsl/ir.h
src/mesa/state_tracker/st_glsl_to_tgsi.cpp