mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-19 03:50:59 +01:00
shader: Comment why the array component is not read in TMML
This commit is contained in:
parent
ba3bdf1d41
commit
487057b8d2
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,8 @@ Shader::TextureType GetType(TextureType type) {
|
|||
}
|
||||
|
||||
IR::Value MakeCoords(TranslatorVisitor& v, IR::Reg reg, TextureType type) {
|
||||
// The ISA reads an array component here, but this is not needed on high level shading languages
|
||||
// We are dropping this information.
|
||||
switch (type) {
|
||||
case TextureType::_1D:
|
||||
return v.F(reg);
|
||||
|
|
Loading…
Reference in a new issue