summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h
index b299b7b..ff5c24d 100644
--- a/src/gallium/drivers/radeonsi/si_shader.h
+++ b/src/gallium/drivers/radeonsi/si_shader.h
@@ -364,8 +364,10 @@ struct si_shader {
struct r600_resource *bo;
struct r600_resource *scratch_bo;
union si_shader_key key;
- struct radeon_shader_binary binary;
bool is_binary_shared;
+
+ /* The following data is all that's needed for binary shaders. */
+ struct radeon_shader_binary binary;
struct si_shader_config config;
struct si_shader_info info;
};