On Thu, Nov 2, 2017 at 12:10 PM, Nicolai Hähnle wrote:
> On 31.10.2017 16:36, Connor Abbott wrote:
>>
>> On Tue, Oct 31, 2017 at 2:08 AM, Dave Airlie wrote:
+LLVMValueRef
+ac_build_subgroup_inclusive_scan(struct ac_llvm_context *ctx,
+LLVMValueR
On 31.10.2017 16:36, Connor Abbott wrote:
On Tue, Oct 31, 2017 at 2:08 AM, Dave Airlie wrote:
+LLVMValueRef
+ac_build_subgroup_inclusive_scan(struct ac_llvm_context *ctx,
+LLVMValueRef src,
+ac_reduce_op reduce,
+
On Tue, Oct 31, 2017 at 2:08 AM, Dave Airlie wrote:
>> +LLVMValueRef
>> +ac_build_subgroup_inclusive_scan(struct ac_llvm_context *ctx,
>> +LLVMValueRef src,
>> +ac_reduce_op reduce,
>> +LLVMValueRef ide
> +LLVMValueRef
> +ac_build_subgroup_inclusive_scan(struct ac_llvm_context *ctx,
> +LLVMValueRef src,
> +ac_reduce_op reduce,
> +LLVMValueRef identity)
> +{
> + /* See http://gpuopen.com/amd-gcn-as
From: Connor Abbott
Using the new WWM and DPP intrinsics introduced in LLVM 6.0. This adds
everything needed to implement SPV_AMD_shader_ballot, including the
Groups capability, to ac_llvm_build.c. That way, it can be shared by a
potential GL_AMD_shader_ballot implementation in the future. Curren