Home
last modified time | relevance | path

Searched refs:imageUnit (Results 1 – 25 of 25) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/
DContext.inl.h63 const ImageUnit &imageUnit = context->getState().getImageUnit(index); in MarkShaderStorageUsage() local
64 const Texture *texture = imageUnit.texture.get(); in MarkShaderStorageUsage()
DState.cpp588 for (ImageUnit &imageUnit : mImageUnits) in reset()
590 imageUnit.texture.set(context, nullptr); in reset()
591 imageUnit.level = 0; in reset()
592 imageUnit.layered = false; in reset()
593 imageUnit.layer = 0; in reset()
594 imageUnit.access = GL_READ_ONLY; in reset()
595 imageUnit.format = GL_R32UI; in reset()
3628 ImageUnit &imageUnit = mImageUnits[unit]; in setImageUnit() local
3634 imageUnit.texture.set(context, texture); in setImageUnit()
3635 imageUnit.level = level; in setImageUnit()
[all …]
DProgramExecutable.cpp826 for (GLint imageUnit : imageBinding.boundImageUnits) in updateActiveImages() local
828 mActiveImagesMask.set(imageUnit); in updateActiveImages()
829 mActiveImageShaderBits[imageUnit] |= shaderBits; in updateActiveImages()
DProgramExecutable.h49 ImageBinding(GLuint imageUnit, size_t count, TextureType textureTypeIn);
DProgram.cpp1206 ImageBinding::ImageBinding(GLuint imageUnit, size_t count, TextureType textureTypeIn) in ImageBinding() argument
1211 boundImageUnits.push_back(imageUnit + static_cast<GLuint>(index)); in ImageBinding()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DStateManager11.cpp449 bool ShaderConstants11::updateImageMetadata(ImageMetadata *data, const gl::ImageUnit &imageUnit) in updateImageMetadata() argument
453 if (data->layer != static_cast<int>(imageUnit.layer)) in updateImageMetadata()
455 data->layer = static_cast<int>(imageUnit.layer); in updateImageMetadata()
459 if (data->level != static_cast<unsigned int>(imageUnit.level)) in updateImageMetadata()
461 data->level = static_cast<unsigned int>(imageUnit.level); in updateImageMetadata()
573 const gl::ImageUnit &imageUnit) in onImageChange() argument
576 if (imageUnit.access == GL_READ_ONLY) in onImageChange()
578 if (updateImageMetadata(&mShaderReadonlyImageMetadata[shaderType][imageIndex], imageUnit)) in onImageChange()
585 if (updateImageMetadata(&mShaderImageMetadata[shaderType][imageIndex], imageUnit)) in onImageChange()
2750 const gl::ImageUnit &imageUnit) in setImageState() argument
[all …]
DStateManager11.h55 const gl::ImageUnit &imageUnit);
169 bool updateImageMetadata(ImageMetadata *data, const gl::ImageUnit &imageUnit);
374 const gl::ImageUnit &imageUnit);
379 const gl::ImageUnit &imageUnit);
DTextureStorage11.cpp396 const gl::ImageUnit &imageUnit, in getSRVForImage() argument
401 ImageKey key(imageUnit.level, (imageUnit.layered == GL_TRUE), imageUnit.layer, imageUnit.access, in getSRVForImage()
402 imageUnit.format); in getSRVForImage()
429 const gl::ImageUnit &imageUnit, in getUAVForImage() argument
434 ImageKey key(imageUnit.level, (imageUnit.layered == GL_TRUE), imageUnit.layer, imageUnit.access, in getUAVForImage()
435 imageUnit.format); in getUAVForImage()
DTextureStorage11.h125 const gl::ImageUnit &imageUnit,
128 const gl::ImageUnit &imageUnit,
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
Dframe_capture_utils.cpp517 void SerializeImageUnit(JsonSerializer *json, const gl::ImageUnit &imageUnit, int imageUnitIndex) in SerializeImageUnit() argument
520 json->addScalar("Level", imageUnit.level); in SerializeImageUnit()
521 json->addScalar("Layered", imageUnit.layered); in SerializeImageUnit()
522 json->addScalar("Layer", imageUnit.layer); in SerializeImageUnit()
523 json->addScalar("Access", imageUnit.access); in SerializeImageUnit()
524 json->addCString("Format", gl::GLinternalFormatToString(imageUnit.format)); in SerializeImageUnit()
525 json->addScalar("TextureID", imageUnit.texture.id().value); in SerializeImageUnit()
614 const gl::ImageUnit &imageUnit = imageUnits[imageUnitIndex]; in SerializeContextState() local
615 SerializeImageUnit(json, imageUnit, static_cast<int>(imageUnitIndex)); in SerializeContextState()
DFrameCapture.cpp3585 const gl::ImageUnit &imageUnit = imageUnits[bindingIndex]; in CaptureMidExecutionSetup() local
3587 if (imageUnit.texture == 0) in CaptureMidExecutionSetup()
3592 cap(CaptureBindImageTexture(replayState, true, bindingIndex, imageUnit.texture.id(), in CaptureMidExecutionSetup()
3593 imageUnit.level, imageUnit.layered, imageUnit.layer, in CaptureMidExecutionSetup()
3594 imageUnit.access, imageUnit.format)); in CaptureMidExecutionSetup()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DStateManagerGL.cpp1044 const gl::ImageUnit &imageUnit = glState.getImageUnit(imageUnitIndex); in updateProgramImageBindings() local
1045 const TextureGL *textureGL = SafeGetImplAs<TextureGL>(imageUnit.texture.get()); in updateProgramImageBindings()
1048 bindImageTexture(imageUnitIndex, textureGL->getTextureID(), imageUnit.level, in updateProgramImageBindings()
1049 imageUnit.layered, imageUnit.layer, imageUnit.access, in updateProgramImageBindings()
1050 imageUnit.format); in updateProgramImageBindings()
1054 bindImageTexture(imageUnitIndex, 0, imageUnit.level, imageUnit.layered, imageUnit.layer, in updateProgramImageBindings()
1055 imageUnit.access, imageUnit.format); in updateProgramImageBindings()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramExecutableVk.cpp1479 GLuint imageUnit = imageBinding.boundImageUnits[arrayElement]; in updateImagesDescriptorSet() local
1480 TextureVk *textureVk = activeImages[imageUnit]; in updateImagesDescriptorSet()
1510 GLuint imageUnit = imageBinding.boundImageUnits[arrayElement]; in updateImagesDescriptorSet() local
1511 const gl::ImageUnit &binding = glState.getImageUnit(imageUnit); in updateImagesDescriptorSet()
1512 TextureVk *textureVk = activeImages[imageUnit]; in updateImagesDescriptorSet()
DContextVk.cpp5445 const gl::ImageUnit &imageUnit = glState.getImageUnit(imageUnitIndex); in updateActiveImages() local
5446 const gl::Texture *texture = imageUnit.texture.get(); in updateActiveImages()
5513 if (imageUnit.layered) in updateActiveImages()
5515 layerStart = imageUnit.layered; in updateActiveImages()
5520 this, gl::LevelIndex(static_cast<uint32_t>(imageUnit.level)), layerStart, layerCount, in updateActiveImages()
/third_party/openGLES/extensions/NV/
DNV_bindless_texture.txt901 <imageUnit> ::= "handle" "(" <addrUseS> ")"
937 specified by <imageUnit>. If <imageUnit> expands to the grammar rule
940 corresponding to the image unit specified by <imageUnit> is used.
947 specified by <imageUnit> using the data specified in the first vector
948 operand. If <imageUnit> expands to the grammar rule containing "handle",
951 image unit specified by <imageUnit> is used. The store is performed in
959 from the texture specified by <imageUnit>, performs ... returns the loaded
960 value in the vector result. If <imageUnit> expands to the grammar rule
963 corresponding to the image unit specified by <imageUnit> is used. The
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_bindless_texture.txt901 <imageUnit> ::= "handle" "(" <addrUseS> ")"
937 specified by <imageUnit>. If <imageUnit> expands to the grammar rule
940 corresponding to the image unit specified by <imageUnit> is used.
947 specified by <imageUnit> using the data specified in the first vector
948 operand. If <imageUnit> expands to the grammar rule containing "handle",
951 image unit specified by <imageUnit> is used. The store is performed in
959 from the texture specified by <imageUnit>, performs ... returns the loaded
960 value in the vector result. If <imageUnit> expands to the grammar rule
963 corresponding to the image unit specified by <imageUnit> is used. The
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_shader_image_size.txt173 <imageUnit>. Eleven image targets are supported: 1D, 2D, 3D, RECT, CUBE,
DARB_bindless_texture.txt942 <imageUnit> ::= "handle" "(" <addrUseS> ")"
978 specified by <imageUnit>. If <imageUnit> expands to the grammar rule
981 corresponding to the image unit specified by <imageUnit> is used.
988 specified by <imageUnit> using the data specified in the first vector
989 operand. If <imageUnit> expands to the grammar rule containing "handle",
992 image unit specified by <imageUnit> is used. The store is performed in
1000 from the texture specified by <imageUnit>, performs ... returns the loaded
1001 value in the vector result. If <imageUnit> expands to the grammar rule
1004 corresponding to the image unit specified by <imageUnit> is used. The
DARB_shader_texture_image_samples.txt173 specified by <imageUnit>. Two image targets are supported: 2DMS and
/third_party/openGLES/extensions/ARB/
DARB_bindless_texture.txt952 <imageUnit> ::= "handle" "(" <addrUseS> ")"
988 specified by <imageUnit>. If <imageUnit> expands to the grammar rule
991 corresponding to the image unit specified by <imageUnit> is used.
998 specified by <imageUnit> using the data specified in the first vector
999 operand. If <imageUnit> expands to the grammar rule containing "handle",
1002 image unit specified by <imageUnit> is used. The store is performed in
1010 from the texture specified by <imageUnit>, performs ... returns the loaded
1011 value in the vector result. If <imageUnit> expands to the grammar rule
1014 corresponding to the image unit specified by <imageUnit> is used. The
DARB_shader_image_size.txt183 <imageUnit>. Eleven image targets are supported: 1D, 2D, 3D, RECT, CUBE,
DARB_shader_texture_image_samples.txt183 specified by <imageUnit>. Two image targets are supported: 2DMS and
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DProgramD3D.cpp3156 const gl::ImageUnit &imageUnit = glState.getImageUnit(image2DBindLayout.first); in updateCachedComputeImage2DBindLayout() local
3157 if (imageUnit.texture.get()) in updateCachedComputeImage2DBindLayout()
3159 image2DBindLayout.second = imageUnit.texture->getType(); in updateCachedComputeImage2DBindLayout()
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_shader_image_load_store.txt1522 <STOREIMop_instruction> ::= <STOREIMop> <opModifiers> <imageUnit> ","
1534 <imageAccess> ::= <imageUnit> "," <imageTarget>
1536 <imageUnit> ::= "image" <arrayMemAbs>
1630 <imageUnit>. Unformatted loads read the data from memory without
1697 by <imageUnit> using the data specified in the first vector operand. The
1748 load from the texture bound to the image unit specified by <imageUnit>,
/third_party/openGLES/extensions/EXT/
DEXT_shader_image_load_store.txt1522 <STOREIMop_instruction> ::= <STOREIMop> <opModifiers> <imageUnit> ","
1534 <imageAccess> ::= <imageUnit> "," <imageTarget>
1536 <imageUnit> ::= "image" <arrayMemAbs>
1630 <imageUnit>. Unformatted loads read the data from memory without
1697 by <imageUnit> using the data specified in the first vector operand. The
1748 load from the texture bound to the image unit specified by <imageUnit>,