Lines Matching defs:sampler
135 InternalFormatSamplerType sampler;
1552 InternalFormatSamplerType sampler = internalformat.sampler;
1558 ((sampler == SAMPLER_FLOAT && type.type == GL_FLOAT) ||
1559 (sampler != SAMPLER_FLOAT && (type.type == GL_UNSIGNED_SHORT || type.type == GL_UNSIGNED_INT ||
1568 ((sampler == SAMPLER_FLOAT && type.type == GL_FLOAT_32_UNSIGNED_INT_24_8_REV) ||
1569 (sampler != SAMPLER_FLOAT && type.type == GL_UNSIGNED_INT_24_8))) ||
1571 ((sampler == SAMPLER_FLOAT && type.type == GL_FLOAT) ||
1572 (sampler != SAMPLER_FLOAT && (type.type == GL_UNSIGNED_SHORT || type.type == GL_UNSIGNED_INT ||
1583 if ((sampler == SAMPLER_UNORM) && (((type.type == GL_UNSIGNED_BYTE) && (format.format == GL_RGB) &&
1592 if ((sampler == SAMPLER_UNORM) && (type.type == GL_UNSIGNED_SHORT) && (format.format == GL_RGBA) &&
1600 if ((sampler == SAMPLER_NORM) && (type.type == GL_SHORT) && (format.format == GL_RGBA) &&
1608 if ((sampler == SAMPLER_NORM) && (type.type == GL_BYTE) && (format.format == GL_RGBA) &&
1624 if (((sampler == SAMPLER_UNORM) && (type.type == GL_UNSIGNED_BYTE) && (format.format == GL_RGBA)) ||
1625 ((sampler == SAMPLER_UINT) && (type.type == GL_UNSIGNED_INT) && (format.format == GL_RGBA_INTEGER)) ||
1626 ((sampler == SAMPLER_INT) && (type.type == GL_INT) && (format.format == GL_RGBA_INTEGER)) ||
1627 ((sampler == SAMPLER_FLOAT) && (type.type == GL_FLOAT) && (format.format == GL_RGBA)) ||
1728 !(internalformat.sampler == SAMPLER_INT || internalformat.sampler == SAMPLER_UINT))
1734 (internalformat.sampler == SAMPLER_INT || internalformat.sampler == SAMPLER_UINT))
1784 if (((copyInternalFormat.sampler == SAMPLER_UINT) && (internalFormat.sampler != SAMPLER_UINT)) ||
1785 ((copyInternalFormat.sampler == SAMPLER_INT) && (internalFormat.sampler != SAMPLER_INT)) ||
1786 (((copyInternalFormat.sampler == SAMPLER_FLOAT) || (internalFormat.sampler == SAMPLER_UNORM) ||
1787 (copyInternalFormat.sampler == SAMPLER_NORM)) &&
1788 (!((copyInternalFormat.sampler == SAMPLER_FLOAT) || (internalFormat.sampler == SAMPLER_UNORM) ||
1789 (internalFormat.sampler == SAMPLER_NORM)))))
1823 (copyInternalFormat.sampler == SAMPLER_NORM) ||
1839 (internalFormat.sampler == copyInternalFormat.sampler) &&
1858 if (internalFormat.sampler != copyInternalFormat.sampler)
2425 int iformatSampler = m_internalFormat.sampler;
2430 iformatSampler = m_copyInternalFormat.sampler;
2433 if (m_internalFormat.sampler == SAMPLER_INT)
2435 else if (m_internalFormat.sampler == SAMPLER_UINT)
2484 if ((inputSampler == SAMPLER_UNORM && m_internalFormat.sampler == SAMPLER_NORM))
2490 if (outputSampler == SAMPLER_NORM && m_internalFormat.sampler == SAMPLER_UNORM)
2494 if (!(m_internalFormat.flags & FLAG_REQ_RBO) && bit3 > 8 && m_internalFormat.sampler != SAMPLER_UINT &&
2495 m_internalFormat.sampler != SAMPLER_INT)