Since you already define the thread groups to be executed when dispaching a compute shader, what do the numbers inside the shader file signify? example: [numthreads(1, 1, 1)]
directcompute hlsl numthreads?
741 Views Asked by Jake Freelander At
1
There are 1 best solutions below
Related Questions in HLSL
- Draw a sphere on a billboard with world normal from a pointlist
- D3D11 Post Shader Results in Dark Image
- Constant buffer is empty when passed HLSL C++
- How to use a huge array in HLSL (error X4505)
- Rendering a circle with a Vertex shader in DirectX
- Normals are not transfered to DirectX 11 shader correctly - random, time-dependent values?
- Doing 64bit addition with 2 high 32bit integers and 2 low 32bit integers. Are there more efficient ways of getting the carry bit?
- DirectX shader linking error
- Does #pragma exclude_renderers increase performance?
- HLSL mul and D3DXMATRIX order mismatch
- Force field shader unwrap texture not working
- HLSL - organizing shaders and techniques and not getting lost
- DirectX 11: Z-Fighting
- HLSL TextureSampler Color returning white
- using Kinect Depth View to show an Object inside the Human Body
Related Questions in DIRECTX-10
- DirectX 10 - Full object flashes, then draws only points
- Visual Studio Community 2013 Graphics Debugging
- DX11 compatibility
- Directx10: MSAA max texture size?
- DX10 Terrain Normals
- DirectX 11 Switching from fullscreen -> windowed problem
- DX9 and DX10): what is the default pixel (and vertex) shader? (OpenGL too, if possible.)
- How can I migrate between versions?
- Directx 11 Front Buffer
- C++ DirectX10 Mesh Disappearing After One Frame, Why?
- Directx10 flip texture horizontal/vertical
- Trouble with D3DX10CreateEffectFromFile
- Adding directx to include and library directories throws over 300 errors
- Using shader resources in HLSL (Port DX9->DX10)
- Why does D3DXVec3Project return a D3DXVECTOR3?
Related Questions in DIRECTCOMPUTE
- Set counter of append/consume buffer on GPU?
- Unity Compute Shader, Array Indexing through SV_DispatchThreadID
- DirectX on WPF Geometry
- Create R32_UINT view from R8G8B8A8_UNORM resource
- DirectCompute and Multiple Devices?
- How to unwrap this recursive function into a loop?
- directcompute hlsl numthreads?
- Threads on the GPU
- Warp threads not SIMD synchronous
- GPU frustum culling : why using scan?
- Compute Shader basics in dx11
- HLSL Get number of threadGroups and numthreads in code
- D3D12 Use backbuffer surface as unordered access view (UAV)
- DirectX 11 - Compute shader: Writing to an output resource
- HLSL Compiler omitting crucial statements
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Did some more digging, by official definition when dispatching you define thread groups while the numthreads statement defines the threads so basically they can be taken as extra dimensions. For example when i dispatch 2,2,1 to a function with 3,1,1 it spawns
so 2*2*1*3*1*1 = 12 threads total