summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2013-11-26 02:30:41 +0100
committerRoland Scheidegger <sroland@vmware.com>2013-11-28 04:02:18 +0100
commit2983c039df630bb9bcb70c52219c631e27b0eae6 (patch)
treeb863fdab0fda57c03c1c5c3f00ff235c58cd6c99 /src/gallium/include
parente4d8084cbdeaaa392969d077e2a9d8e9df3b2cdc (diff)
downloadexternal_mesa3d-2983c039df630bb9bcb70c52219c631e27b0eae6.zip
external_mesa3d-2983c039df630bb9bcb70c52219c631e27b0eae6.tar.gz
external_mesa3d-2983c039df630bb9bcb70c52219c631e27b0eae6.tar.bz2
gallium: new shader cap bit for the amount of sampler views
Ever since introducing separate sampler and sampler view max this was really missing. Every driver but llvmpipe reports the same number as number of samplers for now, so nothing should break. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_defines.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
index db6db32..7e71e77 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -571,7 +571,8 @@ enum pipe_shader_cap
PIPE_SHADER_CAP_INTEGERS = 17,
PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS = 18,
PIPE_SHADER_CAP_PREFERRED_IR = 19,
- PIPE_SHADER_CAP_TGSI_SQRT_SUPPORTED = 20
+ PIPE_SHADER_CAP_TGSI_SQRT_SUPPORTED = 20,
+ PIPE_SHADER_CAP_MAX_SAMPLER_VIEWS = 21
};
/**