Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
VkCV Framework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vulkan2021
VkCV Framework
Commits
6103cdcd
Commit
6103cdcd
authored
3 years ago
by
Vanessa Karolek
Browse files
Options
Downloads
Patches
Plain Diff
[
#92
][Doc] add docu, remove duplicated feature line
parent
2d7c1f5e
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!75
Resolve "RTX-Module"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/rtx/include/vkcv/rtx/RTX.hpp
+11
-11
11 additions, 11 deletions
modules/rtx/include/vkcv/rtx/RTX.hpp
modules/rtx/src/vkcv/rtx/RTX.cpp
+0
-3
0 additions, 3 deletions
modules/rtx/src/vkcv/rtx/RTX.cpp
with
11 additions
and
14 deletions
modules/rtx/include/vkcv/rtx/RTX.hpp
+
11
−
11
View file @
6103cdcd
...
...
@@ -9,19 +9,19 @@ namespace vkcv::rtx {
class
RTXModule
{
private:
std
::
vector
<
const
char
*>
m_instanceExtensions
;
std
::
vector
<
const
char
*>
m_deviceExtensions
;
vkcv
::
Features
m_features
;
std
::
vector
<
const
char
*>
m_instanceExtensions
;
// the instance extensions needed for using RTX
std
::
vector
<
const
char
*>
m_deviceExtensions
;
// the device extensions needed for using RTX
vkcv
::
Features
m_features
;
// the features needed to be enabled for using RTX
public:
/**
* @brief
TODO
* @brief
Default #RTXModule constructor.
*/
RTXModule
();
/**
* @brief
TODO
* @brief
Default #RTXModule destructor.
*/
~
RTXModule
()
{};
...
...
@@ -38,16 +38,16 @@ namespace vkcv::rtx {
std
::
vector
<
const
char
*>
getDeviceExtensions
();
/**
* @brief
TODO
* @return
* @brief
Returns the raytracing features.
* @return
The raytracing features.
*/
vkcv
::
Features
getFeatures
();
/**
* @brief
TODO
* @param core
* @param vertices
* @param indices
* @brief
Initializes the RTXModule with scene data.
* @param core
The reference to the #Core.
* @param vertices
The scene vertex data of type uint8_t.
* @param indices
The scene index data of type uint8_t.
*/
void
init
(
Core
*
core
,
std
::
vector
<
uint8_t
>
&
vertices
,
std
::
vector
<
uint8_t
>
&
indices
);
};
...
...
This diff is collapsed.
Click to expand it.
modules/rtx/src/vkcv/rtx/RTX.cpp
+
0
−
3
View file @
6103cdcd
...
...
@@ -78,7 +78,6 @@ namespace vkcv::rtx {
features
.
setShaderOutputViewportIndex
(
true
);
features
.
setShaderOutputLayer
(
true
);
features
.
setSubgroupBroadcastDynamicId
(
true
);
features
.
setBufferDeviceAddress
(
true
);
});
m_features
.
requireFeature
<
vk
::
PhysicalDeviceVulkan11Features
>
(
[](
vk
::
PhysicalDeviceVulkan11Features
&
features
)
{
...
...
@@ -114,11 +113,9 @@ namespace vkcv::rtx {
}
void
RTXModule
::
init
(
Core
*
core
,
std
::
vector
<
uint8_t
>
&
vertices
,
std
::
vector
<
uint8_t
>
&
indices
)
{
// build acceleration structures BLAS then TLAS --> see ASManager
ASManager
asManager
(
core
);
asManager
.
buildBLAS
(
vertices
,
indices
);
}
std
::
vector
<
const
char
*>
RTXModule
::
getInstanceExtensions
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment