HomeSort by relevance Sort by last modified time
    Searched refs:Vec4 (Results 226 - 250 of 540) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/deqp/modules/gles2/performance/
es2pShaderCompilationCases.cpp 52 using tcu::Vec4;
242 // Helper function for combining 4 tcu::Vec4's into one tcu::Vector<float, 16>.
243 static tcu::Vector<float, 16> combineVec4ToVec16 (const Vec4& a0, const Vec4& a1, const Vec4& a2, const Vec4& a3)
249 const Vec4& srcVec = vecNdx == 0 ? a0 : vecNdx == 1 ? a1 : vecNdx == 2 ? a2 : a3;
762 "attribute highp vec4 a_position${NAME_SPEC};\n"
764 "attribute mediump vec4 a_texCoord0${NAME_SPEC};\n"
766 "uniform mediump vec4 u_material_diffuseColor${NAME_SPEC};\n
    [all...]
  /external/deqp/modules/gles3/performance/
es3pShaderCompilationCases.cpp 52 using tcu::Vec4;
242 // Helper function for combining 4 tcu::Vec4's into one tcu::Vector<float, 16>.
243 static tcu::Vector<float, 16> combineVec4ToVec16 (const Vec4& a0, const Vec4& a1, const Vec4& a2, const Vec4& a3)
249 const Vec4& srcVec = vecNdx == 0 ? a0 : vecNdx == 1 ? a1 : vecNdx == 2 ? a2 : a3;
763 "in highp vec4 a_position${NAME_SPEC};\n"
765 "in mediump vec4 a_texCoord0${NAME_SPEC};\n"
767 "uniform mediump vec4 u_material_diffuseColor${NAME_SPEC};\n
    [all...]
  /external/deqp/modules/glshared/
glsRandomShaderCase.cpp 301 tcu::fillWithComponentGradients(m_tex2D->getRefTexture().getLevel(0), tcu::Vec4(-1.0f, -1.0f, -1.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f));
323 static const tcu::Vec4 gradients[tcu::CUBEFACE_LAST][2] =
325 { tcu::Vec4(-1.0f, -1.0f, -1.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f) }, // negative x
326 { tcu::Vec4( 0.0f, -1.0f, -1.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f) }, // positive x
327 { tcu::Vec4(-1.0f, 0.0f, -1.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f) }, // negative y
328 { tcu::Vec4(-1.0f, -1.0f, 0.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f) }, // positive
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/renderpass/
vktRenderPassMultisampleResolveTests.cpp 64 using tcu::Vec4;
110 tcu::Vec4 getFormatThreshold (VkFormat format)
117 return Vec4((componentCount >= 1) ? 1.5f * getRepresentableDiffSnorm(format, 0) : 0.0f,
124 return Vec4((componentCount >= 1) ? 1.5f * getRepresentableDiffUnorm(format, 0) : 0.0f,
130 return Vec4(0.00001f);
132 return Vec4(0.001f);
    [all...]
  /external/deqp/modules/gles2/functional/
es2fTextureMipmapTests.cpp 55 using tcu::Vec4;
302 static const Vec4 s_projections[] =
304 Vec4(1.2f, 1.0f, 0.7f, 1.0f),
305 Vec4(1.3f, 0.8f, 0.6f, 2.0f),
306 Vec4(0.8f, 1.0f, 1.7f, 0.6f),
307 Vec4(1.2f, 1.0f, 1.7f, 1.5f)
631 static const Vec4 s_projections[] =
633 Vec4(1.2f, 1.0f, 0.7f, 1.0f),
634 Vec4(1.3f, 0.8f, 0.6f, 1.1f),
635 Vec4(0.8f, 1.0f, 1.2f, 0.8f)
    [all...]
  /external/deqp/modules/gles3/functional/
es3fFboColorbufferTests.cpp 48 using tcu::Vec4;
67 static tcu::Vec4 generateRandomColor (de::Random& random)
69 tcu::Vec4 retVal;
146 glClearBufferfv(GL_COLOR, 0, Vec4(0.0f).getPtr());
169 Vec4 color = randomVector<4>(rnd, fmtInfo.valueMin, fmtInfo.valueMax);
287 tcu::fillWithComponentGradients(data.getAccess(), Vec4(0.0f), Vec4(1.0f));
289 tcu::fillWithGrid(data.getAccess(), 8, Vec4(0.2f, 0.7f, 0.1f, 1.0f), Vec4(0.7f, 0.1f, 0.5f, 0.8f));
431 tcu::fillWithGrid(data.getAccess(), 8, generateRandomColor(rnd), Vec4(0.0f))
    [all...]
es3fTextureUnitTests.cpp 47 using tcu::Vec4;
191 res.setRow(rowNdx, Vec4(row.x(), row.y(), row.z(), 0.0f));
193 res.setRow(3, Vec4(0.0f, 0.0f, 0.0f, 1.0f));
220 scalesStr += "uniform highp vec4 " + scaleName + ";\n";
221 biasesStr += "uniform highp vec4 " + biasName + ";\n";
223 string lookupCoord = transformationName + "*vec4(v_coord, 1.0, 1.0)";
230 lookupsStr += "\tcolor += " + colorMultiplier + "*(vec4(texture(" + samplerName + ", " + lookupCoord + "))*" + scaleName + " + " + biasName + ");\n";
234 "layout(location = 0) out mediump vec4 o_color;\n" +
243 " mediump vec4 color = vec4(0.0);\n"
    [all...]
es3fFramebufferBlitTests.cpp 48 using tcu::Vec4;
84 gradShader.setGradient(*getCurrentContext(), gradShaderID, Vec4(0.0f), Vec4(1.0f));
143 readPixels(dst, 0, 0, m_dstSize.x(), m_dstSize.y(), glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f));
160 const Vec4 m_gridCellColorA;
161 const Vec4 m_gridCellColorB;
202 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f));
498 gradShader.setGradient(*getCurrentContext(), gradShaderID, Vec4(0.0f), Vec4(1.0f))
    [all...]
es3fASTCDecompressionCases.cpp 68 using tcu::Vec4;
239 void initialize (int minRenderWidth, int minRenderHeight, const Vec4& colorScale, const Vec4& colorBias);
258 Vec4 m_colorScale;
259 Vec4 m_colorBias;
291 void ASTCRenderer2D::initialize (int minRenderWidth, int minRenderHeight, const Vec4& colorScale, const Vec4& colorBias)
543 m_renderer->initialize(MAX_NUM_BLOCKS_X*blockSize.x(), MAX_NUM_BLOCKS_Y*blockSize.y(), Vec4(1.0f), Vec4(0.0f));
es3fFboInvalidateTests.cpp 47 using tcu::Vec4;
159 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(1.0f, 0.0f, 0.0f, 1.0f));
170 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 1.0f, 0.0f, 1.0f));
193 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 0.0f, 1.0f, 1.0f));
246 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(1.0f, 0.0f, 0.0f, 1.0f));
256 gradShader.setGradient(*getCurrentContext(), gradShaderID, Vec4(0.0f), Vec4(1.0f));
265 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 1.0f, 0.0f, 1.0f));
325 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(1.0f, 0.0f, 0.0f, 1.0f));
342 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 0.0f, 1.0f, 1.0f))
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/query_pool/
vktQueryPoolOcclusionTests.cpp 57 void setVertices (const vk::DeviceInterface&vk, std::vector<tcu::Vec4> vertices);
226 const size_t kBufferSize = numVertices * sizeof(tcu::Vec4);
231 void StateObjects::setVertices (const vk::DeviceInterface&vk, std::vector<tcu::Vec4> vertices)
235 tcu::Vec4 *ptr = reinterpret_cast<tcu::Vec4*>(m_vertexBuffer->getBoundMemory().getHostPtr());
323 std::vector<tcu::Vec4> vertices(NUM_VERTICES_IN_DRAWCALL);
324 vertices[0] = tcu::Vec4(0.5, 0.5, 0.0, 1.0);
325 vertices[1] = tcu::Vec4(0.5, 0.0, 0.0, 1.0);
326 vertices[2] = tcu::Vec4(0.0, 0.5, 0.0, 1.0);
585 std::vector<tcu::Vec4> vertices (NUM_VERTICES)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
vktSparseResourcesBufferTests.cpp 58 using tcu::Vec4;
296 sizeof(Vec4), // uint32_t stride;
451 const Vec4 errorColor = Vec4(1.0f, 0.0f, 0.0f, 1.0f);
452 const Vec4 blankColor = Vec4();
457 const Vec4 color = image.getPixel(x, y);
488 const Vec4& clearColor,
564 const Vec4 m_clearColor;
711 m_context.getBinaryCollection(), "vert", "frag", *m_colorBuffer, m_renderSize, m_colorFormat, Vec4(1.0f, 0.0f, 0.0f, 1.0f), topology, specMap))
    [all...]
  /external/deqp/external/openglcts/modules/gles31/
es31cSampleShadingTests.cpp 40 static bool operator<(tcu::Vec4 const& k1, tcu::Vec4 const& k2)
197 int countUniquePixels(const std::vector<tcu::Vec4>& pixels);
286 "in highp vec4 a_color;\n"
287 "out highp vec4 v_color;\n"
290 " gl_Position = vec4(a_position, 0.0, 1.0);\n"
295 "in highp vec4 v_color;\n"
352 " gl_Position = vec4(a_position, 0.0, 1.0);\n"
395 std::vector<tcu::Vec4> result(pixels.getHeight() * pixels.getWidth());
405 tcu::Vec4((GLfloat)data[i], (GLfloat)data[i + 1], (GLfloat)data[i + 2], (GLfloat)data[i + 3])
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/tessellation/
vktTessellationGeometryPassthroughTests.cpp 63 << "layout(location = 0) in highp vec4 a_position;\n"
64 << "layout(location = 0) out highp vec4 v_vertex_color;\n"
69 << " v_vertex_color = vec4(a_position.x * 0.5 + 0.5, a_position.y * 0.5 + 0.5, 1.0, 0.4);\n"
80 << "layout(location = 0) in highp vec4 v_fragment_color;\n"
81 << "layout(location = 0) out mediump vec4 fragColor;\n"
99 << "layout(location = 0) in highp vec4 v_patch_color[];\n"
100 << "layout(location = 0) out highp vec4 " << colorOutputName << ";\n"
109 << " gl_Position = vec4(weights.x * gl_in[0].gl_Position.xyz + weights.y * gl_in[1].gl_Position.xyz + weights.z * gl_in[2].gl_Position.xyz, 1.0);\n"
162 << "layout(location = 0) in highp vec4 v_vertex_color[];\n"
163 << "layout(location = 0) out highp vec4 v_patch_color[];\n
    [all...]
  /external/deqp/external/openglcts/modules/common/
glcSampleVariablesTests.cpp 41 static bool operator<(tcu::Vec4 const& k1, tcu::Vec4 const& k2)
121 "in highp vec4 a_position;\n"
130 "out highp vec4 o_color;\n"
136 " o_color = vec4(gl_SampleID, gl_SamplePosition.x, gl_SamplePosition.y, 1);\n"
152 "out highp vec4 o_color;\n"
161 " o_color = vec4(gl_SampleID, gl_SamplePosition.x, gl_SamplePosition.y, 1);\n"
339 " gl_Position = vec4(a_position, 0.0, 1.0);\n"
403 " gl_Position = vec4(a_position, 0.0, 1.0);\n"
463 std::vector<tcu::Vec4> result(pixels.getHeight() * pixels.getWidth())
    [all...]
glcInternalformatTests.cpp 167 static void convertByte(tcu::Vec4 inColor, unsigned char* dst, int components);
168 static void convertUByte(tcu::Vec4 inColor, unsigned char* dst, int components);
169 static void convertHFloat(tcu::Vec4 inColor, unsigned char* dst, int components);
170 static void convertFloat(tcu::Vec4 inColor, unsigned char* dst, int components);
171 static void convertShort(tcu::Vec4 inColor, unsigned char* dst, int components);
172 static void convertUShort(tcu::Vec4 inColor, unsigned char* dst, int components);
173 static void convertInt(tcu::Vec4 inColor, unsigned char* dst, int components);
174 static void convertUInt(tcu::Vec4 inColor, unsigned char* dst, int components);
175 static void convertUInt_24_8(tcu::Vec4 inColor, unsigned char* dst, int components);
176 static void convertUShort_4_4_4_4(tcu::Vec4 inColor, unsigned char* dst, int)
    [all...]
  /external/deqp/external/openglcts/modules/gl/
gl4cES31CompatibilitySampleVariablesTests.cpp 41 static bool operator<(tcu::Vec4 const& k1, tcu::Vec4 const& k2)
128 "in highp vec4 a_position;\n"
137 "out highp vec4 o_color;\n"
143 " o_color = vec4(gl_SampleID, gl_SamplePosition.x, gl_SamplePosition.y, 1);\n"
159 "out highp vec4 o_color;\n"
168 " o_color = vec4(gl_SampleID, gl_SamplePosition.x, gl_SamplePosition.y, 1);\n"
337 " gl_Position = vec4(a_position, 0.0, 1.0);\n"
401 " gl_Position = vec4(a_position, 0.0, 1.0);\n"
461 std::vector<tcu::Vec4> result(pixels.getHeight() * pixels.getWidth())
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
vktSpvAsmImageSamplerTests.cpp 43 using tcu::Vec4;
756 vector<tcu::Vec4> inputData;
761 inputData.push_back(tcu::Vec4(rnd.getFloat(), rnd.getFloat(), rnd.getFloat(), rnd.getFloat()));
805 vector<tcu::Vec4> dummyData;
814 inputData[i] = tcu::Vec4(1.0f) - inputData[i];
    [all...]
  /external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
esextcDrawBuffersIndexedBlending.cpp 126 tcu::Vec4 background(0.5f, 0.5f, 0.5f, 0.5f);
133 tcu::Vec4 colors[] = { tcu::Vec4(0.86f, 0.22f, 0.31f, 0.45f), tcu::Vec4(0.12f, 0.83f, 0.34f, 0.42f),
134 tcu::Vec4(0.56f, 0.63f, 0.76f, 0.99f), tcu::Vec4(0.14f, 0.34f, 0.34f, 0.22f) };
298 "layout(location = 0) in vec4 position; \n"
313 os << "\nlayout(location = " << i << ") out vec4 color" << i << ";";
317 os << "\nuniform vec4 c" << i << ";";
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineFramebufferAttachmentTests.cpp 64 using tcu::Vec4;
300 vector<tcu::Vec4> genFullQuadVertices (const int subpassCount)
302 vector<tcu::Vec4> vectorData;
305 vectorData.push_back(Vec4(-1.0f, -1.0f, 0.0f, 1.0f));
306 vectorData.push_back(Vec4(-1.0f, 1.0f, 0.0f, 1.0f));
307 vectorData.push_back(Vec4(1.0f, -1.0f, 0.0f, 1.0f));
308 vectorData.push_back(Vec4(1.0f, 1.0f, 0.0f, 1.0f));
322 << "layout(location = 0) in vec4 in_position;\n"
325 << " vec4 gl_Position;\n"
341 << "layout(location = 0) out vec4 o_color;\n
    [all...]
