• Home
  • Raw
  • Download

Lines Matching refs:use_gles

384    if (ctx->cfg->has_arrays_of_arrays && !ctx->cfg->use_gles)  in prefer_generic_io_block()
1086 if (ctx->cfg->use_gles) in iter_declaration()
1149 if (ctx->cfg->use_gles && ctx->fs_pixel_center) { in iter_declaration()
1175 if (ctx->cfg->use_gles) in iter_declaration()
1191 if (!ctx->cfg->use_gles && in iter_declaration()
1408 if (ctx->glsl_ver_required >= 140 || ctx->cfg->use_gles) in iter_declaration()
1441 if (!ctx->cfg->use_gles && in iter_declaration()
1701 if (!ctx->cfg->use_gles || ctx->cfg->glsl_version < 320) { in iter_property()
2251 if (ctx->cfg->use_gles) { in emit_txq()
2311 (ctx->cfg->use_gles || in emit_txq()
2315 if (ctx->cfg->use_gles && in emit_txq()
2402 if (!ctx->cfg->use_gles) in fill_offset_buffer()
2662 if (ctx->cfg->use_gles && (inst->Texture.Texture == TGSI_TEXTURE_1D || in translate_tex()
2674 if (!ctx->cfg->use_gles) { in translate_tex()
2733 if (ctx->cfg->use_gles && in translate_tex()
2761 if (ctx->cfg->use_gles && in translate_tex()
2804 if (ctx->cfg->use_gles && in translate_tex()
2841 if (ctx->cfg->use_gles && in translate_tex()
2966 static enum vrend_type_qualifier get_coord_prefix(int resource, bool *is_ms, bool use_gles) in get_coord_prefix() argument
2970 return use_gles ? IVEC2: INT; in get_coord_prefix()
2974 return use_gles ? IVEC3: IVEC2; in get_coord_prefix()
3047 …= get_coord_prefix(ctx->images[dst_reg->Register.Index].decl.Resource, &is_ms, ctx->cfg->use_gles); in translate_store()
3066 if (!ctx->cfg->use_gles || !dst_reg->Register.Indirect) { in translate_store()
3097 if (!ctx->cfg->use_gles || !dst_reg->Register.Indirect) { in translate_store()
3153 …refix = get_coord_prefix(ctx->images[sinfo->sreg_index].decl.Resource, &is_ms, ctx->cfg->use_gles); in translate_load()
3180 if (ctx->cfg->use_gles && ctx->images[sinfo->sreg_index].decl.Writable && in translate_load()
3186 if (!ctx->cfg->use_gles || !inst->Src[0].Register.Indirect) { in translate_load()
3233 if (!ctx->cfg->use_gles || !inst->Src[0].Register.Indirect) { in translate_load()
3316 … const char *swizzle_mask = (ctx->cfg->use_gles && inst->Memory.Texture == TGSI_TEXTURE_1D_ARRAY) ? in translate_resq()
3320 … (!ctx->cfg->use_gles && inst->Memory.Texture == TGSI_TEXTURE_1D); in translate_resq()
3388 …refix = get_coord_prefix(ctx->images[sinfo->sreg_index].decl.Resource, &is_ms, ctx->cfg->use_gles); in translate_atomic()
3395 if (!ctx->cfg->use_gles || !inst->Src[0].Register.Indirect) { in translate_atomic()
4202 if (!ctx->cfg->use_gles) in get_source_info()
4295 if (ctx->cfg->use_gles && in get_source_info()
4383 if (ctx->cfg->has_arrays_of_arrays && !ctx->cfg->use_gles) in rewrite_io_ranged()
4398 if (ctx->cfg->has_arrays_of_arrays && !ctx->cfg->use_gles) in rewrite_io_ranged()
4439 if (ctx->cfg->has_arrays_of_arrays && !ctx->cfg->use_gles) in rewrite_io_ranged()
4456 if (ctx->cfg->has_arrays_of_arrays && !ctx->cfg->use_gles) in rewrite_io_ranged()
4835 if (!ctx->cfg->use_gles) { in iter_instruction()
4966 if ((ctx->cfg->use_gles && ctx->cfg->glsl_version >= 300) || in iter_instruction()
5243 if (!ctx->cfg->use_gles) { in iter_instruction()
5254 if (!ctx->cfg->use_gles) { in iter_instruction()
5327 if (ctx->cfg->use_gles) { in iter_instruction()
5336 if (ctx->cfg->use_gles) { in iter_instruction()
5354 if (ctx->cfg->use_gles) { in iter_instruction()
5411 if (ctx->cfg->use_gles) { in emit_header()
5560 const char *vrend_shader_samplertypeconv(bool use_gles, int sampler_type) in vrend_shader_samplertypeconv() argument
5565 if (!use_gles) in vrend_shader_samplertypeconv()
5571 case TGSI_TEXTURE_RECT: return use_gles ? "2D" : "2DRect"; in vrend_shader_samplertypeconv()
5573 if (!use_gles) { in vrend_shader_samplertypeconv()
5579 return (!use_gles) ? "2DRectShadow" : "2DShadow"; in vrend_shader_samplertypeconv()
5581 if (!use_gles) in vrend_shader_samplertypeconv()
5586 if (!use_gles) { in vrend_shader_samplertypeconv()
5604 if (!cfg->use_gles) in get_interp_string()
5646 precision = (ctx->cfg->use_gles) ? "highp" : ""; in emit_sampler_decl()
5649 stc = vrend_shader_samplertypeconv(ctx->cfg->use_gles, sampler->tgsi_sampler_type); in emit_sampler_decl()
5803 const char *precision = ctx->cfg->use_gles ? "highp " : ""; in emit_image_decl()
5808 stc = vrend_shader_samplertypeconv(ctx->cfg->use_gles, image->decl.Resource); in emit_image_decl()
5813 (ctx->cfg->use_gles && in emit_image_decl()
5819 if (ctx->cfg->use_gles) { /* TODO: enable on OpenGL 4.2 and up also */ in emit_image_decl()
6332 if (!ctx->cfg->use_gles) in emit_ios_fs()
6364 if (ctx->cfg->use_gles && !ctx->winsys_adjust_y_emitted && in emit_ios_fs()
6396 if (ctx->cfg->use_gles) { in emit_ios_fs()
6415 if (ctx->cfg->use_gles && in emit_ios_fs()
7135 if (!cfg->use_gles && (cfg->glsl_version >= 320)) in vrend_patch_vertex_shader_interpolants()
7138 if (cfg->use_gles && (cfg->glsl_version < 320)) in vrend_patch_vertex_shader_interpolants()
7259 if (!ctx->cfg->use_gles) in iter_vs_declaration()