/external/deqp/framework/referencerenderer/ |
D | rrRasterizer.cpp | 536 …erizeSingleSample (FragmentPacket* const fragmentPackets, float* const depthValues, const int maxF… in rasterizeSingleSample() argument 610 if (depthValues) in rasterizeSingleSample() 616 depthValues[packetNdx*4+0] = z0[0]*za + z1[0]*zb + zc; in rasterizeSingleSample() 617 depthValues[packetNdx*4+1] = z0[1]*za + z1[1]*zb + zc; in rasterizeSingleSample() 618 depthValues[packetNdx*4+2] = z0[2]*za + z1[2]*zb + zc; in rasterizeSingleSample() 619 depthValues[packetNdx*4+3] = z0[3]*za + z1[3]*zb + zc; in rasterizeSingleSample() 707 …terizeMultiSample (FragmentPacket* const fragmentPackets, float* const depthValues, const int maxF… in rasterizeMultiSample() argument 794 if (depthValues) in rasterizeMultiSample() 807 depthValues[(packetNdx*4+0)*NumSamples + sampleNdx] = z0[0]*za + z1[0]*zb + zc; in rasterizeMultiSample() 808 depthValues[(packetNdx*4+1)*NumSamples + sampleNdx] = z0[1]*za + z1[1]*zb + zc; in rasterizeMultiSample() [all …]
|
D | rrRasterizer.hpp | 136 …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… 187 …void rasterize (FragmentPacket* const fragmentPackets, float* const depthValues, const i… 228 …void rasterize (FragmentPacket* const fragmentPackets, float* const depthValues, const in…
|
D | rrRenderer.cpp | 1032 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/ |
D | pixeltransfer.c | 132 GLfloat depthValues[]) in _mesa_scale_and_bias_depth() argument 138 GLfloat d = depthValues[i] * scale + bias; in _mesa_scale_and_bias_depth() 139 depthValues[i] = CLAMP(d, 0.0F, 1.0F); in _mesa_scale_and_bias_depth() 146 GLuint depthValues[]) in _mesa_scale_and_bias_depth_uint() argument 153 GLdouble d = (GLdouble) depthValues[i] * scale + bias; in _mesa_scale_and_bias_depth_uint() 155 depthValues[i] = (GLuint) d; in _mesa_scale_and_bias_depth_uint()
|
D | pixeltransfer.h | 51 GLfloat depthValues[]); 55 GLuint depthValues[]);
|
D | pack.c | 753 depthValues[i] = GLTYPE2FLOAT(value); \ 773 GLfloat *depthTemp = NULL, *depthValues; in _mesa_unpack_depth_span() local 820 depthValues = (GLfloat *) dest; in _mesa_unpack_depth_span() 829 depthValues = depthTemp; in _mesa_unpack_depth_span() 884 depthValues[i] = (value >> 8) * scale; in _mesa_unpack_depth_span() 897 depthValues[i] = value; in _mesa_unpack_depth_span() 916 depthValues[i] = _mesa_half_to_float(value); in _mesa_unpack_depth_span() 934 depthValues[i] = depthValues[i] * scale + bias; in _mesa_unpack_depth_span() 944 depthValues[i] = CLAMP(depthValues[i], 0.0F, 1.0F); in _mesa_unpack_depth_span() 957 zValues[i] = (GLuint) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span() [all …]
|
D | readpix.c | 323 GLfloat *depthValues; in read_depth_pixels() local 350 depthValues = malloc(width * sizeof(GLfloat)); in read_depth_pixels() 352 if (depthValues) { in read_depth_pixels() 355 _mesa_unpack_float_z_row(rb->Format, width, map, depthValues); in read_depth_pixels() 356 _mesa_pack_depth_span(ctx, width, dst, type, depthValues, packing); in read_depth_pixels() 366 free(depthValues); in read_depth_pixels()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawInvertedDepthRangesTests.cpp | 309 const float depthValues[] = { -0.2f, 0.0f, 1.2f }; in generateReferenceImage() local 319 const float depth = a * depthValues[0] + b * depthValues[1] + c * depthValues[2]; in generateReferenceImage()
|
/external/deqp/modules/glshared/ |
D | glsInteractionTestUtil.cpp | 225 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()
|
D | glsFragOpInteractionCase.cpp | 213 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/gles3/functional/ |
D | es3fDepthStencilTests.cpp | 260 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/gles2/functional/ |
D | es2fDepthStencilTests.cpp | 260 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()
|