Unbreak build WITH_GPU_BUILDTIME_SHADER_BUILD
This was valid C++ but not GLSL. Own error in a00843d5606a659489e83fdd0fe4d738f3047.
This commit is contained in:
parent
0dc98f784c
commit
ea567c76ec
@ -545,11 +545,11 @@ static inline float view_z_to_volume_z(
|
||||
}
|
||||
}
|
||||
|
||||
static inline float3 screen_to_volume(const float4x4 &projection_matrix,
|
||||
static inline float3 screen_to_volume(const float4x4 projection_matrix,
|
||||
float near,
|
||||
float far,
|
||||
float distribution,
|
||||
const float2 &coord_scale,
|
||||
const float2 coord_scale,
|
||||
float3 coord)
|
||||
{
|
||||
bool is_persp = projection_matrix[3][3] == 0.0;
|
||||
|
Loading…
Reference in New Issue
Block a user