diff options
author | Dave Airlie <[email protected]> | 2017-04-18 05:15:46 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-04-19 09:00:42 +1000 |
commit | 31174069d2f0bbf016f3a581f4703b8c3417d0f0 (patch) | |
tree | 1e4d9fa346005de3ec734888bbe2f2c673d1ccad /src/amd/common/ac_shader_info.h | |
parent | 224cf2906a8f38ce47411afc93a223ac0e41795f (diff) |
radv: start conditionalising vertex inputs. (v2)
In practice this will probably just drop draw id in a few places.
v2: just do draw_id for now. (Bas)
it might be possible to do something more if we need it in the
future. (nha)
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/common/ac_shader_info.h')
-rw-r--r-- | src/amd/common/ac_shader_info.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/amd/common/ac_shader_info.h b/src/amd/common/ac_shader_info.h index 5576c3b4bac..7e2b6c885a6 100644 --- a/src/amd/common/ac_shader_info.h +++ b/src/amd/common/ac_shader_info.h @@ -29,6 +29,10 @@ struct ac_nir_compiler_options; struct ac_shader_info { struct { + bool has_vertex_buffers; /* needs vertex buffers and base/start */ + bool needs_draw_id; + } vs; + struct { bool needs_sample_positions; } ps; }; |