diff options
author | Samuel Pitoiset <[email protected]> | 2019-07-05 08:33:06 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-07-07 17:51:32 +0200 |
commit | ee21bd7440c3222cc01a630c4ef49d33bf431807 (patch) | |
tree | 295fbba66f84642e9c82506bb78b2f0b605347a3 /src/amd/vulkan/radv_shader.h | |
parent | 9e37609d0bc1246a880571e78a169678bc9acf48 (diff) |
radv/gfx10: implement NGG support (VS only)
This needs to be cleaned up a bit, and it probably contains
missing stuff and/or bugs.
This doesn't fix the "half of the triangles" issue.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.h')
-rw-r--r-- | src/amd/vulkan/radv_shader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_shader.h b/src/amd/vulkan/radv_shader.h index 1ee7fea5890..acd417cdb57 100644 --- a/src/amd/vulkan/radv_shader.h +++ b/src/amd/vulkan/radv_shader.h @@ -65,6 +65,7 @@ enum { struct radv_vs_out_key { uint32_t as_es:1; uint32_t as_ls:1; + uint32_t as_ngg:1; uint32_t export_prim_id:1; uint32_t export_layer_id:1; uint32_t export_clip_dists:1; @@ -264,6 +265,7 @@ struct radv_shader_variant_info { unsigned num_input_vgprs; unsigned private_mem_vgprs; bool need_indirect_descriptor_sets; + bool is_ngg; struct { struct { struct radv_vs_output_info outinfo; |