summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_shader.cpp
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-03-05 12:30:01 -0700
committerBrian Paul <[email protected]>2017-03-08 08:50:20 -0700
commit6614b060fb133de858a1c8291e776a9a1e7a1eab (patch)
tree8d8660843fdfbd1731214f37530f9f98abd1b861 /src/gallium/drivers/swr/swr_shader.cpp
parentf676c700cc3faa26ab90a36b7af15cbc282db069 (diff)
swr: s/unsigned/enum pipe_shader_type/
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_shader.cpp')
-rw-r--r--src/gallium/drivers/swr/swr_shader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/swr_shader.cpp b/src/gallium/drivers/swr/swr_shader.cpp
index 09d8145a8f5..a449c58ed95 100644
--- a/src/gallium/drivers/swr/swr_shader.cpp
+++ b/src/gallium/drivers/swr/swr_shader.cpp
@@ -76,7 +76,7 @@ bool operator==(const swr_jit_gs_key &lhs, const swr_jit_gs_key &rhs)
static void
swr_generate_sampler_key(const struct lp_tgsi_info &info,
struct swr_context *ctx,
- unsigned shader_type,
+ enum pipe_shader_type shader_type,
struct swr_jit_sampler_key &key)
{
key.nr_samplers = info.base.file_max[TGSI_FILE_SAMPLER] + 1;