Home | History | Annotate | Download | only in Shader

Lines Matching refs:rel

375 						if(dst.rel.type == Shader::PARAMETER_VOID)
429 if(dst.rel.type == Shader::PARAMETER_VOID) // Not relative
502 if(dst.rel.type == Shader::PARAMETER_VOID)
560 if(dst.rel.type == Shader::PARAMETER_VOID) // Not relative
669 if(src.rel.type == Shader::PARAMETER_VOID)
682 if(src.rel.type == Shader::PARAMETER_VOID)
704 if(src.rel.type == Shader::PARAMETER_VOID)
708 else if(src.rel.type == Shader::PARAMETER_TEMP)
710 reg.x = As<Float4>(Int4(i) + As<Int4>(r[src.rel.index].x));
714 if(src.rel.type == Shader::PARAMETER_VOID)
798 if(src.rel.type == Shader::PARAMETER_VOID) // Not relative
828 else if(src.rel.type == Shader::PARAMETER_LOOP)
841 if(src.rel.deterministic)
854 int component = src.rel.swizzle & 0x03;
857 switch(src.rel.type)
860 case Shader::PARAMETER_TEMP: a = r[src.rel.index][component]; break;
861 case Shader::PARAMETER_INPUT: a = v[src.rel.index][component]; break;
862 case Shader::PARAMETER_OUTPUT: a = o[src.rel.index][component]; break;
863 case Shader::PARAMETER_CONST: a = *Pointer<Float>(uniformAddress(src.bufferIndex, src.rel.index) + component * sizeof(float)); break;
867 Int4 index = Int4(i) + As<Int4>(a) * Int4(src.rel.scale);
890 ASSERT(var.rel.deterministic);
892 if(var.rel.type == Shader::PARAMETER_TEMP)
894 return As<Int>(Extract(r[var.rel.index].x, 0)) * var.rel.scale;
896 else if(var.rel.type == Shader::PARAMETER_INPUT)
898 return As<Int>(Extract(v[var.rel.index].x, 0)) * var.rel.scale;
900 else if(var.rel.type == Shader::PARAMETER_OUTPUT)
902 return As<Int>(Extract(o[var.rel.index].x, 0)) * var.rel.scale;
904 else if(var.rel.type == Shader::PARAMETER_CONST)
906 return *Pointer<Int>(uniformAddress(bufferIndex, var.rel.index)) * var.rel.scale;
908 else if(var.rel.type == Shader::PARAMETER_LOOP)
1592 if(s.type == Shader::PARAMETER_SAMPLER && s.rel.type == Shader::PARAMETER_VOID)