[SPIR-V] No implicit lod on vertex shaders
This commit is contained in:
parent
3d80ed4853
commit
ea3ee2db2b
|
@ -1843,8 +1843,9 @@ void SpirvShaderTranslator::ProcessTextureFetchInstruction(
|
|||
spv::Builder::TextureParameters params = {0};
|
||||
params.coords = src;
|
||||
params.sampler = texture;
|
||||
dest = b.createTextureCall(spv::NoPrecision, vec4_float_type_, false,
|
||||
false, false, false, false, params);
|
||||
dest =
|
||||
b.createTextureCall(spv::NoPrecision, vec4_float_type_, false, false,
|
||||
false, false, is_vertex_shader(), params);
|
||||
} break;
|
||||
|
||||
case FetchOpcode::kGetTextureGradients: {
|
||||
|
|
Loading…
Reference in New Issue