mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 11:52:12 +01:00
[dxbc] Consider stream index in signature entry lookup
This commit is contained in:
parent
a6c2080156
commit
845c78fd20
@ -952,7 +952,7 @@ namespace dxvk {
|
||||
for (uint32_t i = 0; i < NumElements; i++) {
|
||||
const DxbcSgnEntry* entry = inputSignature->find(
|
||||
pInputElementDescs[i].SemanticName,
|
||||
pInputElementDescs[i].SemanticIndex);
|
||||
pInputElementDescs[i].SemanticIndex, 0);
|
||||
|
||||
if (entry == nullptr) {
|
||||
Logger::debug(str::format(
|
||||
|
@ -43,9 +43,11 @@ namespace dxvk {
|
||||
|
||||
const DxbcSgnEntry* DxbcIsgn::find(
|
||||
const std::string& semanticName,
|
||||
uint32_t semanticIndex) const {
|
||||
uint32_t semanticIndex,
|
||||
uint32_t streamId) const {
|
||||
for (auto e = this->begin(); e != this->end(); e++) {
|
||||
if (e->semanticIndex == semanticIndex
|
||||
&& e->streamId == streamId
|
||||
&& compareSemanticNames(semanticName, e->semanticName))
|
||||
return &(*e);
|
||||
}
|
||||
|
@ -46,7 +46,8 @@ namespace dxvk {
|
||||
|
||||
const DxbcSgnEntry* find(
|
||||
const std::string& semanticName,
|
||||
uint32_t semanticIndex) const;
|
||||
uint32_t semanticIndex,
|
||||
uint32_t streamIndex) const;
|
||||
|
||||
private:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user