Home
last modified time | relevance | path

Searched refs:sampler_type (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/glsl/builtins/tools/
Dtexture_builtins.py21 def get_sampler_dim(sampler_type): argument
22 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): argument
37 coord_dim = get_sampler_dim(sampler_type)
38 if sampler_type.find("Array") != -1:
[all …]
/external/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp944 const glsl_type *sampler_type = NULL; in load_texture() local
950 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 …]
/external/mesa3d/src/glsl/
Dglsl_types.cpp54 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()
Dglsl_types.h83 unsigned sampler_type:2; /**< Type of data returned using this sampler. member
Dir.cpp1317 assert(sampler->type->sampler_type == (int) type->base_type); in set_sampler()
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp2028 const glsl_type *sampler_type = ir->sampler->type; in visit() local
2062 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()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp2637 const glsl_type *sampler_type = ir->sampler->type; in visit() local
2671 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()
/external/deqp/android/cts/lmp/
Dgles31-master.txt10953 dEQP-GLES31.functional.state_query.shader.sampler_type
/external/deqp/android/cts/lmp/src/
Des31-lmp.txt10953 dEQP-GLES31.functional.state_query.shader.sampler_type
/external/deqp/android/cts/lmp-mr1/
Dgles31-master.txt11267 dEQP-GLES31.functional.state_query.shader.sampler_type
/external/deqp/android/cts/lmp-mr1/src/
Des31-lmp-mr1.txt11267 dEQP-GLES31.functional.state_query.shader.sampler_type
/external/deqp/android/cts/master/
Dgles31-master.txt13344 dEQP-GLES31.functional.state_query.shader.sampler_type