Home
last modified time | relevance | path

Searched refs:depthValues (Results 1 – 11 of 11) sorted by relevance

/external/deqp/framework/referencerenderer/
DrrRasterizer.cpp531 …erizeSingleSample (FragmentPacket* const fragmentPackets, float* const depthValues, const int maxF… in rasterizeSingleSample() argument
605 if (depthValues) in rasterizeSingleSample()
611 depthValues[packetNdx*4+0] = z0[0]*za + z1[0]*zb + zc; in rasterizeSingleSample()
612 depthValues[packetNdx*4+1] = z0[1]*za + z1[1]*zb + zc; in rasterizeSingleSample()
613 depthValues[packetNdx*4+2] = z0[2]*za + z1[2]*zb + zc; in rasterizeSingleSample()
614 depthValues[packetNdx*4+3] = z0[3]*za + z1[3]*zb + zc; in rasterizeSingleSample()
702 …terizeMultiSample (FragmentPacket* const fragmentPackets, float* const depthValues, const int maxF… in rasterizeMultiSample() argument
789 if (depthValues) in rasterizeMultiSample()
802 depthValues[(packetNdx*4+0)*NumSamples + sampleNdx] = z0[0]*za + z1[0]*zb + zc; in rasterizeMultiSample()
803 depthValues[(packetNdx*4+1)*NumSamples + sampleNdx] = z0[1]*za + z1[1]*zb + zc; in rasterizeMultiSample()
[all …]
DrrRasterizer.hpp136 …void rasterize (FragmentPacket* const fragmentPackets, float* const depthValues, const int …
139 …void rasterizeSingleSample (FragmentPacket* const fragmentPackets, float* const depthValues, c…
142 …void rasterizeMultiSample (FragmentPacket* const fragmentPackets, float* const depthValues, co…
186 …void rasterize (FragmentPacket* const fragmentPackets, float* const depthValues, const i…
227 …void rasterize (FragmentPacket* const fragmentPackets, float* const depthValues, const in…
DrrRenderer.cpp1032 const float* depthValues, in writeFragmentPackets() argument
1058 …fragment.sampleDepths = (depthValues) ? (&depthValues[(packetNdx*4 + yo*2 + xo)*numSamples]) : (DE… in writeFragmentPackets()
1302 std::vector<float> depthValues (0); in rasterize() local
1310 depthValues.resize(maxFragmentPackets*4*numSamples); in rasterize()
1311 depthBufferPointer = &depthValues[0]; in rasterize()
/external/mesa3d/src/mesa/main/
Dpixeltransfer.c130 GLfloat depthValues[]) in _mesa_scale_and_bias_depth() argument
136 GLfloat d = depthValues[i] * scale + bias; in _mesa_scale_and_bias_depth()
137 depthValues[i] = CLAMP(d, 0.0F, 1.0F); in _mesa_scale_and_bias_depth()
144 GLuint depthValues[]) in _mesa_scale_and_bias_depth_uint() argument
151 GLdouble d = (GLdouble) depthValues[i] * scale + bias; in _mesa_scale_and_bias_depth_uint()
153 depthValues[i] = (GLuint) d; in _mesa_scale_and_bias_depth_uint()
Dpixeltransfer.h50 GLfloat depthValues[]);
54 GLuint depthValues[]);
Dreadpix.c121 GLfloat *depthValues; in read_depth_pixels() local
146 depthValues = (GLfloat *) malloc(width * sizeof(GLfloat)); in read_depth_pixels()
148 if (depthValues) { in read_depth_pixels()
151 _mesa_unpack_float_z_row(rb->Format, width, map, depthValues); in read_depth_pixels()
152 _mesa_pack_depth_span(ctx, width, dst, type, depthValues, packing); in read_depth_pixels()
162 free(depthValues); in read_depth_pixels()
Dpack.c5408 depthValues[i] = GLTYPE2FLOAT(value); \
5428 GLfloat *depthTemp = NULL, *depthValues; in _mesa_unpack_depth_span() local
5475 depthValues = (GLfloat *) dest; in _mesa_unpack_depth_span()
5484 depthValues = depthTemp; in _mesa_unpack_depth_span()
5539 depthValues[i] = (value >> 8) * scale; in _mesa_unpack_depth_span()
5552 depthValues[i] = value; in _mesa_unpack_depth_span()
5570 depthValues[i] = _mesa_half_to_float(value); in _mesa_unpack_depth_span()
5588 depthValues[i] = depthValues[i] * scale + bias; in _mesa_unpack_depth_span()
5598 depthValues[i] = (GLfloat)CLAMP(depthValues[i], 0.0, 1.0); in _mesa_unpack_depth_span()
5611 zValues[i] = (GLuint) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span()
[all …]
/external/deqp/modules/glshared/
DglsInteractionTestUtil.cpp225 static const float depthValues[] = { 0.0f, 0.2f, 0.4f, 0.5f, 0.51f, 0.6f, 0.8f, 0.95f }; in computeRandomQuad() local
243 float depth = rnd.choose<float>(DE_ARRAY_BEGIN(depthValues), DE_ARRAY_END(depthValues)); in computeRandomQuad()
DglsFragOpInteractionCase.cpp213 static const float depthValues[] = { 0.0f, 0.2f, 0.4f, 0.5f, 0.51f, 0.6f, 0.8f, 0.95f }; in getRandomDepth() local
214 return rnd.choose<float>(DE_ARRAY_BEGIN(depthValues), DE_ARRAY_END(depthValues)); in getRandomDepth()
/external/deqp/modules/gles2/functional/
Des2fDepthStencilTests.cpp260 float depthValues[numL1CellsX*numL1CellsY]; in generateBaseClearAndDepthCommands() local
273 int numValues = DE_LENGTH_OF_ARRAY(depthValues); in generateBaseClearAndDepthCommands()
277 depthValues[ndx] = -1.0f + depthStep*(float)ndx; in generateBaseClearAndDepthCommands()
298 renderCmd.params.depth = depthValues[y1*numL1CellsX + x1];; in generateBaseClearAndDepthCommands()
753 …static const float depthValues[] = { -1.0f, -0.8f, -0.6f, -0.4f, -0.2f, 0.0f, 0.2f, 0.4f, 0.6f, 0.… in randomDepthStencilState() local
776 params.depth = rnd.choose<float>(DE_ARRAY_BEGIN(depthValues), DE_ARRAY_END(depthValues)); in randomDepthStencilState()
/external/deqp/modules/gles3/functional/
Des3fDepthStencilTests.cpp260 float depthValues[numL1CellsX*numL1CellsY]; in generateBaseClearAndDepthCommands() local
273 int numValues = DE_LENGTH_OF_ARRAY(depthValues); in generateBaseClearAndDepthCommands()
277 depthValues[ndx] = -1.0f + depthStep*(float)ndx; in generateBaseClearAndDepthCommands()
298 renderCmd.params.depth = depthValues[y1*numL1CellsX + x1];; in generateBaseClearAndDepthCommands()
753 …static const float depthValues[] = { -1.0f, -0.8f, -0.6f, -0.4f, -0.2f, 0.0f, 0.2f, 0.4f, 0.6f, 0.… in randomDepthStencilState() local
776 params.depth = rnd.choose<float>(DE_ARRAY_BEGIN(depthValues), DE_ARRAY_END(depthValues)); in randomDepthStencilState()