aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_util.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_util.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_util.h b/src/gallium/drivers/freedreno/freedreno_util.h
index 81622506f1e..8e063c09966 100644
--- a/src/gallium/drivers/freedreno/freedreno_util.h
+++ b/src/gallium/drivers/freedreno/freedreno_util.h
@@ -464,14 +464,14 @@ fd_msaa_samples(unsigned samples)
*/
static inline enum a4xx_state_block
-fd4_stage2shadersb(enum shader_t type)
+fd4_stage2shadersb(gl_shader_stage type)
{
switch (type) {
- case SHADER_VERTEX:
+ case MESA_SHADER_VERTEX:
return SB4_VS_SHADER;
- case SHADER_FRAGMENT:
+ case MESA_SHADER_FRAGMENT:
return SB4_FS_SHADER;
- case SHADER_COMPUTE:
+ case MESA_SHADER_COMPUTE:
return SB4_CS_SHADER;
default:
unreachable("bad shader type");