Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Laszlo Agocs
qtrhi
Commits
0dbc2638
Commit
0dbc2638
authored
Jan 16, 2019
by
Laszlo Agocs
Browse files
Some minor doc fixes
...and mark the first round of doc work as done, yay
parent
5523e576
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/rhi/qrhi.cpp
View file @
0dbc2638
...
...
@@ -783,7 +783,7 @@ QT_BEGIN_NAMESPACE
\badcode
srb2 = rhi->newShaderResourceBindings();
QVector<QRhiShaderResourceBinding> bindings = srb->bindings();
bindings[1]
.stex.tex =
anotherTexture;
bindings[1]
= QRhiShaderResourceBinding::sampledTexture(1, QRhiShaderResourceBinding::FragmentStage,
anotherTexture
, sampler)
;
srb2->setBindings(bindings);
srb2->build();
...
...
...
@@ -1945,11 +1945,11 @@ void QRhiResourceUpdateBatch::merge(QRhiResourceUpdateBatch *other)
\a data can safely be destroyed or changed once this function returns since
it takes a copy internally as necessary.
\note If host writes are involved, which i
n
case
of updateDynamicBuffer()
typically
are
as such buffers are backed by host visible
memory with most
backend, they may accumulate within a frame. Thus pass 1
reading a region
changed by a batch passed to pass 2 may see the changes
specified in pass
2's update batch.
\note If host writes are involved, which i
s the
case
with
updateDynamicBuffer()
typically as such buffers are backed by host visible
memory with most
backend
s
, they may accumulate within a frame. Thus pass 1
reading a region
changed by a batch passed to pass 2 may see the changes
specified in pass
2's update batch.
\note QRhi transparently manages double buffering in order to prevent
stalling the graphics pipeline. The fact that a QRhiBuffer may have
...
...
todo.txt
View file @
0dbc2638
...
...
@@ -48,6 +48,7 @@ dxc for d3d as an alternative to fxc?
hlsl -> dxc -> spirv -> spirv-cross hmmm...
+++ done
basic docs
vk, d3d, mtl: minimize vertex input changes inside passes
mtl: cbuffers, textures, samplers set should be batched too
mtl: reduce set*
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment