glsl/types: Rename sampler_type to sampled_type
It's a bit more descriptive since it is the base type that you get when you sample from it. Also, the next commit adds a bare "sampler" type and we need glsl_type::sampler_type available for a public static member. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
@@ -43,7 +43,7 @@ TEST(sampler_types, TYPE) \
|
||||
const glsl_type *type = glsl_type::TYPE##_type; \
|
||||
EXPECT_EQ(GLSL_TYPE_SAMPLER, type->base_type); \
|
||||
EXPECT_EQ(DIM, type->sampler_dimensionality); \
|
||||
EXPECT_EQ(DATA_TYPE, type->sampler_type); \
|
||||
EXPECT_EQ(DATA_TYPE, type->sampled_type); \
|
||||
ARR; \
|
||||
SHAD; \
|
||||
EXPECT_EQ(COMPS, type->coordinate_components()); \
|
||||
|
Reference in New Issue
Block a user