diff options
author | Brian Paul <[email protected]> | 2016-08-29 10:15:36 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-08-29 12:40:45 -0600 |
commit | f5602c27ec681f1f66cdb8d79378991b79ce45e7 (patch) | |
tree | 272fec66f32b44e110c7aec7113785d7de368eb0 /src/gallium/drivers/svga/svga_shader.h | |
parent | 5e76baa2ad261c72f96a3df42ace4773a1c7daa9 (diff) |
svga: s/unsigned/enum pipe_shader_type/
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_shader.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_shader.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_shader.h b/src/gallium/drivers/svga/svga_shader.h index b53a4bf514c..ec116c031d5 100644 --- a/src/gallium/drivers/svga/svga_shader.h +++ b/src/gallium/drivers/svga/svga_shader.h @@ -253,7 +253,8 @@ svga_remap_generic_index(int8_t remap_table[MAX_GENERIC_VARYING], int generic_index); void -svga_init_shader_key_common(const struct svga_context *svga, unsigned shader, +svga_init_shader_key_common(const struct svga_context *svga, + enum pipe_shader_type shader, struct svga_compile_key *key); struct svga_shader_variant * @@ -310,7 +311,7 @@ svga_shader_too_large(const struct svga_context *svga, * Convert from PIPE_SHADER_* to SVGA3D_SHADERTYPE_* */ static inline SVGA3dShaderType -svga_shader_type(unsigned shader) +svga_shader_type(enum pipe_shader_type shader) { switch (shader) { case PIPE_SHADER_VERTEX: |