summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_shader.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2018-02-20 13:30:14 +1000
committerDave Airlie <[email protected]>2018-03-16 05:23:12 +0000
commit9188bd78d7e2754f36ad66db3fab80c8ee9f5093 (patch)
tree2a6650558ce0e2746ddd1c5b7f2b8658301cdaf7 /src/amd/vulkan/radv_shader.h
parent384aced65e7768f7bba1a6159c6730efdd514d6c (diff)
radv: migrate lds size calculations to shader gen.
This moves the lds_size calcs into the shader so we have all the size stuff in one file. Reviewed-by: Samuel Pitoiset <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.h')
-rw-r--r--src/amd/vulkan/radv_shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_shader.h b/src/amd/vulkan/radv_shader.h
index 6066f00c404..45784b8ac43 100644
--- a/src/amd/vulkan/radv_shader.h
+++ b/src/amd/vulkan/radv_shader.h
@@ -234,6 +234,7 @@ struct radv_shader_variant_info {
struct {
unsigned tcs_vertices_out;
uint32_t num_patches;
+ uint32_t lds_size;
} tcs;
struct {
struct radv_vs_output_info outinfo;