Skip to content
#

vulkan

Here are 895 public repositories matching this topic...

xfan1024
xfan1024 commented Jan 7, 2020

我发现examples/retinaface.cpp中,如果开启OMP加速的话似乎在检测到人脸时会发生内存泄漏,但我定位不了这个问题的具体原因。

值得注意的时,如果将qsort_descent_inplace函数中的OMP指令注释掉这个问题就会消失掉。

static void qsort_descent_inplace(std::vector<FaceObject>& faceobjects, int left, int right)
{
    int i = left;
    int j = right;
    float p = faceobjects[(left + right) / 2].prob;
    ...
    // #pragma omp parallel sections
    {
        // #pragma
bgfx
krOoze
krOoze commented Feb 7, 2020

	dependencies[0].srcSubpass = VK_SUBPASS_EXTERNAL;
	dependencies[0].dstSubpass = 0;
	dependencies[0].srcStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT;
	dependencies[0].dstStageMask = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT;
	dependencies[0].srcAccessMask = VK_ACCESS_MEMORY_READ_BIT;
	dependencies[0].dstAccessMask = VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | VK_ACCESS_COLOR_ATTACHME
renderdoc
vaspoul
vaspoul commented Jul 5, 2018

We use PIX labels to organize the events in a single frame (e.g. Z PrePass, GBuffer, Alpha, etc). These can get quite deep/nested.

It would be useful if we could see a 'path' for the event currently selected, e.g.

Camera 1\3D Stage\GBuffer\TreeBark Material

It would be extra nice if clicking on any of these would take you to the beginning of that section.
(think folders in Windows Explor

gfx
stride
johang88
johang88 commented May 2, 2020

Release Type: Github
Version: master

Describe the bug
The documentation states "The index of the component to access. Use 0 for the alpha component, 1 for the red component, 2 for the green component, and 3 for the blue component".

The actual implementation uses:

switch (index)
{
	case 0: return R;
	case 1: return G;
	case 2: return B;
	case 3: return A;
}
JasonHise
JasonHise commented Jul 24, 2019

It is unclear from the provided documentation what the difference is between a chunk and a subbuffer. Without examples it can be very difficult to identify when using one instead of the other may be necessary. We spent multiple days tracking down why an attempt to pass a subbuffer of vertices to a call to draw() was failing to compile. The error message was extremely verbose, but ultimately see

Pewsplosions
Pewsplosions commented Nov 14, 2019

The Forge sounds pretty great but there does not seem to be much in the way of documentation.

I don't even see simple "How to compile" or build instructions. Which seems like a good place to start.

The description talks about it being like "Legos" where you can use the different parts of the system as needed. So does that mean it can be built in sections and integrated into other projects pi

PatrikValkovic
PatrikValkovic commented Feb 28, 2020

The Khronos reference page contains description of parameters and description of the behavior for every function. Wouldn't it be possible to add doc comments for the functions, so IDE can show it? I understand the function description is a bit cumbersome, as one description is usually related to multiple functions with similar functionality, however parameters description would help a lot.
I am c

jonesmz
jonesmz commented May 13, 2018

EDITED SUMMARY
Make CMake complain if user is only using precompiled dependencies, but is compiling in 32-bit mode.

ORIGINAL ISSUE
I don't think BSF is intended to be used as a 32 bit library, so probably the easiest way to resolve this user confusion is to make cmake complain loudly if it's being configured to build a 32 bit binary.

JesseRMeyer
JesseRMeyer commented Mar 15, 2020

https://github.com/Overv/VulkanTutorial/blob/56389adfef6d51493df7a50475fcf01c36f75c4d/code/09_shader_base.vert#L6

Excellent tutorial. It would be instructive to highlight the importance of the order the vertices are declared in, and that they correspond to the winding order used for front-faced culling. I had unknowingly swapped the last two vertices as I typed them in, which caused the triangl

Improve this page

Add a description, image, and links to the vulkan topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the vulkan topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.