diff options
author | Dave Airlie <[email protected]> | 2017-04-18 05:23:47 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-04-19 09:00:42 +1000 |
commit | ec15e0d3015ccef4d6c60bd282cfb848118557ae (patch) | |
tree | 7278acf1a57c9ce4b14591be30eb617365decb56 /src/amd/common/ac_shader_info.h | |
parent | 31174069d2f0bbf016f3a581f4703b8c3417d0f0 (diff) |
radv: optimise compute shader grid size emission.
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/common/ac_shader_info.h b/src/amd/common/ac_shader_info.h index 7e2b6c885a6..ed97d06d56b 100644 --- a/src/amd/common/ac_shader_info.h +++ b/src/amd/common/ac_shader_info.h @@ -35,6 +35,9 @@ struct ac_shader_info { struct { bool needs_sample_positions; } ps; + struct { + uint8_t grid_components_used; + } cs; }; void |