Searched refs:is_scalar (Results 1 - 25 of 88) sorted by relevance

1234

/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_nir.h131 bool is_scalar);
143 bool is_scalar);
153 bool is_scalar);
171 bool is_scalar,
H A Dbrw_compiler.c165 bool is_scalar = compiler->scalar_stage[i]; local in function:brw_compiler_create
167 compiler->glsl_compiler_options[i].EmitNoIndirectOutput = is_scalar;
168 compiler->glsl_compiler_options[i].EmitNoIndirectTemp = is_scalar;
169 compiler->glsl_compiler_options[i].OptimizeForAOS = !is_scalar;
173 if (is_scalar) {
H A Dbrw_nir.c535 bool is_scalar, bool allow_copies)
558 if (is_scalar) {
564 if (is_scalar) {
590 const bool is_vec4_tessellation = !is_scalar &&
666 * it is not at all generator-specific except for the is_scalar flag. Even
667 * there, it is safe to call with is_scalar = false for a shader that is
669 * is_scalar = true to scalarize everything prior to code gen.
678 const bool is_scalar = compiler->scalar_stage[nir->info.stage]; local in function:brw_preprocess_nir
680 if (is_scalar) {
712 nir = brw_nir_optimize(nir, compiler, is_scalar, tru
534 brw_nir_optimize(nir_shader * nir,const struct brw_compiler * compiler,bool is_scalar,bool allow_copies) argument
848 brw_postprocess_nir(nir_shader * nir,const struct brw_compiler * compiler,bool is_scalar) argument
946 brw_nir_apply_sampler_key(nir_shader * nir,const struct brw_compiler * compiler,const struct brw_sampler_prog_key_data * key_tex,bool is_scalar) argument
[all...]
H A Dbrw_vec4_tcs.cpp387 const bool is_scalar = compiler->scalar_stage[MESA_SHADER_TESS_CTRL]; local in function:brw::brw_compile_tcs
400 nir = brw_nir_apply_sampler_key(nir, compiler, &key->tex, is_scalar);
407 nir = brw_postprocess_nir(nir, compiler, is_scalar);
409 if (is_scalar)
461 if (is_scalar) {
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_shader.h136 const bool is_scalar = compiler->scalar_stage[stage]; local in function:brw_nir_no_indirect_mask
146 if (!is_scalar)
155 if (is_scalar && stage != MESA_SHADER_TESS_CTRL)
168 if (is_scalar && devinfo->verx10 <= 70)
H A Dbrw_nir.c525 bool is_scalar, bool allow_copies)
550 if (is_scalar) {
558 if (is_scalar) {
584 const bool is_vec4_tessellation = !is_scalar &&
753 * it is not at all generator-specific except for the is_scalar flag. Even
754 * there, it is safe to call with is_scalar = false for a shader that is
756 * is_scalar = true to scalarize everything prior to code gen.
765 const bool is_scalar = compiler->scalar_stage[nir->info.stage]; local in function:brw_preprocess_nir
769 if (is_scalar) {
805 brw_nir_optimize(nir, compiler, is_scalar, tru
524 brw_nir_optimize(nir_shader * nir,const struct brw_compiler * compiler,bool is_scalar,bool allow_copies) argument
994 brw_vectorize_lower_mem_access(nir_shader * nir,const struct brw_compiler * compiler,bool is_scalar,bool robust_buffer_access) argument
1051 brw_postprocess_nir(nir_shader * nir,const struct brw_compiler * compiler,bool is_scalar,bool debug_enabled,bool robust_buffer_access) argument
1299 brw_nir_apply_key(nir_shader * nir,const struct brw_compiler * compiler,const struct brw_base_prog_key * key,unsigned max_subgroup_size,bool is_scalar) argument
[all...]
H A Dbrw_nir.h138 bool is_scalar,
155 bool is_scalar);
165 bool is_scalar);
183 bool is_scalar,
H A Dbrw_compiler.c169 bool is_scalar = compiler->scalar_stage[i]; local in function:brw_compiler_create
170 compiler->glsl_compiler_options[i].OptimizeForAOS = !is_scalar;
174 if (is_scalar) {
H A Dbrw_vec4_tcs.cpp370 const bool is_scalar = compiler->scalar_stage[MESA_SHADER_TESS_CTRL]; local in function:brw_compile_tcs
386 brw_nir_apply_key(nir, compiler, &key->base, 8, is_scalar);
393 brw_postprocess_nir(nir, compiler, is_scalar, debug_enabled,
414 unsigned verts_per_thread = is_scalar ? 8 : 2;
460 if (is_scalar) {
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_nir.h48 void st_nir_opts(struct nir_shader *nir, bool is_scalar);
H A Dst_nir_builtins.c37 bool is_scalar = local in function:st_nir_finish_builtin_shader
50 if (is_scalar) {
58 st_nir_opts(nir, is_scalar);
H A Dst_glsl_to_nir.cpp356 bool is_scalar = screen->get_shader_param(screen, type, PIPE_SHADER_CAP_SCALAR_ISA); local in function:st_glsl_to_nir
409 if (is_scalar) {
415 st_nir_opts(nir, is_scalar);
442 st_nir_opts(nir, is_scalar);
747 bool is_scalar[MESA_SHADER_STAGES]; local in function:st_link_nir
757 is_scalar[i] = screen->get_shader_param(screen, type,
763 if (is_scalar[i]) {
781 is_scalar[i]);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dbrw_nir_uniforms.cpp33 bool is_scalar)
59 if (swiz == last_swiz && is_scalar)
151 bool is_scalar)
204 if (!is_scalar) {
219 bool is_scalar)
233 is_scalar);
236 stage_prog_data, is_scalar);
30 brw_nir_setup_glsl_builtin_uniform(nir_variable * var,const struct gl_program * prog,struct brw_stage_prog_data * stage_prog_data,bool is_scalar) argument
148 brw_nir_setup_glsl_uniform(gl_shader_stage stage,nir_variable * var,const struct gl_program * prog,struct brw_stage_prog_data * stage_prog_data,bool is_scalar) argument
216 brw_nir_setup_glsl_uniforms(void * mem_ctx,nir_shader * shader,const struct gl_program * prog,struct brw_stage_prog_data * stage_prog_data,bool is_scalar) argument
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dhir_field_selection.cpp59 (state->has_420pack() && op->type->is_scalar())) {
H A Dir_validate.cpp151 if (!ir->array_index->type->is_scalar()) {
737 if (ir->operands[0]->type->is_scalar())
739 else if (ir->operands[1]->type->is_scalar())
791 || ir->operands[0]->type->is_scalar());
809 if (ir->operands[0]->type->is_scalar()) {
810 assert(ir->operands[1]->type->is_scalar());
866 assert(ir->operands[1]->type->is_scalar()
922 assert(ir->operands[1]->type->is_scalar());
924 assert(ir->operands[2]->type->is_scalar()
948 assert(ir->operands[0]->type->is_scalar());
[all...]
H A Dopt_dead_code_local.cpp80 if (var->type->is_scalar() || var->type->is_vector()) {
208 if (deref_var && (deref_var->var->type->is_scalar() ||
H A Dopt_constant_propagation.cpp155 if (!type->is_scalar() && !type->is_vector())
455 if (!var->type->is_vector() && !var->type->is_scalar())
504 if (!deref->var->type->is_vector() && !deref->var->type->is_scalar())
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dhir_field_selection.cpp59 (state->has_420pack() && op->type->is_scalar())) {
H A Dir_validate.cpp123 if (!ir->array_index->type->is_scalar()) {
635 if (ir->operands[0]->type->is_scalar())
637 else if (ir->operands[1]->type->is_scalar())
671 || ir->operands[0]->type->is_scalar());
689 if (ir->operands[0]->type->is_scalar()) {
690 assert(ir->operands[1]->type->is_scalar());
747 assert(ir->operands[1]->type->is_scalar()
797 assert(ir->operands[1]->type->is_scalar());
799 assert(ir->operands[2]->type->is_scalar()
823 assert(ir->operands[0]->type->is_scalar());
[all...]
H A Dopt_dead_code_local.cpp78 if (var->type->is_scalar() || var->type->is_vector()) {
206 if (deref_var && (deref_var->var->type->is_scalar() ||
H A Dopt_constant_propagation.cpp155 if (!type->is_scalar() && !type->is_vector())
446 if (!var->type->is_vector() && !var->type->is_scalar())
495 if (!deref->var->type->is_vector() && !deref->var->type->is_scalar())
H A Dopt_minmax.cpp100 unsigned a_inc = a->type->is_scalar() ? 0 : 1;
101 unsigned b_inc = b->type->is_scalar() ? 0 : 1;
448 if (expr->type->is_vector() && rval->type->is_scalar()) {
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_nir_uniforms.cpp33 bool is_scalar)
59 if (swiz == last_swiz && is_scalar)
151 bool is_scalar)
204 if (!is_scalar) {
219 bool is_scalar)
233 is_scalar);
236 stage_prog_data, is_scalar);
30 brw_nir_setup_glsl_builtin_uniform(nir_variable * var,const struct gl_program * prog,struct brw_stage_prog_data * stage_prog_data,bool is_scalar) argument
148 brw_nir_setup_glsl_uniform(gl_shader_stage stage,nir_variable * var,const struct gl_program * prog,struct brw_stage_prog_data * stage_prog_data,bool is_scalar) argument
216 brw_nir_setup_glsl_uniforms(void * mem_ctx,nir_shader * shader,const struct gl_program * prog,struct brw_stage_prog_data * stage_prog_data,bool is_scalar) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/core/core/
H A Dmodule.cpp66 std::is_scalar<T>::value>::type> {
87 !std::is_scalar<T>::value>::type> {
116 std::is_scalar<T>::value>::type> {
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/core/
H A Dbinary.cpp66 std::is_scalar<T>::value>::type> {
87 !std::is_scalar<T>::value>::type> {
116 std::is_scalar<T>::value>::type> {

Completed in 21 milliseconds

1234