vktPipelineDynamicOffsetTests.cpp 83 const tcu::Vec4 color (0.0f);
84 const Vertex4RGBA lowerLeftVertex = {tcu::Vec4(-size + xOffset, -size, 0.0f, 1.0f), color};
85 const Vertex4RGBA lowerRightVertex = {tcu::Vec4(size + xOffset, -size, 0.0f, 1.0f), color};
86 const Vertex4RGBA UpperLeftVertex = {tcu::Vec4(-size + xOffset, size, 0.0f, 1.0f), color};
87 const Vertex4RGBA UpperRightVertex = {tcu::Vec4(size + xOffset, size, 0.0f, 1.0f), color};
100 static const tcu::Vec4 testColors[] =
102 tcu::Vec4(0.3f, 0.0f, 0.0f, 1.0f),
103 tcu::Vec4(0.0f, 0.3f, 0.0f, 1.0f),
104 tcu::Vec4(0.0f, 0.0f, 0.3f, 1.0f),
105 tcu::Vec4(0.3f, 0.3f, 0.0f, 1.0f)
    [all...]
  /external/deqp/framework/common/
tcuTestLog.hpp 140 void writeImage (const char* name, const char* description, const ConstPixelBufferAccess& surface, const Vec4& scale, const Vec4& bias, qpImageCompressionMode compressionMode = QP_IMAGE_COMPRESSION_MODE_BEST);
263 LogImage (const std::string& name, const std::string& description, const ConstPixelBufferAccess& access, const Vec4& scale, const Vec4& bias, qpImageCompressionMode compression = QP_IMAGE_COMPRESSION_MODE_BEST);
271 Vec4 m_scale;
272 Vec4 m_bias;
  /external/deqp/modules/egl/
teglSwapBuffersTests.cpp 127 "\tgl_Position = vec4(a_pos, 0.0, 1.0);\n"
133 "\tgl_FragColor = vec4(0.9, 0.1, 0.4, 1.0);\n"
244 bool checkColor (tcu::TestLog& log, const tcu::TextureLevel& screen, const tcu::Vec4& color)
246 const tcu::Vec4 threshold(0.01f, 0.01f, 0.01f, 1.00f);
252 const tcu::Vec4 pixel(screen.getAccess().getPixel(x, y));
253 const tcu::Vec4 diff(abs(pixel - color));
350 if (!checkColor(m_testCtx.getLog(), whiteFrame, tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)))
368 if (!checkColor(m_testCtx.getLog(), blackFrame, tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)))
  /external/deqp/modules/gles31/functional/
es31fFboSRGBWriteControlTests.cpp 49 tcu::Vec4 getTestColorLinear (void)
51 return tcu::Vec4(0.2f, 0.3f, 0.4f, 1.0f);
54 tcu::Vec4 getTestColorSRGB (void)
56 return linearToSRGB(tcu::Vec4(0.2f, 0.3f, 0.4f, 1.0f));
59 tcu::Vec4 getTestColorBlank (void)
61 return tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f);
64 tcu::Vec4 getEpsilonError (void)
66 return tcu::Vec4(0.005f);
200 void logColor (Context& context, const std::string& colorLogMessage, const tcu::Vec4 resultColor)
229 "mediump vec4 blendPlusLinearToSRGB(in mediump vec4 colorSrc, in mediump vec4 colorDst) \n
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/api/
vktApiSmokeTests.cpp 107 "layout(location = 0) in highp vec4 a_position;\n"
190 "layout(location = 0) in highp vec4 a_position;\n"
194 "layout(location = 0) out lowp vec4 o_color;\n"
195 "void main (void) { o_color = vec4(1.0, 0.0, 1.0, 1.0); }\n");
304 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f));
310 void renderReferenceTriangle (const tcu::PixelBufferAccess& dst, const tcu::Vec4 (&vertices)[3])
321 rr::VertexAttrib(rr::VERTEXATTRIBTYPE_FLOAT, 4, sizeof(tcu::Vec4), 0, vertices[0].getPtr())
341 const tcu::Vec4 clearColor (0.125f, 0.25f, 0.75f, 1.0f);
343 const tcu::Vec4 vertices[] =
345 tcu::Vec4(-0.5f, -0.5f, 0.0f, 1.0f)
    [all...]

Completed in 3558 milliseconds

1 2 3 4 5 6 7 8 91011>>