mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 07:40:11 +01:00
svga: s/unsigned/enum pipe_shader_type/
Reviewed-by: Neha Bhende <bhenden@vmware.com>
This commit is contained in:
parent
8b54299c34
commit
fa901768a4
3 changed files with 6 additions and 4 deletions
|
|
@ -168,7 +168,8 @@ svga_shader_emit_header(struct svga_shader_emitter *emit)
|
|||
struct svga_shader_variant *
|
||||
svga_tgsi_vgpu9_translate(struct svga_context *svga,
|
||||
const struct svga_shader *shader,
|
||||
const struct svga_compile_key *key, unsigned unit)
|
||||
const struct svga_compile_key *key,
|
||||
enum pipe_shader_type unit)
|
||||
{
|
||||
struct svga_shader_variant *variant = NULL;
|
||||
struct svga_shader_emitter emit;
|
||||
|
|
|
|||
|
|
@ -65,13 +65,14 @@ static inline void svga_generate_vdecl_semantics( unsigned idx,
|
|||
struct svga_shader_variant *
|
||||
svga_tgsi_vgpu9_translate(struct svga_context *svga,
|
||||
const struct svga_shader *shader,
|
||||
const struct svga_compile_key *key, unsigned unit);
|
||||
const struct svga_compile_key *key,
|
||||
enum pipe_shader_type unit);
|
||||
|
||||
struct svga_shader_variant *
|
||||
svga_tgsi_vgpu10_translate(struct svga_context *svga,
|
||||
const struct svga_shader *shader,
|
||||
const struct svga_compile_key *key,
|
||||
unsigned unit);
|
||||
enum pipe_shader_type unit);
|
||||
|
||||
boolean svga_shader_verify(const uint32_t *tokens, unsigned nr_tokens);
|
||||
|
||||
|
|
|
|||
|
|
@ -6484,7 +6484,7 @@ struct svga_shader_variant *
|
|||
svga_tgsi_vgpu10_translate(struct svga_context *svga,
|
||||
const struct svga_shader *shader,
|
||||
const struct svga_compile_key *key,
|
||||
unsigned unit)
|
||||
enum pipe_shader_type unit)
|
||||
{
|
||||
struct svga_shader_variant *variant = NULL;
|
||||
struct svga_shader_emitter_v10 *emit;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue