summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-10-04 19:09:09 +0200
committerMarek Olšák <[email protected]>2014-10-12 23:51:44 +0200
commita9592cd3ac20143e01126ef1df372ecca54b41d1 (patch)
treeec4f35e91cb73c068eacf905c8212a48f973263c /src/gallium/drivers/radeonsi/si_shader.h
parent2286edce16e4f78500ccda77da99c30185d9c58f (diff)
radeonsi: assume ClipDistance usage mask is always 0xf
No code in Mesa sets the usage mask to any other value. The final mask is AND'ed with enable bits from the rasterizer state anyway. If somebody implements setting usage masks in st/mesa, we can use tgsi_shader_info to get it more easily. This is a prerequisite for the following commit. Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h
index 11e5ae0334a..43a4e65aa72 100644
--- a/src/gallium/drivers/radeonsi/si_shader.h
+++ b/src/gallium/drivers/radeonsi/si_shader.h
@@ -110,7 +110,6 @@ struct si_shader_output {
int sid;
unsigned param_offset;
unsigned index;
- unsigned usage;
};
struct si_shader;