[Bug] Add COMPARISON_NONE; fix the error message related to it - #8245
Conversation
|
Finn Plummer (@inbelic) - can you have a look at this PR please? |
Tex Riddell (tex3d)
left a comment
There was a problem hiding this comment.
This looks good to me.
Finn Plummer (inbelic)
left a comment
There was a problem hiding this comment.
Mostly LGTM
| default: | ||
| IFC(Error(ERR_RS_UNEXPECTED_TOKEN, | ||
| "Unexpected texture address mode value: '%s'.", Token.GetStr())); | ||
| "Unexpected comparison function value: '%s'.", Token.GetStr())); |
There was a problem hiding this comment.
It looks like there is the same typo below in ParseBorderColor, we can correct that while here
There was a problem hiding this comment.
Noticed, I have fixed it in the new commit
|
|
||
| // Comparison function | ||
| comparisonFunc, | ||
| COMPARISON_NONE, |
There was a problem hiding this comment.
We might also want to add this enum to the COMPARISON_FUNC_TABLE in ShaderOpTest.cpp
|
✅ With the latest revision this PR passed the C/C++ code formatter. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Awesome, thanks a lot ModulePillow! I created this issue to propagate the fix forward into clang. If you'd be interested in contributing the fix forward, that'd be great. Just let me know one way or the other. Thanks |
|
Finn Plummer (@inbelic) That's fine, I will check the new issue and resolve it. |
Bug Description
Regarding the sampler descriptions, I found two issues:
Comments