Searched refs:sampler_type (Results 1 - 14 of 14) sorted by relevance
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/tools/ |
H A D | texture_builtins.py | 21 def get_sampler_dim(sampler_type): 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): 37 coord_dim = get_sampler_dim(sampler_type) [all...] |
/external/mesa3d/src/glsl/builtins/tools/ |
H A D | texture_builtins.py | 21 def get_sampler_dim(sampler_type): 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): 37 coord_dim = get_sampler_dim(sampler_type) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | ff_fragment_shader.cpp | 944 const glsl_type *sampler_type = NULL; local 950 sampler_type = p->shader->symbols->get_type("sampler1DShadow"); 952 sampler_type = p->shader->symbols->get_type("sampler1D"); 957 sampler_type = p->shader->symbols->get_type("sampler1DArrayShadow"); 959 sampler_type = p->shader->symbols->get_type("sampler1DArray"); 964 sampler_type = p->shader->symbols->get_type("sampler2DShadow"); 966 sampler_type = p->shader->symbols->get_type("sampler2D"); 971 sampler_type = p->shader->symbols->get_type("sampler2DArrayShadow"); 973 sampler_type = p->shader->symbols->get_type("sampler2DArray"); 978 sampler_type [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | ff_fragment_shader.cpp | 944 const glsl_type *sampler_type = NULL; local 950 sampler_type = p->shader->symbols->get_type("sampler1DShadow"); 952 sampler_type = p->shader->symbols->get_type("sampler1D"); 957 sampler_type = p->shader->symbols->get_type("sampler1DArrayShadow"); 959 sampler_type = p->shader->symbols->get_type("sampler1DArray"); 964 sampler_type = p->shader->symbols->get_type("sampler2DShadow"); 966 sampler_type = p->shader->symbols->get_type("sampler2D"); 971 sampler_type = p->shader->symbols->get_type("sampler2DArrayShadow"); 973 sampler_type = p->shader->symbols->get_type("sampler2DArray"); 978 sampler_type [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/ |
H A D | glsl_types.cpp | 54 sampler_type(0), 72 sampler_array(array), sampler_type(type), 85 sampler_type(0), 368 sampler_type(0),
|
H A D | glsl_types.h | 83 unsigned sampler_type:2; /**< Type of data returned using this sampler. member in struct:glsl_type
|
H A D | ir.cpp | 1317 assert(sampler->type->sampler_type == (int) type->base_type);
|
/external/mesa3d/src/glsl/ |
H A D | glsl_types.cpp | 54 sampler_type(0), 72 sampler_array(array), sampler_type(type), 85 sampler_type(0), 368 sampler_type(0),
|
H A D | glsl_types.h | 83 unsigned sampler_type:2; /**< Type of data returned using this sampler. member in struct:glsl_type
|
H A D | ir.cpp | 1317 assert(sampler->type->sampler_type == (int) type->base_type);
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
H A D | ir_to_mesa.cpp | 2028 const glsl_type *sampler_type = ir->sampler->type; local 2062 assert(!sampler_type->sampler_array); 2090 if (sampler_type->sampler_dimensionality == GLSL_SAMPLER_DIM_2D && 2091 sampler_type->sampler_array) { 2120 switch (sampler_type->sampler_dimensionality) { 2122 inst->tex_target = (sampler_type->sampler_array) 2126 inst->tex_target = (sampler_type->sampler_array)
|
/external/mesa3d/src/mesa/program/ |
H A D | ir_to_mesa.cpp | 2028 const glsl_type *sampler_type = ir->sampler->type; local 2062 assert(!sampler_type->sampler_array); 2090 if (sampler_type->sampler_dimensionality == GLSL_SAMPLER_DIM_2D && 2091 sampler_type->sampler_array) { 2120 switch (sampler_type->sampler_dimensionality) { 2122 inst->tex_target = (sampler_type->sampler_array) 2126 inst->tex_target = (sampler_type->sampler_array)
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
H A D | st_glsl_to_tgsi.cpp | 2637 const glsl_type *sampler_type = ir->sampler->type; local 2671 assert(!sampler_type->sampler_array); 2699 if ((sampler_type->sampler_dimensionality == GLSL_SAMPLER_DIM_2D && 2700 sampler_type->sampler_array) || 2701 sampler_type->sampler_dimensionality == GLSL_SAMPLER_DIM_CUBE) { 2744 switch (sampler_type->sampler_dimensionality) { 2746 inst->tex_target = (sampler_type->sampler_array) 2750 inst->tex_target = (sampler_type->sampler_array)
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_glsl_to_tgsi.cpp | 2637 const glsl_type *sampler_type = ir->sampler->type; local 2671 assert(!sampler_type->sampler_array); 2699 if ((sampler_type->sampler_dimensionality == GLSL_SAMPLER_DIM_2D && 2700 sampler_type->sampler_array) || 2701 sampler_type->sampler_dimensionality == GLSL_SAMPLER_DIM_CUBE) { 2744 switch (sampler_type->sampler_dimensionality) { 2746 inst->tex_target = (sampler_type->sampler_array) 2750 inst->tex_target = (sampler_type->sampler_array)
|
Completed in 5866 milliseconds