Lines Matching defs:function

596 std::string genShaderSourceReverseCountFind (NegativeTestContext& ctx, glu::ShaderType shaderType, ShaderFunction function, glu::DataType baseDataType)
598 DE_ASSERT(function == SHADER_FUNCTION_BITFIELD_REVERSE ||
599 function == SHADER_FUNCTION_BIT_COUNT ||
600 function == SHADER_FUNCTION_FIND_MSB ||
601 function == SHADER_FUNCTION_FIND_LSB);
610 switch (function)
617 DE_FATAL("Unsupported shader function.");
703 std::string genShaderSourceAddCarrySubBorrow (NegativeTestContext& ctx, glu::ShaderType shaderType, ShaderFunction function, glu::DataType xDataType, glu::DataType yDataType, glu::DataType carryBorrowDataType)
705 DE_ASSERT(function == SHADER_FUNCTION_UADD_CARRY || function == SHADER_FUNCTION_USUB_BORROW);
715 switch (function)
728 DE_FATAL("Unsupported shader function.");
958 std::string genShaderSourceMulExtended (NegativeTestContext& ctx, glu::ShaderType shaderType, ShaderFunction function, glu::DataType xDataType, glu::DataType yDataType, glu::DataType msbDataType, glu::DataType lsbDataType)
960 DE_ASSERT(function == SHADER_FUNCTION_UMUL_EXTENDED || function == SHADER_FUNCTION_IMUL_EXTENDED);
972 switch (function)
977 DE_FATAL("Unsupported shader function.");
1282 std::string genShaderSourceFrexpLdexp (NegativeTestContext& ctx, glu::ShaderType shaderType, ShaderFunction function, glu::DataType xDataType, glu::DataType expDataType)
1284 DE_ASSERT(function == SHADER_FUNCTION_FREXP || function == SHADER_FUNCTION_LDEXP);
1294 switch (function)
1305 DE_FATAL("Unsupported shader function.");
1426 std::string genShaderSourcePackUnpackNorm4x8 (NegativeTestContext& ctx, glu::ShaderType shaderType, ShaderFunction function, glu::DataType dataType)
1428 DE_ASSERT(function == SHADER_FUNCTION_PACK_UNORM_4X8 ||
1429 function == SHADER_FUNCTION_PACK_SNORM_4X8 ||
1430 function == SHADER_FUNCTION_UNPACK_SNORM_4X8 ||
1431 function == SHADER_FUNCTION_UNPACK_UNORM_4X8);
1439 switch (function)
1462 DE_FATAL("Unsupported shader function.");
1773 DE_FATAL("Unsupported shader function overload.");
3023 std::string genShaderSourceGeometry (NegativeTestContext& ctx, glu::ShaderType shaderType, ShaderFunction function)
3025 DE_ASSERT(function == SHADER_FUNCTION_EMIT_VERTEX || function == SHADER_FUNCTION_END_PRIMITIVE);
3033 switch (function)
3044 DE_FATAL("Unsupported shader function.");
3585 DE_FATAL("Unsupported shader function overload.");
3821 std::string genShaderSourceAtomicOperations (NegativeTestContext& ctx, glu::ShaderType shaderType, ShaderFunction function, glu::DataType memDataType, glu::DataType dataDataType, glu::DataType compareDataType)
3823 DE_ASSERT(SHADER_FUNCTION_ATOMIC_ADD <= function && function <= SHADER_FUNCTION_ATOMIC_COMP_SWAP);
3834 switch (function)
3849 DE_FATAL("Unsupported shader function.");
3857 std::string genShaderSourceAtomicOperations (NegativeTestContext& ctx, glu::ShaderType shaderType, ShaderFunction function, glu::DataType memDataType, glu::DataType dataDataType)
3859 DE_ASSERT(function != SHADER_FUNCTION_ATOMIC_COMP_SWAP);
3861 return genShaderSourceAtomicOperations(ctx, shaderType, function, memDataType, dataDataType, glu::TYPE_LAST);
4045 std::string genShaderSourceInterpolateAt (NegativeTestContext& ctx, glu::ShaderType shaderType, ShaderFunction function, glu::DataType interpolantDataType, glu::DataType secondArgumentDataType)
4047 DE_ASSERT(function >= SHADER_FUNCTION_INTERPOLATED_AT_CENTROID && function <= SHADER_FUNCTION_INTERPOLATED_AT_OFFSET);
4061 switch (function)
4078 DE_FATAL("Unsupported shader function.");
4086 std::string genShaderSourceInterpolateAt (NegativeTestContext& ctx, glu::ShaderType shaderType, ShaderFunction function, glu::DataType interpolantDataType)
4088 DE_ASSERT(function == SHADER_FUNCTION_INTERPOLATED_AT_CENTROID);
4090 return genShaderSourceInterpolateAt(ctx, shaderType, function, interpolantDataType, glu::TYPE_LAST);
4289 DE_FATAL("Unsupported shader function overload.");