glsl: Better Storage access and wip warps
This commit is contained in:
parent
86d4a05cec
commit
8ba814efb2
8 changed files with 133 additions and 62 deletions
|
@ -122,6 +122,10 @@ void EmitContext::SetupExtensions(std::string&) {
|
|||
header += "#extension GL_AMD_gpu_shader_half_float : enable\n";
|
||||
}
|
||||
}
|
||||
if (info.uses_subgroup_invocation_id || info.uses_subgroup_mask || info.uses_subgroup_vote ||
|
||||
info.uses_subgroup_shuffles || info.uses_fswzadd) {
|
||||
header += "#extension GL_ARB_shader_ballot : enable\n";
|
||||
}
|
||||
}
|
||||
|
||||
void EmitContext::DefineConstantBuffers(Bindings& bindings) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue