Searched refs:sampler_type (Results 1 – 12 of 12) sorted by relevance
21 def get_sampler_dim(sampler_type): argument22 if sampler_type[0].isdigit():23 sampler_dim = int(sampler_type[0])24 elif sampler_type.startswith("Cube"):26 elif sampler_type == "ExternalOES":28 elif sampler_type == "Buffer":31 assert False ("coord_dim: invalid sampler_type: " + sampler_type)36 def get_coord_dim(sampler_type): argument37 coord_dim = get_sampler_dim(sampler_type)38 if sampler_type.find("Array") != -1:[all …]
944 const glsl_type *sampler_type = NULL; in load_texture() local950 sampler_type = p->shader->symbols->get_type("sampler1DShadow"); in load_texture()952 sampler_type = p->shader->symbols->get_type("sampler1D"); in load_texture()957 sampler_type = p->shader->symbols->get_type("sampler1DArrayShadow"); in load_texture()959 sampler_type = p->shader->symbols->get_type("sampler1DArray"); in load_texture()964 sampler_type = p->shader->symbols->get_type("sampler2DShadow"); in load_texture()966 sampler_type = p->shader->symbols->get_type("sampler2D"); in load_texture()971 sampler_type = p->shader->symbols->get_type("sampler2DArrayShadow"); in load_texture()973 sampler_type = p->shader->symbols->get_type("sampler2DArray"); in load_texture()978 sampler_type = p->shader->symbols->get_type("sampler2DRectShadow"); in load_texture()[all …]
54 sampler_type(0), in glsl_type()72 sampler_array(array), sampler_type(type), in glsl_type()85 sampler_type(0), in glsl_type()368 sampler_type(0), in glsl_type()
83 unsigned sampler_type:2; /**< Type of data returned using this sampler. member
1317 assert(sampler->type->sampler_type == (int) type->base_type); in set_sampler()
2028 const glsl_type *sampler_type = ir->sampler->type; in visit() local2062 assert(!sampler_type->sampler_array); in visit()2090 if (sampler_type->sampler_dimensionality == GLSL_SAMPLER_DIM_2D && in visit()2091 sampler_type->sampler_array) { in visit()2120 switch (sampler_type->sampler_dimensionality) { in visit()2122 inst->tex_target = (sampler_type->sampler_array) in visit()2126 inst->tex_target = (sampler_type->sampler_array) in visit()
2637 const glsl_type *sampler_type = ir->sampler->type; in visit() local2671 assert(!sampler_type->sampler_array); in visit()2699 if ((sampler_type->sampler_dimensionality == GLSL_SAMPLER_DIM_2D && in visit()2700 sampler_type->sampler_array) || in visit()2701 sampler_type->sampler_dimensionality == GLSL_SAMPLER_DIM_CUBE) { in visit()2744 switch (sampler_type->sampler_dimensionality) { in visit()2746 inst->tex_target = (sampler_type->sampler_array) in visit()2750 inst->tex_target = (sampler_type->sampler_array) in visit()
10953 dEQP-GLES31.functional.state_query.shader.sampler_type
11267 dEQP-GLES31.functional.state_query.shader.sampler_type
13344 dEQP-GLES31.functional.state_query.shader.sampler_type